diff options
author | crupest <crupest@outlook.com> | 2018-09-19 01:15:01 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-19 01:15:01 +0800 |
commit | 85bb4d466efeb2540363065d7c0987a9d60f70e9 (patch) | |
tree | ea5e5aa738afb37a2d3bc4e74f9be64c15f3d188 /CruUI/ui/control.h | |
parent | 4710715102df3806479985679bd8048631ccaab5 (diff) | |
download | cru-85bb4d466efeb2540363065d7c0987a9d60f70e9.tar.gz cru-85bb4d466efeb2540363065d7c0987a9d60f70e9.tar.bz2 cru-85bb4d466efeb2540363065d7c0987a9d60f70e9.zip |
finish animation!!!
Diffstat (limited to 'CruUI/ui/control.h')
-rw-r--r-- | CruUI/ui/control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CruUI/ui/control.h b/CruUI/ui/control.h index ca2dfb84..daae1787 100644 --- a/CruUI/ui/control.h +++ b/CruUI/ui/control.h @@ -60,8 +60,8 @@ namespace cru } //Traverse the children - void ForeachChild(Action<Control*>&& predicate) const; - void ForeachChild(FlowControlAction<Control*>&& predicate) const; + void ForeachChild(Function<void(Control*)>&& predicate) const; + void ForeachChild(Function<FlowControl(Control*)>&& predicate) const; //Return a vector of all children. This function will create a //temporary copy of vector of children. If you just want to @@ -93,7 +93,7 @@ namespace cru } //Traverse the tree rooted the control including itself. - void TraverseDescendants(Action<Control*>&& predicate); + void TraverseDescendants(Function<void(Control*)>&& predicate); //*************** region: position and size *************** // Position and size part must be isolated from layout part. |