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 | 8b5421290027ab67cba25225111e3561ddd7af07 (patch) | |
tree | 95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/dock_gui.cpp | |
parent | d8154e00ac8b0df7ad0ac94c90a393aa5096e573 (diff) | |
download | openttd-8b5421290027ab67cba25225111e3561ddd7af07.tar.xz |
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index c4bf10b42..d73f9a3b7 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -129,7 +129,7 @@ static void BuildDocksToolbWndProc(Window *w, WindowEvent *e) { switch (e->event) { case WE_PAINT: - DrawWindowWidgets(w); + w->DrawWidgets(); w->SetWidgetsDisabledState(!CanBuildVehicleInfrastructure(VEH_SHIP), 7, 8, 9, WIDGET_LIST_END); break; @@ -238,7 +238,7 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e) case WE_PAINT: { int rad = (_patches.modified_catchment) ? CA_DOCK : CA_UNMODIFIED; - DrawWindowWidgets(w); + w->DrawWidgets(); if (_station_show_coverage) { SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); @@ -318,7 +318,7 @@ static void BuildDocksDepotWndProc(Window *w, WindowEvent *e) case WE_CREATE: w->LowerWidget(_ship_depot_direction + 3); break; case WE_PAINT: - DrawWindowWidgets(w); + w->DrawWidgets(); DrawShipDepotSprite(67, 35, 0); DrawShipDepotSprite(35, 51, 1); |