diff options
author | crupest <crupest@outlook.com> | 2018-09-22 23:01:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-22 23:01:16 +0800 |
commit | 51c1550662d0abbc941183593b43c129917b5099 (patch) | |
tree | d994896616de27e9ef47dfbefb70e652ccb23e81 /CruUI/ui/control.h | |
parent | 5d91d1e5594e37ca5c282e602407eaeb34c6d986 (diff) | |
download | cru-51c1550662d0abbc941183593b43c129917b5099.tar.gz cru-51c1550662d0abbc941183593b43c129917b5099.tar.bz2 cru-51c1550662d0abbc941183593b43c129917b5099.zip |
Rename LayoutLength to LayoutSideParams.
Diffstat (limited to 'CruUI/ui/control.h')
-rw-r--r-- | CruUI/ui/control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/control.h b/CruUI/ui/control.h index 3810f5ac..78261a80 100644 --- a/CruUI/ui/control.h +++ b/CruUI/ui/control.h @@ -351,7 +351,7 @@ namespace cru Control* IsAncestorOrDescendant(Control* left, Control* right); template <typename TControl, typename... Args> - TControl* CreateWithLayout(const LayoutLength& width, const LayoutLength& height, Args&&... args) + TControl* CreateWithLayout(const LayoutSideParams& width, const LayoutSideParams& height, Args&&... args) { static_assert(std::is_base_of_v<Control, TControl>, "TControl is not a control class."); TControl* control = TControl::Create(std::forward<Args>(args)...); |