diff options
author | rubidium <rubidium@openttd.org> | 2008-05-17 12:48:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-17 12:48:06 +0000 |
commit | 8b5421290027ab67cba25225111e3561ddd7af07 (patch) | |
tree | 95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/station_gui.cpp | |
parent | d8154e00ac8b0df7ad0ac94c90a393aa5096e573 (diff) | |
download | openttd-8b5421290027ab67cba25225111e3561ddd7af07.tar.xz |
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
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 36f2fc21b..2e05722b4 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -369,10 +369,10 @@ struct PlayerStationsWindow : public Window, public GUIStationList /* Set text of sort by dropdown */ this->widget[SLW_SORTDROPBTN].data = _station_sort_listing[this->sort_type]; - DrawWindowWidgets(this); + this->DrawWidgets(); /* draw arrow pointing up/down for ascending/descending sorting */ - DrawSortButtonState(this, SLW_SORTBY, this->flags & VL_DESC ? SBS_DOWN : SBS_UP); + this->DrawSortButtonState(SLW_SORTBY, this->flags & VL_DESC ? SBS_DOWN : SBS_UP); int cg_ofst; int x = 89; @@ -813,7 +813,7 @@ struct StationViewWindow : public Window { SetDParam(0, st->index); SetDParam(1, st->facilities); - DrawWindowWidgets(this); + this->DrawWidgets(); int x = 2; ///< coordinates used for printing waiting/accepted/rating of cargo int y = 15; |