checkpoint: commit current workspace state

This commit is contained in:
2026-04-25 16:11:01 +08:00
parent 6d43fe5a7d
commit 6002d86a7e
449 changed files with 11303 additions and 100602 deletions

View File

@@ -0,0 +1,37 @@
#pragma once
#include <cstdint>
#include <string>
namespace XCEngine::UI::Editor::Windowing::Domain {
struct WindowCommand {
enum class Type : std::uint8_t {
None = 0,
DestroyNativeWindow,
ShowWindow,
FocusWindow,
ResizeWindow,
MoveWindow,
SetWindowTitle,
SetWindowBounds,
MinimizeWindow,
CloseWindow,
BeginCaptionDrag,
};
enum class BoundsMode : std::uint8_t {
Default = 0,
InteractiveResizeNoRedraw,
};
Type type = Type::None;
BoundsMode boundsMode = BoundsMode::Default;
std::string payload = {};
std::int32_t x = 0;
std::int32_t y = 0;
std::int32_t width = 0;
std::int32_t height = 0;
};
} // namespace XCEngine::UI::Editor::Windowing::Domain