feat(new_editor): wire project, inspector, and viewport runtime
This commit is contained in:
@@ -6,21 +6,21 @@ namespace XCEngine::UI::Editor::App {
|
||||
|
||||
using namespace CompositionInternal;
|
||||
|
||||
EditorShellAsset BuildEditorShellAsset(const std::filesystem::path& repoRoot) {
|
||||
EditorShellAsset BuildEditorApplicationShellAsset(const std::filesystem::path& repoRoot) {
|
||||
EditorShellAsset asset = {};
|
||||
asset.screenId = "editor.shell";
|
||||
asset.captureRootPath = (repoRoot / "new_editor/captures").lexically_normal();
|
||||
asset.panelRegistry = BuildEditorPanelRegistry();
|
||||
asset.workspace = BuildEditorWorkspaceModel();
|
||||
asset.workspace = BuildEditorWorkspaceModel(asset.panelRegistry);
|
||||
asset.workspaceSession =
|
||||
BuildDefaultUIEditorWorkspaceSession(asset.panelRegistry, asset.workspace);
|
||||
asset.shellDefinition = BuildBaseEditorShellDefinition();
|
||||
asset.shellDefinition = BuildBaseEditorShellDefinition(asset.panelRegistry);
|
||||
asset.shortcutAsset.commandRegistry = BuildEditorCommandRegistry();
|
||||
asset.shortcutAsset.bindings = BuildEditorShortcutBindings();
|
||||
return asset;
|
||||
}
|
||||
|
||||
UIEditorShellInteractionDefinition BuildEditorShellInteractionDefinition(
|
||||
UIEditorShellInteractionDefinition BuildEditorApplicationShellInteractionDefinition(
|
||||
const EditorShellAsset& asset,
|
||||
const UIEditorWorkspaceController& controller,
|
||||
std::string_view statusText,
|
||||
|
||||
Reference in New Issue
Block a user