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/dock_gui.cpp | |
parent | 8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff) | |
download | openttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz |
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index d6fbd53f2..0e4f8ed9f 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -314,7 +314,7 @@ static const NWidgetPart _nested_build_docks_toolbar_widgets[] = { }; static WindowDesc _build_docks_toolbar_desc( - WDP_ALIGN_TOOLBAR, 0, 0, + WDP_ALIGN_TOOLBAR, "toolbar_water", 0, 0, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_docks_toolbar_widgets, lengthof(_nested_build_docks_toolbar_widgets) @@ -366,7 +366,7 @@ static const NWidgetPart _nested_build_docks_scen_toolbar_widgets[] = { /** Window definition for the build docks in scenario editor window. */ static WindowDesc _build_docks_scen_toolbar_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "toolbar_water_scen", 0, 0, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets) @@ -466,7 +466,7 @@ static const NWidgetPart _nested_build_dock_station_widgets[] = { }; static WindowDesc _build_dock_station_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, NULL, 0, 0, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_dock_station_widgets, lengthof(_nested_build_dock_station_widgets) @@ -543,7 +543,7 @@ static const NWidgetPart _nested_build_docks_depot_widgets[] = { }; static WindowDesc _build_docks_depot_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, NULL, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_docks_depot_widgets, lengthof(_nested_build_docks_depot_widgets) |