summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
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/genworld_gui.cpp
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/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index e7f4ab1ee..4239283f7 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -767,14 +767,14 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
};
static const WindowDesc _generate_landscape_desc(
- WDP_CENTER, WDP_CENTER, 338, 313, 338, 313,
+ WDP_CENTER, WDP_CENTER, 338, 313,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets)
);
static const WindowDesc _heightmap_load_desc(
- WDP_CENTER, WDP_CENTER, 338, 236, 338, 236,
+ WDP_CENTER, WDP_CENTER, 338, 236,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
_nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets)
@@ -1087,7 +1087,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = {
};
static const WindowDesc _create_scenario_desc(
- WDP_CENTER, WDP_CENTER, 338, 170, 338, 170,
+ WDP_CENTER, WDP_CENTER, 338, 170,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
_nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets)
@@ -1122,7 +1122,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = {
static const WindowDesc _generate_progress_desc(
- WDP_CENTER, WDP_CENTER, 181, 97, 181, 97,
+ WDP_CENTER, WDP_CENTER, 181, 97,
WC_GENERATE_PROGRESS_WINDOW, WC_NONE,
WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets)