summaryrefslogtreecommitdiff
path: root/src/music_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
commit8b5421290027ab67cba25225111e3561ddd7af07 (patch)
tree95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/music_gui.cpp
parentd8154e00ac8b0df7ad0ac94c90a393aa5096e573 (diff)
downloadopenttd-8b5421290027ab67cba25225111e3561ddd7af07.tar.xz
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/music_gui.cpp')
-rw-r--r--src/music_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 589dbeca9..3b032c5a0 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -204,7 +204,7 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e)
w->SetWidgetDisabledState(11, msf.playlist <= 3);
w->LowerWidget(3);
w->LowerWidget(4);
- DrawWindowWidgets(w);
+ w->DrawWidgets();
GfxFillRect(3, 23, 3 + 177, 23 + 191, 0);
GfxFillRect(251, 23, 251 + 177, 23 + 191, 0);
@@ -346,7 +346,7 @@ static void MusicWindowWndProc(Window *w, WindowEvent *e)
w->RaiseWidget(7);
w->RaiseWidget(9);
- DrawWindowWidgets(w);
+ w->DrawWidgets();
GfxFillRect(187, 16, 200, 33, 0);