2026-04-19 00:03:25 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <XCEditor/Shell/UIEditorShellInteraction.h>
|
|
|
|
|
|
|
|
|
|
namespace XCEngine::UI {
|
2026-04-22 16:34:28 +08:00
|
|
|
|
|
|
|
|
struct UIInputEvent;
|
2026-04-19 00:03:25 +08:00
|
|
|
struct UIPoint;
|
2026-04-22 16:34:28 +08:00
|
|
|
|
2026-04-19 00:03:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace XCEngine::UI::Editor {
|
|
|
|
|
|
2026-04-22 16:34:28 +08:00
|
|
|
bool HasActiveUIEditorShellInteractiveCapture(
|
|
|
|
|
const UIEditorShellInteractionState& shellInteractionState);
|
|
|
|
|
|
2026-04-19 00:03:25 +08:00
|
|
|
bool ShouldStartImmediateUIEditorShellPointerCapture(
|
|
|
|
|
const UIEditorShellInteractionFrame& shellFrame,
|
|
|
|
|
const ::XCEngine::UI::UIPoint& clientPoint);
|
|
|
|
|
|
2026-04-22 16:34:28 +08:00
|
|
|
bool ShouldYieldUIEditorHostedContentPointerStream(
|
|
|
|
|
const UIEditorShellInteractionFrame& shellFrame,
|
|
|
|
|
bool shellInteractiveCaptureActive);
|
|
|
|
|
|
|
|
|
|
std::vector<::XCEngine::UI::UIInputEvent> FilterUIEditorHostedContentInputEvents(
|
|
|
|
|
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
|
|
|
|
|
bool shellOwnsPointerStream);
|
|
|
|
|
|
2026-04-19 00:03:25 +08:00
|
|
|
} // namespace XCEngine::UI::Editor
|