diff options
author | frosch <frosch@openttd.org> | 2013-05-26 19:25:01 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-05-26 19:25:01 +0000 |
commit | 8157a8afd814cb24aaaa4c725817c864e0c583c6 (patch) | |
tree | f81c823727cb75370437179afd5ba452055f6512 /src/road_gui.cpp | |
parent | 8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff) | |
download | openttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz |
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 0927c2c4a..a44ed3a5e 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -714,7 +714,7 @@ static const NWidgetPart _nested_build_road_widgets[] = { }; static WindowDesc _build_road_desc( - WDP_ALIGN_TOOLBAR, 0, 0, + WDP_ALIGN_TOOLBAR, "toolbar_road", 0, 0, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_road_widgets, lengthof(_nested_build_road_widgets) @@ -753,7 +753,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = { }; static WindowDesc _build_tramway_desc( - WDP_ALIGN_TOOLBAR, 0, 0, + WDP_ALIGN_TOOLBAR, "toolbar_tramway", 0, 0, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets) @@ -813,7 +813,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = { }; static WindowDesc _build_road_scen_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "toolbar_road_scen", 0, 0, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets) @@ -910,7 +910,7 @@ static const NWidgetPart _nested_build_road_depot_widgets[] = { }; static WindowDesc _build_road_depot_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, NULL, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_road_depot_widgets, lengthof(_nested_build_road_depot_widgets) @@ -1064,7 +1064,7 @@ static const NWidgetPart _nested_rv_station_picker_widgets[] = { }; static WindowDesc _rv_station_picker_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, NULL, 0, 0, WC_BUS_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_rv_station_picker_widgets, lengthof(_nested_rv_station_picker_widgets) |