diff options
author | rubidium <rubidium@openttd.org> | 2007-12-02 14:29:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-02 14:29:48 +0000 |
commit | 92cb0e45ca1cb30c0232cf41c1c65aa610393672 (patch) | |
tree | e58f8a4999ff6c34bc01aae8c8c413ceee96650c /src/music_gui.cpp | |
parent | c0790fff86cff9ef848dacf66902accb07550325 (diff) | |
download | openttd-92cb0e45ca1cb30c0232cf41c1c65aa610393672.tar.xz |
(svn r11555) -Codechange: use the new members introduced in r11551.
Diffstat (limited to 'src/music_gui.cpp')
-rw-r--r-- | src/music_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp index ccc279b72..d97048610 100644 --- a/src/music_gui.cpp +++ b/src/music_gui.cpp @@ -199,9 +199,9 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e) uint i; int y; - SetWindowWidgetDisabledState(w, 11, msf.playlist <= 3); - LowerWindowWidget(w, 3); - LowerWindowWidget(w, 4); + w->SetWidgetDisabledState(11, msf.playlist <= 3); + w->LowerWidget(3); + w->LowerWidget(4); DrawWindowWidgets(w); GfxFillRect(3, 23, 3 + 177, 23 + 191, 0); @@ -342,8 +342,8 @@ static void MusicWindowWndProc(Window *w, WindowEvent *e) uint i; StringID str; - RaiseWindowWidget(w, 7); - RaiseWindowWidget(w, 9); + w->RaiseWidget(7); + w->RaiseWidget(9); DrawWindowWidgets(w); GfxFillRect(187, 16, 200, 33, 0); |