summaryrefslogtreecommitdiff
path: root/src/road_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
commit13ab17bca8f57c7bf3b832963e2cc45576811fbb (patch)
treef4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/road_gui.cpp
parentff85f640db4871a197a92e283147a55c6b2e6132 (diff)
downloadopenttd-13ab17bca8f57c7bf3b832963e2cc45576811fbb.tar.xz
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 57e4db3fa..a4681b891 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -386,7 +386,7 @@ static const Widget _build_road_widgets[] = {
};
static const WindowDesc _build_road_desc = {
- WDP_ALIGN_TBR, 22, 218, 36,
+ WDP_ALIGN_TBR, 22, 218, 36, 218, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_build_road_widgets,
@@ -412,7 +412,7 @@ static const Widget _build_tramway_widgets[] = {
};
static const WindowDesc _build_tramway_desc = {
- WDP_ALIGN_TBR, 22, 218, 36,
+ WDP_ALIGN_TBR, 22, 218, 36, 218, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_build_tramway_widgets,
@@ -447,7 +447,7 @@ static const Widget _build_road_scen_widgets[] = {
};
static const WindowDesc _build_road_scen_desc = {
- WDP_AUTO, WDP_AUTO, 152, 36,
+ WDP_AUTO, WDP_AUTO, 152, 36, 152, 36,
WC_SCEN_BUILD_ROAD, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_build_road_scen_widgets,
@@ -519,7 +519,7 @@ static const Widget _build_tram_depot_widgets[] = {
};
static const WindowDesc _build_road_depot_desc = {
- WDP_AUTO, WDP_AUTO, 140, 122,
+ WDP_AUTO, WDP_AUTO, 140, 122, 140, 122,
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_road_depot_widgets,
@@ -527,7 +527,7 @@ static const WindowDesc _build_road_depot_desc = {
};
static const WindowDesc _build_tram_depot_desc = {
- WDP_AUTO, WDP_AUTO, 140, 122,
+ WDP_AUTO, WDP_AUTO, 140, 122, 140, 122,
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_tram_depot_widgets,
@@ -632,7 +632,7 @@ static const Widget _rv_station_picker_widgets[] = {
};
static const WindowDesc _rv_station_picker_desc = {
- WDP_AUTO, WDP_AUTO, 207, 177,
+ WDP_AUTO, WDP_AUTO, 207, 177, 207, 177,
WC_BUS_STATION, WC_BUILD_TOOLBAR,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_rv_station_picker_widgets,