summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 19:17:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 19:17:31 +0300
commit5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (patch)
tree2c8e648ee0ffb6f616b581bb273b9f3ab274b711 /src/gui
parentea40cd4fa5e65698cbabb3649e2d5641f47df265 (diff)
downloadmanaplus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.gz
manaplus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.bz2
manaplus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.xz
manaplus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.zip
Remove default parameters from layouthelper.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/layouthelper.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h
index 0f84e280c..c0389cec3 100644
--- a/src/gui/widgets/layouthelper.h
+++ b/src/gui/widgets/layouthelper.h
@@ -65,13 +65,17 @@ class LayoutHelper final : public WidgetListener
* @param w if non-zero, force the container to this width.
* @param h if non-zero, force the container to this height.
*/
- void reflowLayout(int w = 0, int h = 0);
+ void reflowLayout(int w,
+ int h);
/**
* Adds a widget to the container and sets it at given cell.
*/
- LayoutCell &place(const int x, const int y, Widget *const wg,
- const int w = 1, const int h = 1);
+ LayoutCell &place(const int x,
+ const int y,
+ Widget *const wg,
+ const int w,
+ const int h);
/**
* Returns a proxy for adding widgets in an inner table of the layout.