Files
XCEngine/new_editor/app/Composition/EditorShellRuntimeSupport.h

34 lines
1.1 KiB
C++

#pragma once
#include "Composition/EditorShellRuntime.h"
#include <XCEditor/Shell/UIEditorShellCompose.h>
namespace XCEngine::UI::Editor::App::RuntimeSupport {
void ApplyViewportFramesToShellFrame(
UIEditorShellInteractionFrame& shellFrame,
ViewportHostService& viewportHostService);
std::vector<::XCEngine::UI::UIInputEvent> FilterShellInputEventsForHostedContentCapture(
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents);
bool ShouldHostedContentYieldPointerStream(
const UIEditorShellInteractionFrame& shellFrame,
bool shellInteractiveCaptureActive);
std::vector<::XCEngine::UI::UIInputEvent> FilterHostedContentInputEventsForShellOwnership(
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
bool shellOwnsPointerStream);
UIEditorShellComposeModel BuildShellComposeModelFromFrame(
const UIEditorShellInteractionFrame& frame);
void AppendShellPopups(
::XCEngine::UI::UIDrawList& drawList,
const UIEditorShellInteractionFrame& frame,
const UIEditorShellInteractionPalette& palette,
const UIEditorShellInteractionMetrics& metrics);
} // namespace XCEngine::UI::Editor::App::RuntimeSupport