From 5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 17 Nov 2009 19:16:48 +0000 Subject: (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets --- src/settings_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/settings_gui.cpp') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index b65770cbd..e5f2ccbaa 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -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) -- cgit v1.2.3-54-g00ecf