aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/LayoutControl.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-12-04 18:06:43 +0800
committercrupest <crupest@outlook.com>2021-12-04 18:06:43 +0800
commit942f1d34c48e61a853db745cd68e46db13266a5c (patch)
treefdb859933dbb302404391ed686bae8c7126c96ee /include/cru/ui/controls/LayoutControl.hpp
parent2317061516b0bd0002467acbead3120cbe49a6c5 (diff)
downloadcru-942f1d34c48e61a853db745cd68e46db13266a5c.tar.gz
cru-942f1d34c48e61a853db745cd68e46db13266a5c.tar.bz2
cru-942f1d34c48e61a853db745cd68e46db13266a5c.zip
...
Diffstat (limited to 'include/cru/ui/controls/LayoutControl.hpp')
-rw-r--r--include/cru/ui/controls/LayoutControl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/controls/LayoutControl.hpp b/include/cru/ui/controls/LayoutControl.hpp
index 106dd94d..381df1df 100644
--- a/include/cru/ui/controls/LayoutControl.hpp
+++ b/include/cru/ui/controls/LayoutControl.hpp
@@ -18,6 +18,8 @@ class LayoutControl : public Control {
using Control::AddChild;
using Control::RemoveChild;
+ void ClearChildren();
+
protected:
// If container render object is not null. Render object of added or removed
// child control will automatically sync to the container render object.