Refactor editor windowing and update renderer regression

This commit is contained in:
2026-04-26 03:41:58 +08:00
parent 68993c46bb
commit 4fcaac81d6
39 changed files with 1181 additions and 872 deletions

View File

@@ -2,6 +2,7 @@
#include "Windowing/Content/EditorUtilityWindowContentController.h"
#include "Windowing/Content/EditorWorkspaceWindowContentController.h"
#include "Windowing/System/EditorWindowSystem.h"
#include <utility>
@@ -13,10 +14,12 @@ class DefaultEditorWindowContentFactory final : public EditorWindowContentFactor
public:
std::unique_ptr<EditorWindowContentController> CreateWorkspaceContentController(
std::string_view windowId,
UIEditorWorkspaceController workspaceController) const override {
UIEditorWorkspaceController workspaceController,
EditorWindowSystem& windowSystem) const override {
return CreateEditorWorkspaceWindowContentController(
windowId,
std::move(workspaceController));
std::move(workspaceController),
windowSystem);
}
std::unique_ptr<EditorWindowContentController> CreateUtilityContentController(