(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

@@ -489,7 +489,7 @@ static const NWidgetPart _nested_game_options_widgets[] = {
};
static const WindowDesc _game_options_desc(
WDP_CENTER, WDP_CENTER, 370, 249, 370, 249,
WDP_CENTER, WDP_CENTER, 370, 249,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_game_options_widgets, lengthof(_nested_game_options_widgets)
@@ -767,7 +767,7 @@ static const NWidgetPart _nested_game_difficulty_widgets[] = {
/** Window definition for the game difficulty settings window */
static const WindowDesc _game_difficulty_desc(
WDP_CENTER, WDP_CENTER, 370, 279, 370, 279,
WDP_CENTER, WDP_CENTER, 370, 279,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets)
@@ -1652,7 +1652,7 @@ static const NWidgetPart _nested_settings_selection_widgets[] = {
};
static const WindowDesc _settings_selection_desc(
WDP_CENTER, WDP_CENTER, 412, 188, 450, 397,
WDP_CENTER, WDP_CENTER, 450, 397,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
_nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets)
@@ -1934,7 +1934,7 @@ static const NWidgetPart _nested_cust_currency_widgets[] = {
};
static const WindowDesc _cust_currency_desc(
WDP_CENTER, WDP_CENTER, 230, 120, 230, 120,
WDP_CENTER, WDP_CENTER, 230, 120,
WC_CUSTOM_CURRENCY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets)