载入中...
搜索中...
未找到
Component.cpp
浏览该文件的文档.
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:30
UIHostHandle host() const noexcept
Returns the attached host handle, or an empty handle before attach.
Definition Component.h:30
static UIHostHandle createHost(const std::string &name="")
Creates an ECS-owned UI host.
Definition UIHost.cpp:48
static eve::OptionalRef< UIHost > resolve(UIHostHandle handle) noexcept
Resolves a UI host handle with ECS generation checking.
Definition UIHost.cpp:61
static UIHostHandle findHost(const std::string &name)
Lookup by Meta.name across the UIHost View.
Definition UISystem.cpp:1691
Definition Component.cpp:5
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:15