summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-17 12:48:06 +0000
committerrubidium <rubidium@openttd.org>2008-05-17 12:48:06 +0000
commita89b5721a8bff2a601161a1dc456f588c065b0eb (patch)
tree95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/terraform_gui.cpp
parent7f6ccdc624851aaecce81ccead4f6829925df8d9 (diff)
downloadopenttd-a89b5721a8bff2a601161a1dc456f588c065b0eb.tar.xz
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 692c7cc57..c24d85c6a 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -236,7 +236,7 @@ static void TerraformToolbWndProc(Window *w, WindowEvent *e)
{
switch (e->event) {
case WE_PAINT:
- DrawWindowWidgets(w);
+ w->DrawWidgets();
break;
case WE_CLICK:
@@ -578,7 +578,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
break;
case WE_PAINT: {
- DrawWindowWidgets(w);
+ w->DrawWidgets();
int n = _terraform_size * _terraform_size;
const int8 *coords = &_multi_terraform_coords[0][0];