summaryrefslogtreecommitdiff
path: root/src/depot_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/depot_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/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index b3b21cdd1..d7e4ce346 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -92,28 +92,28 @@ static const NWidgetPart _nested_train_depot_widgets[] = {
};
static const WindowDesc _train_depot_desc(
- WDP_AUTO, WDP_AUTO, 36, 27, 362, 123,
+ WDP_AUTO, WDP_AUTO, 362, 123,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _road_depot_desc(
- WDP_AUTO, WDP_AUTO, 36, 27, 316, 97,
+ WDP_AUTO, WDP_AUTO, 316, 97,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _ship_depot_desc(
- WDP_AUTO, WDP_AUTO, 36, 27, 306, 99,
+ WDP_AUTO, WDP_AUTO, 306, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)
);
static const WindowDesc _aircraft_depot_desc(
- WDP_AUTO, WDP_AUTO, 36, 27, 332, 99,
+ WDP_AUTO, WDP_AUTO, 332, 99,
WC_VEHICLE_DEPOT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_train_depot_widgets, lengthof(_nested_train_depot_widgets)