Refactor new_editor window architecture and routing
This commit is contained in:
@@ -34,11 +34,11 @@ class EditorCommandFocusService;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
|
||||
namespace XCEngine::UI::Editor::Ports {
|
||||
namespace XCEngine::UI::Editor::System {
|
||||
|
||||
class SystemInteractionPort;
|
||||
class SystemInteractionService;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Ports
|
||||
} // namespace XCEngine::UI::Editor::System
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
void Initialize(const std::filesystem::path& repoRoot);
|
||||
void SetProjectRuntime(EditorProjectRuntime* projectRuntime);
|
||||
void SetCommandFocusService(EditorCommandFocusService* commandFocusService);
|
||||
void SetSystemInteractionHost(Ports::SystemInteractionPort* systemInteractionHost);
|
||||
void SetSystemInteractionHost(System::SystemInteractionService* systemInteractionHost);
|
||||
void SetBuiltInIcons(BuiltInIcons* icons);
|
||||
void SetTextMeasurer(const ::XCEngine::UI::Editor::UIEditorTextMeasurer* textMeasurer);
|
||||
void ResetInteractionState();
|
||||
@@ -253,7 +253,7 @@ private:
|
||||
std::unique_ptr<EditorProjectRuntime> m_ownedProjectRuntime = {};
|
||||
EditorProjectRuntime* m_projectRuntime = nullptr;
|
||||
EditorCommandFocusService* m_commandFocusService = nullptr;
|
||||
Ports::SystemInteractionPort* m_systemInteractionHost = nullptr;
|
||||
System::SystemInteractionService* m_systemInteractionHost = nullptr;
|
||||
BuiltInIcons* m_icons = nullptr;
|
||||
const ::XCEngine::UI::Editor::UIEditorTextMeasurer* m_textMeasurer = nullptr;
|
||||
std::vector<Widgets::UIEditorTreeViewItem> m_windowTreeItems = {};
|
||||
|
||||
Reference in New Issue
Block a user