OpenTTD

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

- File List
- Globals

station_widget.h
Go to the documentation of this file.
1 /* $Id: station_widget.h 25365 2013-06-09 13:08:52Z fonsinchen $ */
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_STATION_WIDGET_H
13 #define WIDGETS_STATION_WIDGET_H
14
16 enum StationViewWidgets {
17 WID_SV_CAPTION,
18 WID_SV_SORT_ORDER,
19 WID_SV_SORT_BY,
20 WID_SV_GROUP,
21 WID_SV_GROUP_BY,
22 WID_SV_WAITING,
23 WID_SV_SCROLLBAR,
24 WID_SV_ACCEPT_RATING_LIST,
25 WID_SV_LOCATION,
26 WID_SV_ACCEPTS_RATINGS,
27 WID_SV_RENAME,
28 WID_SV_CLOSE_AIRPORT,
29 WID_SV_TRAINS,
30 WID_SV_ROADVEHS,
31 WID_SV_SHIPS,
32 WID_SV_PLANES,
33 };
34
36 enum StationListWidgets {
37 /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
38 WID_STL_CAPTION,
39 WID_STL_LIST,
40 WID_STL_SCROLLBAR,
41
42 /* Vehicletypes need to be in order of StationFacility due to bit magic */
43 WID_STL_TRAIN,
44 WID_STL_TRUCK,
45 WID_STL_BUS,
46 WID_STL_AIRPLANE,
47 WID_STL_SHIP,
48 WID_STL_FACILALL,
49
50 WID_STL_NOCARGOWAITING,
51 WID_STL_CARGOALL,
52
53 WID_STL_SORTBY,
54 WID_STL_SORTDROPBTN,
55
56 WID_STL_CARGOSTART,
57 };
58
60 enum JoinStationWidgets {
61 WID_JS_CAPTION, // Caption of the window.
62 WID_JS_PANEL, // Main panel.
63 WID_JS_SCROLLBAR, // Scrollbar of the panel.
64 };
65
66 #endif /* WIDGETS_STATION_WIDGET_H */