refactor(new_editor): streamline internal layout and command routing

This commit is contained in:
2026-04-15 19:30:58 +08:00
parent 9654f4d91a
commit df8f433fbb
84 changed files with 3250 additions and 3008 deletions

View File

@@ -417,7 +417,8 @@ void AppendUIEditorShellCompose(
palette.dockHostPalette,
metrics.dockHostMetrics,
palette.viewportPalette,
metrics.viewportMetrics);
metrics.viewportMetrics,
UIEditorWorkspaceComposeAppendOptions{ true });
AppendUIEditorStatusBarBackground(
drawList,
@@ -435,4 +436,16 @@ void AppendUIEditorShellCompose(
metrics.statusBarMetrics);
}
void AppendUIEditorShellComposeOverlay(
::XCEngine::UI::UIDrawList& drawList,
const UIEditorShellComposeFrame& frame,
const UIEditorShellComposePalette& palette,
const UIEditorShellComposeMetrics& metrics) {
AppendUIEditorWorkspaceComposeOverlay(
drawList,
frame.workspaceFrame,
palette.dockHostPalette,
metrics.dockHostMetrics);
}
} // namespace XCEngine::UI::Editor