Refactor editor host resource boundary
This commit is contained in:
@@ -29,10 +29,21 @@ namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class EditorContext;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
|
||||
namespace XCEngine::UI::Editor::Host {
|
||||
|
||||
class EditorHostResourceService;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Host
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
class EditorWindowRuntimeController final {
|
||||
public:
|
||||
EditorWindowRuntimeController(
|
||||
EditorContext& editorContext,
|
||||
Host::EditorHostResourceService& resourceService,
|
||||
std::unique_ptr<EditorWindowContentController> contentController,
|
||||
std::unique_ptr<Rendering::Host::EditorWindowRenderRuntime> renderRuntime);
|
||||
~EditorWindowRuntimeController();
|
||||
@@ -97,6 +108,7 @@ private:
|
||||
void RefreshDisplayedFrameStats();
|
||||
|
||||
EditorContext& m_editorContext;
|
||||
Host::EditorHostResourceService& m_resourceService;
|
||||
std::unique_ptr<Rendering::Host::EditorWindowRenderRuntime> m_renderRuntime = {};
|
||||
EditorWindowScreenshotController m_screenshotController = {};
|
||||
::XCEngine::UI::UITextureHandle m_titleBarLogoIcon = {};
|
||||
|
||||
Reference in New Issue
Block a user