(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 7f6ccdc624
commit a89b5721a8
41 changed files with 156 additions and 159 deletions

View File

@@ -365,7 +365,7 @@ struct DepotWindow : Window {
SetDParam(0, depot->town_index);
}
DrawWindowWidgets(w);
w->DrawWidgets();
num = this->vscroll.pos * boxes_in_each_row;
maxval = min(this->engine_count, num + (rows_in_display * boxes_in_each_row));