summaryrefslogtreecommitdiff
path: root/src/main_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/main_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/main_gui.cpp')
-rw-r--r--src/main_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 5644323c4..d323495f8 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1404,7 +1404,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
}
static const WindowDesc _scen_edit_land_gen_desc = {
- WDP_AUTO, WDP_AUTO, 182, 103,
+ WDP_AUTO, WDP_AUTO, 182, 103, 182, 103,
WC_SCEN_LAND_GEN, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_scen_edit_land_gen_widgets,
@@ -1525,7 +1525,7 @@ static void ScenEditTownGenWndProc(Window *w, WindowEvent *e)
}
static const WindowDesc _scen_edit_town_gen_desc = {
- WDP_AUTO, WDP_AUTO, 160, 95,
+ WDP_AUTO, WDP_AUTO, 160, 95, 160, 95,
WC_SCEN_TOWN_GEN, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_scen_edit_town_gen_widgets,
@@ -1751,7 +1751,7 @@ static const Widget _toolb_normal_widgets[] = {
};
static const WindowDesc _toolb_normal_desc = {
- 0, 0, 640, 22,
+ 0, 0, 640, 22, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
_toolb_normal_widgets,
@@ -1902,7 +1902,7 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e)
}
static const WindowDesc _toolb_scen_desc = {
- 0, 0, 640, 22,
+ 0, 0, 640, 22, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_toolb_scen_widgets,
@@ -2039,7 +2039,7 @@ static const Widget _main_status_widgets[] = {
};
static WindowDesc _main_status_desc = {
- WDP_CENTER, 0, 640, 12,
+ WDP_CENTER, 0, 640, 12, 640, 12,
WC_STATUS_BAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_main_status_widgets,