summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
commit5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch)
tree555dcdb99e5bae8aea6350713c53469486f925c7 /src/ai
parent063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff)
downloadopenttd-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/ai')
-rw-r--r--src/ai/ai_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index d316a011a..737b39ebc 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -231,7 +231,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = {
/* Window definition for the ai list window. */
static const WindowDesc _ai_list_desc(
- WDP_CENTER, WDP_CENTER, 200, 234, 200, 234,
+ WDP_CENTER, WDP_CENTER, 200, 234,
WC_AI_LIST, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
@@ -428,7 +428,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = {
/* Window definition for the AI settings window. */
static const WindowDesc _ai_settings_desc(
- WDP_CENTER, WDP_CENTER, 200, 208, 500, 208,
+ WDP_CENTER, WDP_CENTER, 500, 208,
WC_AI_SETTINGS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
@@ -478,7 +478,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = {
/* Window definition for the configure AI window. */
static const WindowDesc _ai_config_desc(
- WDP_CENTER, WDP_CENTER, 300, 172, 300, 172,
+ WDP_CENTER, WDP_CENTER, 300, 172,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_ai_config_widgets, lengthof(_nested_ai_config_widgets)
@@ -951,7 +951,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = {
};
static const WindowDesc _ai_debug_desc(
- WDP_AUTO, WDP_AUTO, 299, 241, 299, 241,
+ WDP_AUTO, WDP_AUTO, 299, 241,
WC_AI_DEBUG, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets)