aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/layout_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/layout_control.hpp')
-rw-r--r--include/cru/ui/layout_control.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cru/ui/layout_control.hpp b/include/cru/ui/layout_control.hpp
index 187f0e0d..e1856403 100644
--- a/include/cru/ui/layout_control.hpp
+++ b/include/cru/ui/layout_control.hpp
@@ -17,13 +17,13 @@ class LayoutControl : public Control {
return children_;
}
- void AddChild(Control* control, int position);
+ void AddChild(Control* control, Index position);
- void RemoveChild(int position);
+ void RemoveChild(Index position);
protected:
- virtual void OnAddChild(Control* child, int position);
- virtual void OnRemoveChild(Control* child, int position);
+ virtual void OnAddChild(Control* child, Index position);
+ virtual void OnRemoveChild(Control* child, Index position);
private:
std::vector<Control*> children_;