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/station_gui.cpp | |
parent | 2b6f79251372ba2ac8fd59a4de2ee604e96c34af (diff) | |
download | openttd-450e40b997ac0ac29c79abfeb1b96bb9bf2b8eed.tar.xz |
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 77c26546d..dd4dd2a8a 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -291,7 +291,7 @@ public: this->last_sorting = this->stations.GetListing(); } - 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) { switch (widget) { case SLW_SORTDROPBTN: { @@ -808,7 +808,7 @@ struct StationViewWindow : public Window { DeleteWindowById(WC_AIRCRAFT_LIST, wno | (VEH_AIRCRAFT << 11), false); } - 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) { switch (widget) { case SVW_WAITING: @@ -1293,7 +1293,7 @@ struct SelectStationWindow : Window { this->OnInvalidateData(0); } - 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) { if (widget != JSW_PANEL) return; |