src/autoreplace_gui.cpp
branchNewGRF_ports
changeset 6743 cabfaa4a0295
parent 6725 23339968083f
child 6868 7eb395287b3d
equal deleted inserted replaced
6742:1337d6c9b97b 6743:cabfaa4a0295
   465 {  WWT_RESIZEBOX,     RESIZE_TB,    14,   444,   455,   202,   213, STR_NULL,                    STR_RESIZE_BUTTON},
   465 {  WWT_RESIZEBOX,     RESIZE_TB,    14,   444,   455,   202,   213, STR_NULL,                    STR_RESIZE_BUTTON},
   466 {   WIDGETS_END},
   466 {   WIDGETS_END},
   467 };
   467 };
   468 
   468 
   469 static const WindowDesc _replace_rail_vehicle_desc = {
   469 static const WindowDesc _replace_rail_vehicle_desc = {
   470 	WDP_AUTO, WDP_AUTO, 456, 252,
   470 	WDP_AUTO, WDP_AUTO, 456, 252, 456, 252,
   471 	WC_REPLACE_VEHICLE, WC_NONE,
   471 	WC_REPLACE_VEHICLE, WC_NONE,
   472 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   472 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   473 	_replace_rail_vehicle_widgets,
   473 	_replace_rail_vehicle_widgets,
   474 	ReplaceVehicleWndProc
   474 	ReplaceVehicleWndProc
   475 };
   475 };
   476 
   476 
   477 static const WindowDesc _replace_road_vehicle_desc = {
   477 static const WindowDesc _replace_road_vehicle_desc = {
   478 	WDP_AUTO, WDP_AUTO, 456, 230,
   478 	WDP_AUTO, WDP_AUTO, 456, 230, 456, 230,
   479 	WC_REPLACE_VEHICLE, WC_NONE,
   479 	WC_REPLACE_VEHICLE, WC_NONE,
   480 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   480 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   481 	_replace_road_vehicle_widgets,
   481 	_replace_road_vehicle_widgets,
   482 	ReplaceVehicleWndProc
   482 	ReplaceVehicleWndProc
   483 };
   483 };
   484 
   484 
   485 static const WindowDesc _replace_ship_aircraft_vehicle_desc = {
   485 static const WindowDesc _replace_ship_aircraft_vehicle_desc = {
   486 	WDP_AUTO, WDP_AUTO, 456, 214,
   486 	WDP_AUTO, WDP_AUTO, 456, 214, 456, 214,
   487 	WC_REPLACE_VEHICLE, WC_NONE,
   487 	WC_REPLACE_VEHICLE, WC_NONE,
   488 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   488 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   489 	_replace_ship_aircraft_vehicle_widgets,
   489 	_replace_ship_aircraft_vehicle_widgets,
   490 	ReplaceVehicleWndProc
   490 	ReplaceVehicleWndProc
   491 };
   491 };