summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
committerrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
commitc03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b (patch)
treef4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/genworld_gui.cpp
parentf01f2c3a666361f5859b8684ab9e937b2ec8a5d9 (diff)
downloadopenttd-c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b.tar.xz
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
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 9763967dc..874db1900 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -510,7 +510,7 @@ static void GenerateLandscapeWndProc(Window *w, WindowEvent *e)
}
static const WindowDesc _generate_landscape_desc = {
- WDP_CENTER, WDP_CENTER, 338, 268,
+ WDP_CENTER, WDP_CENTER, 338, 268, 338, 268,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_generate_landscape_widgets,
@@ -518,7 +518,7 @@ static const WindowDesc _generate_landscape_desc = {
};
static const WindowDesc _heightmap_load_desc = {
- WDP_CENTER, WDP_CENTER, 338, 236,
+ WDP_CENTER, WDP_CENTER, 338, 236, 338, 236,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
_heightmap_load_widgets,
@@ -743,7 +743,7 @@ static const Widget _create_scenario_widgets[] = {
};
static const WindowDesc _create_scenario_desc = {
- WDP_CENTER, WDP_CENTER, 338, 170,
+ WDP_CENTER, WDP_CENTER, 338, 170, 338, 170,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
_create_scenario_widgets,
@@ -823,7 +823,7 @@ static void ShowTerrainProgressProc(Window* w, WindowEvent* e)
}
static const WindowDesc _show_terrain_progress_desc = {
- WDP_CENTER, WDP_CENTER, 181, 97,
+ WDP_CENTER, WDP_CENTER, 181, 97, 181, 97,
WC_GENERATE_PROGRESS_WINDOW, WC_NONE,
WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_show_terrain_progress_widgets,