载入中...
搜索中...
未找到
EditorShell.cpp
浏览该文件的文档.
void open(UIHost *inspector, UIHost *database, UIHost *scene)
Mounts the menu bar and docks the given panel hosts.
Definition EditorShell.cpp:16
bool selectPanel(const std::string &name)
Shows one panel and hides the others.
Definition EditorShell.cpp:47
ECS mount point for one UI panel/screen. Subclass to attach UI to game entities, e....
Definition UIHost.h:130
static UIHost * createHost(const std::string &name="")
Definition UIHost.cpp:11
Definition Component.cpp:5
WidgetDesc spacer(std::string id, float grow)
Flexible empty space; default flexGrow=1 so it absorbs free space in a Flex parent.
Definition Widget.cpp:439
WidgetDesc window(std::string title, std::vector< WidgetDesc > children, std::string id)
Top-level window widget with a title bar.
Definition Widget.cpp:225
WidgetDesc button(std::string label, std::string id, std::function< void()> onClick)
Clickable button; fires onClick.
Definition Widget.cpp:244
WidgetDesc row(std::vector< WidgetDesc > children, std::string id)
Horizontal elastic layout row.
Definition Widget.cpp:431
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:13