diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 15:01:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 15:01:49 +0000 |
commit | 1f0da3710f955c7fd4a747ac814d449847e73884 (patch) | |
tree | 9f2f599538f3adfc61e80e472ed9f04332aeac65 /src/rail_gui.cpp | |
parent | 9bb4ad4ba827127b9cf92f198efd6442f053a3aa (diff) | |
download | openttd-1f0da3710f955c7fd4a747ac814d449847e73884.tar.xz |
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 95b193039..9f20b6350 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -856,7 +856,7 @@ static const NWidgetPart _nested_build_rail_widgets[] = { }; static const WindowDesc _build_rail_desc( - WDP_ALIGN_TOOLBAR, 350, 36, + WDP_ALIGN_TOOLBAR, 0, 0, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_rail_widgets, lengthof(_nested_build_rail_widgets) @@ -1461,7 +1461,7 @@ static const NWidgetPart _nested_newstation_builder_widgets[] = { /** High level window description of the default station-build window */ static const WindowDesc _station_builder_desc( - WDP_AUTO, 148, 200, + WDP_AUTO, 0, 0, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_station_builder_widgets, lengthof(_nested_station_builder_widgets) @@ -1469,7 +1469,7 @@ static const WindowDesc _station_builder_desc( /** High level window description of the newGRF station-build window */ static const WindowDesc _newstation_builder_desc( - WDP_AUTO, 148, 290, + WDP_AUTO, 0, 0, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_newstation_builder_widgets, lengthof(_nested_newstation_builder_widgets) @@ -1674,7 +1674,7 @@ static const NWidgetPart _nested_signal_builder_widgets[] = { /** Signal selection window description */ static const WindowDesc _signal_builder_desc( - WDP_AUTO, 154, 68, + WDP_AUTO, 0, 0, WC_BUILD_SIGNAL, WC_BUILD_TOOLBAR, WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_signal_builder_widgets, lengthof(_nested_signal_builder_widgets) @@ -1764,7 +1764,7 @@ static const NWidgetPart _nested_build_depot_widgets[] = { }; static const WindowDesc _build_depot_desc( - WDP_AUTO, 140, 122, + WDP_AUTO, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_depot_widgets, lengthof(_nested_build_depot_widgets) @@ -1864,7 +1864,7 @@ static const NWidgetPart _nested_build_waypoint_widgets[] = { }; static const WindowDesc _build_waypoint_desc( - WDP_AUTO, 344, 92, + WDP_AUTO, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_waypoint_widgets, lengthof(_nested_build_waypoint_widgets) |