summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layoutarray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/layoutarray.h')
-rw-r--r--src/gui/widgets/layoutarray.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gui/widgets/layoutarray.h b/src/gui/widgets/layoutarray.h
index cca05e091..2cf2c0eda 100644
--- a/src/gui/widgets/layoutarray.h
+++ b/src/gui/widgets/layoutarray.h
@@ -47,8 +47,10 @@ class LayoutArray final
/**
* Returns a reference on the cell at given position.
*/
- LayoutCell &at(const int x, const int y,
- const int w = 1, const int h = 1) A_WARN_UNUSED;
+ LayoutCell &at(const int x,
+ const int y,
+ const int w,
+ const int h) A_WARN_UNUSED;
/**
* Places a widget in a given cell.
@@ -57,8 +59,11 @@ class LayoutArray final
* @note When @a w is 1, the width of column @a x is reset to zero if
* it was AUTO_DEF. Similarly for @a h.
*/
- LayoutCell &place(Widget *const widget, const int x, const int y,
- const int w = 1, const int h = 1);
+ LayoutCell &place(Widget *const widget,
+ const int x,
+ const int y,
+ const int w,
+ const int h);
/**
* Sets the minimum width of a column.