feat(new_editor): add standalone add-component utility window

This commit is contained in:
2026-04-22 22:07:02 +08:00
parent 865a35e4d0
commit 3048c7cc90
37 changed files with 1237 additions and 290 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "Platform/Win32/EditorUtilityWindowKind.h"
#include <optional>
namespace XCEngine::UI::Editor::App {
struct EditorUtilityWindowRequestState {
std::optional<EditorUtilityWindowKind> pendingKind = {};
};
void ResetEditorUtilityWindowRequestState(EditorUtilityWindowRequestState& state);
void RequestEditorUtilityWindow(
EditorUtilityWindowRequestState& state,
EditorUtilityWindowKind kind);
std::optional<EditorUtilityWindowKind> ConsumeEditorUtilityWindowRequest(
EditorUtilityWindowRequestState& state);
} // namespace XCEngine::UI::Editor::App