File diff r5069:e99ecf2f674b → r5070:6da414a78d0e
vehicle_gui.c
Show inline comments
 
@@ -423,13 +423,13 @@ static const Widget _vehicle_refit_widge
 
	{ WWT_PUSHTXTBTN,     RESIZE_TB,    14,     0,   227,   162,   173, 0x0,                                 STR_NULL},
 
	{  WWT_RESIZEBOX,     RESIZE_TB,    14,   228,   239,   162,   173, 0x0,                                 STR_RESIZE_BUTTON},
 
	{   WIDGETS_END},
 
};
 

	
 
static const WindowDesc _vehicle_refit_desc = {
 
	-1,-1, 240, 174,
 
	WDP_AUTO, WDP_AUTO, 240, 174,
 
	WC_VEHICLE_REFIT,WC_VEHICLE_VIEW,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
 
	_vehicle_refit_widgets,
 
	VehicleRefitWndProc,
 
};
 

	
 
@@ -1275,29 +1275,29 @@ static const Widget _replace_ship_aircra
 
{      WWT_PANEL,     RESIZE_TB,    14,   228,   455,   110,   201, 0x0,                         STR_NULL},
 
{  WWT_RESIZEBOX,     RESIZE_TB,    14,   444,   455,   202,   213, STR_NULL,                    STR_RESIZE_BUTTON},
 
{   WIDGETS_END},
 
};
 

	
 
static const WindowDesc _replace_rail_vehicle_desc = {
 
	-1, -1, 456, 252,
 
	WDP_AUTO, WDP_AUTO, 456, 252,
 
	WC_REPLACE_VEHICLE,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_replace_rail_vehicle_widgets,
 
	ReplaceVehicleWndProc
 
};
 

	
 
static const WindowDesc _replace_road_vehicle_desc = {
 
	-1, -1, 456, 230,
 
	WDP_AUTO, WDP_AUTO, 456, 230,
 
	WC_REPLACE_VEHICLE,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_replace_road_vehicle_widgets,
 
	ReplaceVehicleWndProc
 
};
 

	
 
static const WindowDesc _replace_ship_aircraft_vehicle_desc = {
 
	-1, -1, 456, 214,
 
	WDP_AUTO, WDP_AUTO, 456, 214,
 
	WC_REPLACE_VEHICLE,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_replace_ship_aircraft_vehicle_widgets,
 
	ReplaceVehicleWndProc
 
};
 

	
 
@@ -1819,37 +1819,37 @@ void PlayerVehWndProc(Window *w, WindowE
 
			ResizeVehicleListWidgets(w);
 
			break;
 
	}
 
}
 

	
 
static const WindowDesc _player_vehicle_list_train_desc = {
 
	-1, -1, 325, 220,
 
    WC_TRAINS_LIST,0,
 
    WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
    _vehicle_list_widgets,
 
    PlayerVehWndProc
 
	WDP_AUTO, WDP_AUTO, 325, 220,
 
	WC_TRAINS_LIST, 0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_vehicle_list_widgets,
 
	PlayerVehWndProc
 
};
 

	
 
static const WindowDesc _player_vehicle_list_road_veh_desc = {
 
	-1, -1, 260, 220,
 
	WDP_AUTO, WDP_AUTO, 260, 220,
 
	WC_ROADVEH_LIST,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_vehicle_list_widgets,
 
	PlayerVehWndProc
 
};
 

	
 
static const WindowDesc _player_vehicle_list_ship_desc = {
 
	-1, -1, 260, 182,
 
	WDP_AUTO, WDP_AUTO, 260, 182,
 
	WC_SHIPS_LIST,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_vehicle_list_widgets,
 
	PlayerVehWndProc
 
};
 

	
 
static const WindowDesc _player_vehicle_list_aircraft_desc = {
 
	-1, -1, 260, 182,
 
	WDP_AUTO, WDP_AUTO, 260, 182,
 
	WC_AIRCRAFT_LIST,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_vehicle_list_widgets,
 
	PlayerVehWndProc
 
};