refactor(new_editor/app): reorganize host structure and add smoke test
This commit is contained in:
33
new_editor/app/Composition/EditorShellRuntimeSupport.h
Normal file
33
new_editor/app/Composition/EditorShellRuntimeSupport.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user