OpenTTD: src/widgets/road_widget.h Source File

OpenTTD

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

- File List
- Globals

road_widget.h
Go to the documentation of this file.
1 /* $Id: road_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
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_ROAD_WIDGET_H
13 #define WIDGETS_ROAD_WIDGET_H
14
16 enum RoadToolbarWidgets {
17 /* Name starts with RO instead of R, because of collision with RailToolbarWidgets */
18 WID_ROT_ROAD_X,
19 WID_ROT_ROAD_Y,
20 WID_ROT_AUTOROAD,
21 WID_ROT_DEMOLISH,
22 WID_ROT_DEPOT,
23 WID_ROT_BUS_STATION,
24 WID_ROT_TRUCK_STATION,
25 WID_ROT_ONE_WAY,
26 WID_ROT_BUILD_BRIDGE,
27 WID_ROT_BUILD_TUNNEL,
28 WID_ROT_REMOVE,
29 };
30
32 enum BuildRoadDepotWidgets {
33 /* Name starts with BRO instead of BR, because of collision with BuildRailDepotWidgets */
34 WID_BROD_CAPTION,
35 WID_BROD_DEPOT_NE,
36 WID_BROD_DEPOT_SE,
37 WID_BROD_DEPOT_SW,
38 WID_BROD_DEPOT_NW,
39 };
40
42 enum BuildRoadStationWidgets {
43 /* Name starts with BRO instead of BR, because of collision with BuildRailStationWidgets */
44 WID_BROS_CAPTION,
45 WID_BROS_BACKGROUND,
46 WID_BROS_STATION_NE,
47 WID_BROS_STATION_SE,
48 WID_BROS_STATION_SW,
49 WID_BROS_STATION_NW,
50 WID_BROS_STATION_X,
51 WID_BROS_STATION_Y,
52 WID_BROS_LT_OFF,
53 WID_BROS_LT_ON,
54 WID_BROS_INFO,
55 };
56
57 #endif /* WIDGETS_ROAD_WIDGET_H */