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,34 @@
#pragma once
#include "FrameReason.h"
#include <cstdint>
#include <string>
namespace XCEngine::UI::Editor::Windowing::Domain {
struct WindowEvent {
enum class Type : std::uint8_t {
Unknown = 0,
NativeAttached,
NativeDestroyed,
CloseRequested,
FocusGained,
FocusLost,
ClientResized,
DpiChanged,
InteractiveResizeStarted,
InteractiveResizeEnded,
PaintRequested,
FramePresented,
};
Type type = Type::Unknown;
FrameReason frameReason = FrameReason::Unknown;
std::uint32_t width = 0u;
std::uint32_t height = 0u;
float dpiScale = 1.0f;
std::string payload = {};
};
} // namespace XCEngine::UI::Editor::Windowing::Domain