refactor(new_editor): snapshot hosted editor restructuring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user