Refactor new_editor window architecture and routing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "Composition/EditorShellRuntime.h"
|
||||
#include "Ports/TexturePort.h"
|
||||
#include "Ports/ViewportRenderPort.h"
|
||||
#include "Rendering/Host/UiTextureHost.h"
|
||||
#include "Rendering/Host/ViewportRenderHost.h"
|
||||
#include "Composition/EditorContext.h"
|
||||
#include "Composition/EditorPanelIds.h"
|
||||
#include <XCEditor/Shell/UIEditorShellCapturePolicy.h>
|
||||
@@ -10,7 +10,7 @@ namespace XCEngine::UI::Editor::App {
|
||||
|
||||
void EditorShellRuntime::Initialize(
|
||||
const std::filesystem::path& repoRoot,
|
||||
Ports::TexturePort& textureHost,
|
||||
Rendering::Host::UiTextureHost& textureHost,
|
||||
UIEditorTextMeasurer& textMeasurer) {
|
||||
m_textureHost = &textureHost;
|
||||
m_builtInIcons.Initialize(textureHost);
|
||||
@@ -26,7 +26,7 @@ void EditorShellRuntime::Initialize(
|
||||
m_hierarchyPanel.Initialize();
|
||||
}
|
||||
|
||||
void EditorShellRuntime::AttachViewportWindowRenderer(Ports::ViewportRenderPort& renderer) {
|
||||
void EditorShellRuntime::AttachViewportWindowRenderer(Rendering::Host::ViewportRenderHost& renderer) {
|
||||
m_viewportHostService.AttachWindowRenderer(renderer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user