summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index e8f5d7e7a..d83ee950d 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -630,6 +630,10 @@ void ScrollbarClickHandler(Window *w, const Widget *wi, int x, int y);
*/
void ResizeButtons(Window *w, byte left, byte right);
+/** Resize a widget an shuffle other widgets around to fit.
+ */
+void ResizeWindowForWidget(Window *w, int widget, int delta_x, int delta_y);
+
/**
* Sets the enabled/disabled status of a widget.