(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

@@ -847,7 +847,7 @@ public:
/* draw the window */
SetDParam(0, STR_00E5_CONTOURS + _smallmap_type);
DrawWindowWidgets(this);
this->DrawWidgets();
tbl = _legend_table[_smallmap_type];
@@ -1153,8 +1153,8 @@ public:
/* set the number in the title bar */
SetDParam(0, this->window_number + 1);
DrawWindowWidgets(this);
DrawWindowViewport(this);
this->DrawWidgets();
this->DrawViewport();
}
virtual void OnClick(Point pt, int widget)