21 lines
589 B
C
21 lines
589 B
C
|
|
#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
|