diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:36:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:36:56 +0300 |
commit | c0a4146dc70b252c84746c4ccfd9f1ca9af8421d (patch) | |
tree | 45544cb653c5c84d9738a84b74596e6e48b08e11 /src/gui/widgets/layoutarray.h | |
parent | f55baadfeb6245899497cd472f65f23e905481b9 (diff) | |
download | plus-c0a4146dc70b252c84746c4ccfd9f1ca9af8421d.tar.gz plus-c0a4146dc70b252c84746c4ccfd9f1ca9af8421d.tar.bz2 plus-c0a4146dc70b252c84746c4ccfd9f1ca9af8421d.tar.xz plus-c0a4146dc70b252c84746c4ccfd9f1ca9af8421d.zip |
Remove default parameters from layoutcell.
Diffstat (limited to 'src/gui/widgets/layoutarray.h')
-rw-r--r-- | src/gui/widgets/layoutarray.h | 13 |
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. |