Files
XCEngine/new_editor/include/XCEditor/Shell/UIEditorShellCapturePolicy.h

30 lines
805 B
C++

#pragma once
#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