载入中...
搜索中...
未找到
Component.cpp
浏览该文件的文档.
virtual WidgetDesc build()=0
void rebuild(bool forceFull=false)
Rebuild tree onto host (reconcile by key when possible).
Definition Component.cpp:19
bool updateIfDirty()
If dirty, rebuild and clear flag. Returns true if rebuilt.
Definition Component.cpp:27
ECS mount point for one UI panel/screen. Subclass to attach UI to game entities, e....
Definition UIHost.h:130
bool setTreeReconcile(WidgetDesc root)
Key-aware patch when structure matches; else full replace.
Definition UIHost.cpp:28
static UIHost * createHost(const std::string &name="")
Definition UIHost.cpp:11
static UIHost * findHost(const std::string &name)
Lookup by Meta.name across the UIHost View.
Definition UISystem.cpp:561
Definition Component.cpp:5
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:13