Refactor new_editor window architecture and routing
This commit is contained in:
@@ -33,12 +33,12 @@ class EditorContext;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
|
||||
namespace XCEngine::UI::Editor::Ports {
|
||||
namespace XCEngine::UI::Editor::Rendering::Host {
|
||||
|
||||
class TexturePort;
|
||||
class ViewportRenderPort;
|
||||
class UiTextureHost;
|
||||
class ViewportRenderHost;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Ports
|
||||
} // namespace XCEngine::UI::Editor::Rendering::Host
|
||||
|
||||
namespace XCEngine::Rendering {
|
||||
|
||||
@@ -52,11 +52,11 @@ class EditorShellRuntime {
|
||||
public:
|
||||
void Initialize(
|
||||
const std::filesystem::path& repoRoot,
|
||||
Ports::TexturePort& textureHost,
|
||||
Rendering::Host::UiTextureHost& textureHost,
|
||||
UIEditorTextMeasurer& textMeasurer);
|
||||
void Shutdown();
|
||||
void ResetInteractionState();
|
||||
void AttachViewportWindowRenderer(Ports::ViewportRenderPort& renderer);
|
||||
void AttachViewportWindowRenderer(Rendering::Host::ViewportRenderHost& renderer);
|
||||
void DetachViewportWindowRenderer();
|
||||
void SetViewportSurfacePresentationEnabled(bool enabled);
|
||||
|
||||
@@ -99,7 +99,7 @@ private:
|
||||
ViewportHostService m_viewportHostService = {};
|
||||
SceneViewportFeature m_sceneViewportFeature = {};
|
||||
BuiltInIcons m_builtInIcons = {};
|
||||
Ports::TexturePort* m_textureHost = nullptr;
|
||||
Rendering::Host::UiTextureHost* m_textureHost = nullptr;
|
||||
ConsolePanel m_consolePanel = {};
|
||||
HierarchyPanel m_hierarchyPanel = {};
|
||||
InspectorPanel m_inspectorPanel = {};
|
||||
|
||||
Reference in New Issue
Block a user