diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-26 20:55:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-26 20:55:04 +0000 |
commit | c99eb9e4564b0c39356b469dfc2e1038c74da853 (patch) | |
tree | 1cd56469593a22050ca5d32236023544801b40a3 /src/window_gui.h | |
parent | d3990083d3ff15dfa94d8723421911dc270875bd (diff) | |
download | openttd-c99eb9e4564b0c39356b469dfc2e1038c74da853.tar.xz |
(svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 4 |
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. |