src/depot_gui.cpp
changeset 10641 13148f508e6d
parent 10607 1ab30cead125
child 10692 9532c1cee494
equal deleted inserted replaced
10640:5bef905df159 10641:13148f508e6d
   105 static const WindowDesc _train_depot_desc = {
   105 static const WindowDesc _train_depot_desc = {
   106 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   106 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   107 	WC_VEHICLE_DEPOT, WC_NONE,
   107 	WC_VEHICLE_DEPOT, WC_NONE,
   108 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   108 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   109 	_depot_widgets,
   109 	_depot_widgets,
   110 	NULL
       
   111 };
   110 };
   112 
   111 
   113 static const WindowDesc _road_depot_desc = {
   112 static const WindowDesc _road_depot_desc = {
   114 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   113 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   115 	WC_VEHICLE_DEPOT, WC_NONE,
   114 	WC_VEHICLE_DEPOT, WC_NONE,
   116 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   115 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   117 	_depot_widgets,
   116 	_depot_widgets,
   118 	NULL
       
   119 };
   117 };
   120 
   118 
   121 static const WindowDesc _ship_depot_desc = {
   119 static const WindowDesc _ship_depot_desc = {
   122 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   120 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   123 	WC_VEHICLE_DEPOT, WC_NONE,
   121 	WC_VEHICLE_DEPOT, WC_NONE,
   124 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   122 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   125 	_depot_widgets,
   123 	_depot_widgets,
   126 	NULL
       
   127 };
   124 };
   128 
   125 
   129 static const WindowDesc _aircraft_depot_desc = {
   126 static const WindowDesc _aircraft_depot_desc = {
   130 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   127 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   131 	WC_VEHICLE_DEPOT, WC_NONE,
   128 	WC_VEHICLE_DEPOT, WC_NONE,
   132 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   129 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   133 	_depot_widgets,
   130 	_depot_widgets,
   134 	NULL
       
   135 };
   131 };
   136 
   132 
   137 extern int WagonLengthToPixels(int len);
   133 extern int WagonLengthToPixels(int len);
   138 extern void DepotSortList(Vehicle **v, uint16 length);
   134 extern void DepotSortList(Vehicle **v, uint16 length);
   139 
   135