aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Control.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-10 22:06:50 +0800
committercrupest <crupest@outlook.com>2022-02-10 22:06:50 +0800
commitf65d0502a9f0fc44be0dd79a5f3f31697bb3aad0 (patch)
treec24a3a25284c94d52af5264dda996bfdd311857b /include/cru/ui/controls/Control.h
parenta236a2a146bfcc4eb5c93a85cd99ac330e83a7f5 (diff)
downloadcru-f65d0502a9f0fc44be0dd79a5f3f31697bb3aad0.tar.gz
cru-f65d0502a9f0fc44be0dd79a5f3f31697bb3aad0.tar.bz2
cru-f65d0502a9f0fc44be0dd79a5f3f31697bb3aad0.zip
...
Diffstat (limited to 'include/cru/ui/controls/Control.h')
-rw-r--r--include/cru/ui/controls/Control.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h
index 242db3f4..1d976970 100644
--- a/include/cru/ui/controls/Control.h
+++ b/include/cru/ui/controls/Control.h
@@ -9,9 +9,11 @@ namespace cru::ui::controls {
* \remarks If you want to write a new control. You should override following
* methods:
* - GetControlType()
+ * - GetRenderObject()
* - ForEachChild(const std::function<void(Control*)>& predicate)
* - RemoveChild(Control* child)
- * - GetRenderObject()
+ * The last two methods are totally for convenient control tree management. The
+ * former one is even not used.
*/
class CRU_UI_API Control : public Object {
protected: