#pragma once #ifndef NOMINMAX #define NOMINMAX #endif #include #include #include namespace XCEngine::UI::Editor::App { struct EditorWindowPanelTransferRequest { std::string nodeId = {}; std::string panelId = {}; POINT screenPoint = {}; bool IsValid() const { return !nodeId.empty() && !panelId.empty(); } }; struct EditorWindowFrameTransferRequests { std::optional beginGlobalTabDrag = {}; std::optional detachPanel = {}; bool HasPendingRequests() const { return beginGlobalTabDrag.has_value() || detachPanel.has_value(); } }; } // namespace XCEngine::UI::Editor::App