src/vehicle_gui.cpp
branchNewGRF_ports
changeset 6743 cabfaa4a0295
parent 6720 35756db7e577
child 6868 7eb395287b3d
equal deleted inserted replaced
6742:1337d6c9b97b 6743:cabfaa4a0295
   407 	{  WWT_RESIZEBOX,     RESIZE_TB,    14,   228,   239,   162,   173, 0x0,                                 STR_RESIZE_BUTTON},
   407 	{  WWT_RESIZEBOX,     RESIZE_TB,    14,   228,   239,   162,   173, 0x0,                                 STR_RESIZE_BUTTON},
   408 	{   WIDGETS_END},
   408 	{   WIDGETS_END},
   409 };
   409 };
   410 
   410 
   411 static const WindowDesc _vehicle_refit_desc = {
   411 static const WindowDesc _vehicle_refit_desc = {
   412 	WDP_AUTO, WDP_AUTO, 240, 174,
   412 	WDP_AUTO, WDP_AUTO, 240, 174, 240, 174,
   413 	WC_VEHICLE_REFIT, WC_VEHICLE_VIEW,
   413 	WC_VEHICLE_REFIT, WC_VEHICLE_VIEW,
   414 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   414 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   415 	_vehicle_refit_widgets,
   415 	_vehicle_refit_widgets,
   416 	VehicleRefitWndProc,
   416 	VehicleRefitWndProc,
   417 };
   417 };
  1182 			break;
  1182 			break;
  1183 	}
  1183 	}
  1184 }
  1184 }
  1185 
  1185 
  1186 static const WindowDesc _player_vehicle_list_train_desc = {
  1186 static const WindowDesc _player_vehicle_list_train_desc = {
  1187 	WDP_AUTO, WDP_AUTO, 260, 182,
  1187 	WDP_AUTO, WDP_AUTO, 260, 182, 260, 182,
  1188 	WC_TRAINS_LIST, WC_NONE,
  1188 	WC_TRAINS_LIST, WC_NONE,
  1189 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1189 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1190 	_vehicle_list_widgets,
  1190 	_vehicle_list_widgets,
  1191 	PlayerVehWndProc
  1191 	PlayerVehWndProc
  1192 };
  1192 };
  1193 
  1193 
  1194 static const WindowDesc _player_vehicle_list_road_veh_desc = {
  1194 static const WindowDesc _player_vehicle_list_road_veh_desc = {
  1195 	WDP_AUTO, WDP_AUTO, 260, 182,
  1195 	WDP_AUTO, WDP_AUTO, 260, 182, 260, 182,
  1196 	WC_ROADVEH_LIST, WC_NONE,
  1196 	WC_ROADVEH_LIST, WC_NONE,
  1197 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1197 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1198 	_vehicle_list_widgets,
  1198 	_vehicle_list_widgets,
  1199 	PlayerVehWndProc
  1199 	PlayerVehWndProc
  1200 };
  1200 };
  1201 
  1201 
  1202 static const WindowDesc _player_vehicle_list_ship_desc = {
  1202 static const WindowDesc _player_vehicle_list_ship_desc = {
  1203 	WDP_AUTO, WDP_AUTO, 260, 182,
  1203 	WDP_AUTO, WDP_AUTO, 260, 182, 260, 182,
  1204 	WC_SHIPS_LIST, WC_NONE,
  1204 	WC_SHIPS_LIST, WC_NONE,
  1205 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1205 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1206 	_vehicle_list_widgets,
  1206 	_vehicle_list_widgets,
  1207 	PlayerVehWndProc
  1207 	PlayerVehWndProc
  1208 };
  1208 };
  1209 
  1209 
  1210 static const WindowDesc _player_vehicle_list_aircraft_desc = {
  1210 static const WindowDesc _player_vehicle_list_aircraft_desc = {
  1211 	WDP_AUTO, WDP_AUTO, 260, 182,
  1211 	WDP_AUTO, WDP_AUTO, 260, 182, 260, 182,
  1212 	WC_AIRCRAFT_LIST, WC_NONE,
  1212 	WC_AIRCRAFT_LIST, WC_NONE,
  1213 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1213 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
  1214 	_vehicle_list_widgets,
  1214 	_vehicle_list_widgets,
  1215 	PlayerVehWndProc
  1215 	PlayerVehWndProc
  1216 };
  1216 };