OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

vehicle_widget.h
Go to the documentation of this file.
1 /* $Id: vehicle_widget.h 24997 2013-02-14 17:11:42Z rubidium $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
9
12 #ifndef WIDGETS_VEHICLE_WIDGET_H
13 #define WIDGETS_VEHICLE_WIDGET_H
14
16 enum VehicleViewWidgets {
17 WID_VV_CAPTION,
18 WID_VV_VIEWPORT,
19 WID_VV_START_STOP,
20 WID_VV_CENTER_MAIN_VIEW,
21 WID_VV_GOTO_DEPOT,
22 WID_VV_REFIT,
23 WID_VV_SHOW_ORDERS,
24 WID_VV_SHOW_DETAILS,
25 WID_VV_CLONE,
26 WID_VV_SELECT_DEPOT_CLONE,
27 WID_VV_SELECT_REFIT_TURN,
28 WID_VV_TURN_AROUND,
29 WID_VV_FORCE_PROCEED,
30 };
31
33 enum VehicleRefitWidgets {
34 WID_VR_CAPTION,
35 WID_VR_VEHICLE_PANEL_DISPLAY,
36 WID_VR_SHOW_HSCROLLBAR,
37 WID_VR_HSCROLLBAR,
38 WID_VR_SELECT_HEADER,
39 WID_VR_MATRIX,
40 WID_VR_SCROLLBAR,
41 WID_VR_INFO,
42 WID_VR_REFIT,
43 };
44
46 enum VehicleDetailsWidgets {
47 WID_VD_CAPTION,
48 WID_VD_RENAME_VEHICLE,
49 WID_VD_TOP_DETAILS,
50 WID_VD_INCREASE_SERVICING_INTERVAL,
51 WID_VD_DECREASE_SERVICING_INTERVAL,
52 WID_VD_SERVICE_INTERVAL_DROPDOWN,
53 WID_VD_SERVICING_INTERVAL,
54 WID_VD_MIDDLE_DETAILS,
55 WID_VD_MATRIX,
56 WID_VD_SCROLLBAR,
57 WID_VD_DETAILS_CARGO_CARRIED,
58 WID_VD_DETAILS_TRAIN_VEHICLES,
59 WID_VD_DETAILS_CAPACITY_OF_EACH,
60 WID_VD_DETAILS_TOTAL_CARGO,
61 };
62
64 enum VehicleListWidgets {
65 WID_VL_CAPTION,
66 WID_VL_SORT_ORDER,
67 WID_VL_SORT_BY_PULLDOWN,
68 WID_VL_LIST,
69 WID_VL_SCROLLBAR,
70 WID_VL_HIDE_BUTTONS,
71 WID_VL_AVAILABLE_VEHICLES,
72 WID_VL_MANAGE_VEHICLES_DROPDOWN,
73 WID_VL_STOP_ALL,
74 WID_VL_START_ALL,
75 };
76
77 #endif /* WIDGETS_VEHICLE_WIDGET_H */