src/depot_gui.cpp
branchNewGRF_ports
changeset 6743 cabfaa4a0295
parent 6725 23339968083f
child 6868 7eb395287b3d
equal deleted inserted replaced
6742:1337d6c9b97b 6743:cabfaa4a0295
    95 };
    95 };
    96 
    96 
    97 static void DepotWndProc(Window *w, WindowEvent *e);
    97 static void DepotWndProc(Window *w, WindowEvent *e);
    98 
    98 
    99 static const WindowDesc _train_depot_desc = {
    99 static const WindowDesc _train_depot_desc = {
   100 	WDP_AUTO, WDP_AUTO, 36, 27,
   100 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   101 	WC_VEHICLE_DEPOT, WC_NONE,
   101 	WC_VEHICLE_DEPOT, WC_NONE,
   102 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   102 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   103 	_depot_widgets,
   103 	_depot_widgets,
   104 	DepotWndProc
   104 	DepotWndProc
   105 };
   105 };
   106 
   106 
   107 static const WindowDesc _road_depot_desc = {
   107 static const WindowDesc _road_depot_desc = {
   108 	WDP_AUTO, WDP_AUTO, 36, 27,
   108 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   109 	WC_VEHICLE_DEPOT, WC_NONE,
   109 	WC_VEHICLE_DEPOT, WC_NONE,
   110 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   110 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   111 	_depot_widgets,
   111 	_depot_widgets,
   112 	DepotWndProc
   112 	DepotWndProc
   113 };
   113 };
   114 
   114 
   115 static const WindowDesc _ship_depot_desc = {
   115 static const WindowDesc _ship_depot_desc = {
   116 	WDP_AUTO, WDP_AUTO, 36, 27,
   116 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   117 	WC_VEHICLE_DEPOT, WC_NONE,
   117 	WC_VEHICLE_DEPOT, WC_NONE,
   118 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   118 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   119 	_depot_widgets,
   119 	_depot_widgets,
   120 	DepotWndProc
   120 	DepotWndProc
   121 };
   121 };
   122 
   122 
   123 static const WindowDesc _aircraft_depot_desc = {
   123 static const WindowDesc _aircraft_depot_desc = {
   124 	WDP_AUTO, WDP_AUTO, 36, 27,
   124 	WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
   125 	WC_VEHICLE_DEPOT, WC_NONE,
   125 	WC_VEHICLE_DEPOT, WC_NONE,
   126 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   126 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   127 	_depot_widgets,
   127 	_depot_widgets,
   128 	DepotWndProc
   128 	DepotWndProc
   129 };
   129 };