aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/flex_layout.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-02 21:09:06 +0800
committercrupest <crupest@outlook.com>2020-04-02 21:09:06 +0800
commit7fd9ca808c908c67d9bec2183034ad16ea86a912 (patch)
treedd4287e511404aa2da07ea078b4bc2c76d4874fc /include/cru/ui/controls/flex_layout.hpp
parent381d0831f72dc52831bbfb66d9e7db10a86760e5 (diff)
downloadcru-7fd9ca808c908c67d9bec2183034ad16ea86a912.tar.gz
cru-7fd9ca808c908c67d9bec2183034ad16ea86a912.tar.bz2
cru-7fd9ca808c908c67d9bec2183034ad16ea86a912.zip
...
Diffstat (limited to 'include/cru/ui/controls/flex_layout.hpp')
-rw-r--r--include/cru/ui/controls/flex_layout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/flex_layout.hpp b/include/cru/ui/controls/flex_layout.hpp
index 52eaec75..ab08a80b 100644
--- a/include/cru/ui/controls/flex_layout.hpp
+++ b/include/cru/ui/controls/flex_layout.hpp
@@ -32,8 +32,8 @@ class FlexLayout : public LayoutControl {
void SetChildLayoutData(Control* control, const FlexChildLayoutData& data);
protected:
- void OnAddChild(Control* child, int position) override;
- void OnRemoveChild(Control* child, int position) override;
+ void OnAddChild(Control* child, Index position) override;
+ void OnRemoveChild(Control* child, Index position) override;
private:
std::shared_ptr<render::FlexLayoutRenderObject> render_object_;