summaryrefslogtreecommitdiff
path: root/src/order_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/order_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/order_gui.cpp')
-rw-r--r--src/order_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index b3a5b08d1..1bebf1bd5 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -770,7 +770,7 @@ static const Widget _orders_train_widgets[] = {
};
static const WindowDesc _orders_train_desc = {
- WDP_AUTO, WDP_AUTO, 399, 88,
+ WDP_AUTO, WDP_AUTO, 399, 88, 399, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
_orders_train_widgets,
@@ -807,7 +807,7 @@ static const Widget _orders_widgets[] = {
};
static const WindowDesc _orders_desc = {
- WDP_AUTO, WDP_AUTO, 410, 88,
+ WDP_AUTO, WDP_AUTO, 410, 88, 410, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
_orders_widgets,
@@ -844,7 +844,7 @@ static const Widget _other_orders_widgets[] = {
};
static const WindowDesc _other_orders_desc = {
- WDP_AUTO, WDP_AUTO, 332, 88,
+ WDP_AUTO, WDP_AUTO, 332, 88, 332, 88,
WC_VEHICLE_ORDERS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_other_orders_widgets,