diff options
author | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
commit | 5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch) | |
tree | 555dcdb99e5bae8aea6350713c53469486f925c7 /src/road_gui.cpp | |
parent | 063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff) | |
download | openttd-5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2.tar.xz |
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
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 e56edbe59..0c89f7366 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -663,7 +663,7 @@ static const NWidgetPart _nested_build_road_widgets[] = { }; static const WindowDesc _build_road_desc( - WDP_ALIGN_TBR, 22, 263, 36, 263, 36, + WDP_ALIGN_TBR, 22, 263, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _nested_build_road_widgets, lengthof(_nested_build_road_widgets) @@ -701,7 +701,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = { }; static const WindowDesc _build_tramway_desc( - WDP_ALIGN_TBR, 22, 241, 36, 241, 36, + WDP_ALIGN_TBR, 22, 241, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets) @@ -743,7 +743,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = { }; static const WindowDesc _build_road_scen_desc( - WDP_AUTO, WDP_AUTO, 197, 36, 197, 36, + WDP_AUTO, WDP_AUTO, 197, 36, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets) @@ -843,7 +843,7 @@ static const NWidgetPart _nested_build_road_depot_widgets[] = { }; static const WindowDesc _build_road_depot_desc( - WDP_AUTO, WDP_AUTO, 140, 122, 140, 122, + WDP_AUTO, WDP_AUTO, 140, 122, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _nested_build_road_depot_widgets, lengthof(_nested_build_road_depot_widgets) @@ -1008,7 +1008,7 @@ static const NWidgetPart _nested_rv_station_picker_widgets[] = { }; static const WindowDesc _rv_station_picker_desc( - WDP_AUTO, WDP_AUTO, 207, 178, 207, 178, + WDP_AUTO, WDP_AUTO, 207, 178, WC_BUS_STATION, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _nested_rv_station_picker_widgets, lengthof(_nested_rv_station_picker_widgets) |