28 lines
774 B
C
28 lines
774 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "UtilityWindows/EditorUtilityWindowKind.h"
|
||
|
|
#include "UtilityWindows/EditorUtilityWindowPanel.h"
|
||
|
|
|
||
|
|
#include <XCEngine/UI/Types.h>
|
||
|
|
|
||
|
|
#include <memory>
|
||
|
|
#include <string_view>
|
||
|
|
|
||
|
|
namespace XCEngine::UI::Editor::App {
|
||
|
|
|
||
|
|
struct EditorUtilityWindowDescriptor {
|
||
|
|
EditorUtilityWindowKind kind = EditorUtilityWindowKind::None;
|
||
|
|
std::string_view windowId = {};
|
||
|
|
const wchar_t* title = L"";
|
||
|
|
::XCEngine::UI::UISize preferredOuterSize = {};
|
||
|
|
::XCEngine::UI::UISize minimumOuterSize = {};
|
||
|
|
};
|
||
|
|
|
||
|
|
const EditorUtilityWindowDescriptor* ResolveEditorUtilityWindowDescriptor(
|
||
|
|
EditorUtilityWindowKind kind);
|
||
|
|
|
||
|
|
std::unique_ptr<EditorUtilityWindowPanel> CreateEditorUtilityWindowPanel(
|
||
|
|
EditorUtilityWindowKind kind);
|
||
|
|
|
||
|
|
} // namespace XCEngine::UI::Editor::App
|