Refactor editor panel services boundary

This commit is contained in:
2026-04-27 16:22:46 +08:00
parent 048ca7b362
commit 9f299ab6e3
17 changed files with 228 additions and 123 deletions

View File

@@ -1,5 +1,6 @@
#include "Windowing/Content/EditorUtilityWindowContentController.h"
#include "Composition/EditorContext.h"
#include "Core/UtilityWindows/EditorUtilityWindowRuntime.h"
#include <XCEngine/UI/DrawData.h>
@@ -67,8 +68,9 @@ EditorUtilityWindowContentController::UpdateAndAppend(
return {};
}
EditorPanelServices services = context.editorContext.BuildPanelServices();
m_panel->Update(
context.editorContext,
services,
EditorUtilityWindowHostContext{
.mounted = true,
.bounds = context.bounds,