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 | a89b5721a8bff2a601161a1dc456f588c065b0eb (patch) | |
tree | 95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/genworld_gui.cpp | |
parent | 7f6ccdc624851aaecce81ccead4f6829925df8d9 (diff) | |
download | openttd-a89b5721a8bff2a601161a1dc456f588c065b0eb.tar.xz |
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 59595325f..ba6f1f3d2 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -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); |