(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
This commit is contained in:
@@ -467,7 +467,7 @@ static const Widget _replace_ship_aircraft_vehicle_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _replace_rail_vehicle_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 456, 252,
|
||||
WDP_AUTO, WDP_AUTO, 456, 252, 456, 252,
|
||||
WC_REPLACE_VEHICLE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_replace_rail_vehicle_widgets,
|
||||
@@ -475,7 +475,7 @@ static const WindowDesc _replace_rail_vehicle_desc = {
|
||||
};
|
||||
|
||||
static const WindowDesc _replace_road_vehicle_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 456, 230,
|
||||
WDP_AUTO, WDP_AUTO, 456, 230, 456, 230,
|
||||
WC_REPLACE_VEHICLE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_replace_road_vehicle_widgets,
|
||||
@@ -483,7 +483,7 @@ static const WindowDesc _replace_road_vehicle_desc = {
|
||||
};
|
||||
|
||||
static const WindowDesc _replace_ship_aircraft_vehicle_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 456, 214,
|
||||
WDP_AUTO, WDP_AUTO, 456, 214, 456, 214,
|
||||
WC_REPLACE_VEHICLE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_replace_ship_aircraft_vehicle_widgets,
|
||||
|
Reference in New Issue
Block a user