载入中...
搜索中...
未找到
EditorWorkspace.h
浏览该文件的文档.
56 [[nodiscard]] Result<WorkspacePanelDescriptor> registerPanel(WorkspacePanelDescriptor descriptor);
58 [[nodiscard]] Result<WorkspacePanelDescriptor> movePanel(const StableId& id, WorkspaceRegion region,
72 bool registerPanel(const std::string& id, const std::string& title, const std::string& region, int order);
138 [[nodiscard]] Result<SelectionSnapshot> selectItem(std::string channel, SelectionItem item, bool additive);
156 [[nodiscard]] Result<EditorFocusSnapshot> focusItem(const std::string& channel, StableId surface,
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Simple editor chrome regions: left / right / top / bottom / center.
Definition EditorDock.h:11
Shared semantic focus service for docked editor and game HUD surfaces.
Definition EditorSelection.h:54
Channelled selection/focus state shared by editor and in-game presentations.
Definition EditorSelection.h:31
Composition model shared by project-specific developer and runtime editors.
Definition EditorWorkspace.h:43
std::uint64_t getRevision() const
Monotonic structural revision for cheap ViewModel synchronization.
Definition EditorWorkspace.h:162
int getPanelCount() const
Number of registered panels in deterministic region/order/id order.
Definition EditorWorkspace.h:93
const std::string & getId() const
Stable project-defined workspace id.
Definition EditorWorkspace.h:49
const std::string & getActivePanel() const
Active panel id, or an empty string.
Definition EditorWorkspace.h:90
Definition ActionPreviewController.cpp:6
WorkspaceRegion
Supported semantic dock regions for UI-neutral workspace panels.
Definition EditorWorkspace.h:17
@ Floating
std::string_view workspaceRegionName(WorkspaceRegion region)
Return the stable serialized name for a workspace region.
Definition EditorWorkspace.cpp:22
UI-neutral description of one composable editor panel.
Definition EditorWorkspace.h:23
std::string capability
Definition EditorWorkspace.h:27