refactor(new_editor): extract window content boundary
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "Composition/EditorContext.h"
|
||||
#include "Platform/Win32/EditorWindowManager.h"
|
||||
#include "Platform/Win32/EditorWindow.h"
|
||||
#include "Platform/Win32/EditorWorkspaceWindowContentController.h"
|
||||
#include "Platform/Win32/Win32SystemInteractionHost.h"
|
||||
#include "Support/EnvironmentFlags.h"
|
||||
#include "Support/ExecutablePath.h"
|
||||
@@ -148,7 +149,8 @@ bool Application::Initialize(HINSTANCE hInstance, int nCmdShow) {
|
||||
createParams.autoCaptureOnStartup =
|
||||
App::IsEnvironmentFlagEnabled("XCUI_AUTO_CAPTURE_ON_STARTUP");
|
||||
if (m_windowManager->CreateEditorWindow(
|
||||
m_editorContext->BuildWorkspaceController(),
|
||||
App::CreateEditorWorkspaceWindowContentController(
|
||||
m_editorContext->BuildWorkspaceController()),
|
||||
createParams) == nullptr) {
|
||||
AppendUIEditorRuntimeTrace("app", "primary window creation failed");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user