(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets

This commit is contained in:
rubidium
2009-11-17 19:16:48 +00:00
parent 063e8adcec
commit 5f2ddfbc5a
47 changed files with 139 additions and 143 deletions

View File

@@ -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)