diff options
author | rubidium <rubidium@openttd.org> | 2007-07-27 12:49:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-27 12:49:04 +0000 |
commit | c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b (patch) | |
tree | f4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/road_gui.cpp | |
parent | f01f2c3a666361f5859b8684ab9e937b2ec8a5d9 (diff) | |
download | openttd-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/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 12 |
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, |