diff options
author | alberth <alberth@openttd.org> | 2009-11-22 18:28:14 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-22 18:28:14 +0000 |
commit | 450e40b997ac0ac29c79abfeb1b96bb9bf2b8eed (patch) | |
tree | 92e398cb5c485eb3d525b5046c352b0beae302a3 /src/window_gui.h | |
parent | 2b6f79251372ba2ac8fd59a4de2ee604e96c34af (diff) | |
download | openttd-450e40b997ac0ac29c79abfeb1b96bb9bf2b8eed.tar.xz |
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index d0e0f48a2..a920ac648 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -577,9 +577,10 @@ public: * @param widget Widget number. * @param size Size of the widget. * @param padding Recommended amount of space between the widget content and the widget edge. + * @param fill Fill step of the widget. * @param resize Resize step of the widget. */ - virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize) {} + virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) {} /** * Initialize string parameters for a widget. |