(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

@@ -315,7 +315,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
SetDParam(2, 1 << _patches_newgame.map_y); // GLAND_MAPSIZE_Y_PULLDOWN
SetDParam(3, _patches_newgame.snow_line_height); // GLAND_SNOW_LEVEL_TEXT
DrawWindowWidgets(this);
this->DrawWidgets();
this->DrawEditBox(GLAND_RANDOM_EDITBOX);
@@ -667,7 +667,7 @@ struct CreateScenarioWindow : public Window
SetDParam(2, 1 << _patches_newgame.map_y); // CSCEN_MAPSIZE_Y_PULLDOWN
SetDParam(3, _patches_newgame.se_flat_world_height); // CSCEN_FLAT_LAND_HEIGHT_TEXT
DrawWindowWidgets(this);
this->DrawWidgets();
}
virtual void OnClick(Point pt, int widget)
@@ -873,7 +873,7 @@ public:
virtual void OnPaint()
{
DrawWindowWidgets(this);
this->DrawWidgets();
/* Draw the % complete with a bar and a text */
DrawFrameRect(19, 20, (this->width - 18), 37, 14, FR_BORDERONLY);