载入中...
搜索中...
未找到
Component.h
浏览该文件的文档.
React-style UI component: implement build(); setState / markDirty schedules one update before UI rend...
Definition Component.h:25
void setState()
Subclasses call after mutating local state that affects build().
Definition Component.h:65
Component & operator=(const Component &)=delete
Component & operator=(Component &&)=delete
Component(Component &&)=delete
Component(const Component &)=delete
UIHostHandle host() const noexcept
Returns the attached host handle, or an empty handle before attach.
Definition Component.h:44
void flushPendingComponents()
Flush one batch of live dirty components before host traversal. @thread Owner thread; newly queued ed...
Definition Component.cpp:18
Definition Component.cpp:7
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:15