Refine editor host boundary
This commit is contained in:
30
editor/app/Host/Win32/Windowing/EditorWindowState.h
Normal file
30
editor/app/Host/Win32/Windowing/EditorWindowState.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include "Windowing/EditorWindowTypes.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
struct EditorWindowWindowState {
|
||||
HWND hwnd = nullptr;
|
||||
std::string windowId = {};
|
||||
std::wstring title = {};
|
||||
std::string titleText = {};
|
||||
EditorWindowCategory category = EditorWindowCategory::Workspace;
|
||||
EditorWindowChromePolicy chromePolicy = {};
|
||||
bool primary = false;
|
||||
EditorWindowLifecycleState lifecycle = EditorWindowLifecycleState::PendingNativeCreate;
|
||||
};
|
||||
|
||||
struct EditorWindowState {
|
||||
EditorWindowWindowState window = {};
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
Reference in New Issue
Block a user