summaryrefslogtreecommitdiff
path: root/src/smallmap_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/smallmap_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/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index b2e4be10d..0d25b28b5 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -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)