(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.

This commit is contained in:
rubidium
2008-05-17 12:48:06 +00:00
parent d8154e00ac
commit 8b54212900
41 changed files with 156 additions and 159 deletions

View File

@@ -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;