#pragma once #include namespace XCEngine::UI::Editor::App { enum class EditorShellPointerOwner : std::uint8_t { None = 0, DockHost, SceneViewport, GameViewport, HierarchyPanel, ProjectPanel, }; constexpr bool IsShellPointerOwner(EditorShellPointerOwner owner) { return owner == EditorShellPointerOwner::DockHost || owner == EditorShellPointerOwner::SceneViewport || owner == EditorShellPointerOwner::GameViewport; } constexpr bool IsHostedContentPointerOwner(EditorShellPointerOwner owner) { return owner == EditorShellPointerOwner::HierarchyPanel || owner == EditorShellPointerOwner::ProjectPanel; } } // namespace XCEngine::UI::Editor::App