new_editor: reduce app shell capture plumbing
This commit is contained in:
@@ -3,13 +3,27 @@
|
||||
#include <XCEditor/Shell/UIEditorShellInteraction.h>
|
||||
|
||||
namespace XCEngine::UI {
|
||||
|
||||
struct UIInputEvent;
|
||||
struct UIPoint;
|
||||
|
||||
}
|
||||
|
||||
namespace XCEngine::UI::Editor {
|
||||
|
||||
bool HasActiveUIEditorShellInteractiveCapture(
|
||||
const UIEditorShellInteractionState& shellInteractionState);
|
||||
|
||||
bool ShouldStartImmediateUIEditorShellPointerCapture(
|
||||
const UIEditorShellInteractionFrame& shellFrame,
|
||||
const ::XCEngine::UI::UIPoint& clientPoint);
|
||||
|
||||
bool ShouldYieldUIEditorHostedContentPointerStream(
|
||||
const UIEditorShellInteractionFrame& shellFrame,
|
||||
bool shellInteractiveCaptureActive);
|
||||
|
||||
std::vector<::XCEngine::UI::UIInputEvent> FilterUIEditorHostedContentInputEvents(
|
||||
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
|
||||
bool shellOwnsPointerStream);
|
||||
|
||||
} // namespace XCEngine::UI::Editor
|
||||
|
||||
Reference in New Issue
Block a user