refactor(new_editor): snapshot hosted editor restructuring

This commit is contained in:
2026-04-21 00:57:14 +08:00
parent e123e584c8
commit 9b7b369007
248 changed files with 21152 additions and 14397 deletions

View File

@@ -14,7 +14,7 @@
#include <vector>
namespace XCEngine::UI::Editor::App::Internal {
namespace XCEngine::UI::Editor::App {
class EditorWindowInputController final {
public:
@@ -41,7 +41,8 @@ public:
::XCEngine::UI::UIInputEventType type,
::XCEngine::UI::UIPointerButton button,
const ::XCEngine::UI::UIPoint& position,
WPARAM wParam);
WPARAM wParam,
bool doubleClick = false);
void QueueSyntheticPointerStateSyncEvent(
const ::XCEngine::UI::UIPoint& position,
const ::XCEngine::UI::UIInputModifiers& modifiers);
@@ -70,9 +71,10 @@ private:
Host::InputModifierTracker m_modifierTracker = {};
std::vector<::XCEngine::UI::UIInputEvent> m_pendingEvents = {};
std::uint8_t m_pendingDoubleClickButtons = 0u;
bool m_trackingMouseLeave = false;
EditorWindowPointerCaptureOwner m_pointerCaptureOwner =
EditorWindowPointerCaptureOwner::None;
};
} // namespace XCEngine::UI::Editor::App::Internal
} // namespace XCEngine::UI::Editor::App