summaryrefslogtreecommitdiff
path: root/src/ship_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/ship_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/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index ed9ca529d..fcdcfc24a 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -156,7 +156,7 @@ static const Widget _ship_details_widgets[] = {
};
static const WindowDesc _ship_details_desc = {
- WDP_AUTO, WDP_AUTO, 405, 113,
+ WDP_AUTO, WDP_AUTO, 405, 113, 405, 113,
WC_VEHICLE_DETAILS, WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_ship_details_widgets,
@@ -334,7 +334,7 @@ static const Widget _ship_view_widgets[] = {
};
static const WindowDesc _ship_view_desc = {
- WDP_AUTO, WDP_AUTO, 250, 116,
+ WDP_AUTO, WDP_AUTO, 250, 116, 250, 116,
WC_VEHICLE_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_ship_view_widgets,