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 | a89b5721a8bff2a601161a1dc456f588c065b0eb (patch) | |
tree | 95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/road_gui.cpp | |
parent | 7f6ccdc624851aaecce81ccead4f6829925df8d9 (diff) | |
download | openttd-a89b5721a8bff2a601161a1dc456f588c065b0eb.tar.xz |
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 7016d4b43..fea313c1b 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -468,7 +468,7 @@ static void BuildRoadToolbWndProc(Window *w, WindowEvent *e) RTW_BUS_STATION, RTW_TRUCK_STATION, WIDGET_LIST_END); - DrawWindowWidgets(w); + w->DrawWidgets(); break; case WE_CLICK: @@ -733,7 +733,7 @@ static void BuildRoadDepotWndProc(Window *w, WindowEvent *e) break; case WE_PAINT: - DrawWindowWidgets(w); + w->DrawWidgets(); DrawRoadDepotSprite(70, 17, DIAGDIR_NE, _cur_roadtype); DrawRoadDepotSprite(70, 69, DIAGDIR_SE, _cur_roadtype); @@ -849,7 +849,7 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e) break; case WE_PAINT: { - DrawWindowWidgets(w); + w->DrawWidgets(); if (_station_show_coverage) { int rad = _patches.modified_catchment ? CA_TRUCK /* = CA_BUS */ : CA_UNMODIFIED; |