diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 3cc9f45ea..d2635d881 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -247,6 +247,8 @@ public: if (this->cap + this->pos > this->count) this->pos = max(0, this->count - this->cap); } + void SetCapacityFromWidget(Window *w, int widget, int padding = 0); + /** * Sets the position of the first visible element * @param position the position of the element |