1 /* $Id: road_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
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/>.
10 /** @file road_widget.h Types related to the road widgets. */
12 #ifndef WIDGETS_ROAD_WIDGET_H
13 #define WIDGETS_ROAD_WIDGET_H
15 /** Widgets of the #BuildRoadToolbarWindow class. */
16 enum RoadToolbarWidgets
{
17 /* Name starts with RO instead of R, because of collision with RailToolbarWidgets */
18 WID_ROT_ROAD_X
, ///< Build road in x-direction.
19 WID_ROT_ROAD_Y
, ///< Build road in y-direction.
20 WID_ROT_AUTOROAD
, ///< Autorail.
21 WID_ROT_DEMOLISH
, ///< Demolish.
22 WID_ROT_DEPOT
, ///< Build depot.
23 WID_ROT_BUS_STATION
, ///< Build bus station.
24 WID_ROT_TRUCK_STATION
, ///< Build truck station.
25 WID_ROT_ONE_WAY
, ///< Build one-way road.
26 WID_ROT_BUILD_BRIDGE
, ///< Build bridge.
27 WID_ROT_BUILD_TUNNEL
, ///< Build tunnel.
28 WID_ROT_REMOVE
, ///< Remove road.
31 /** Widgets of the #BuildRoadDepotWindow class. */
32 enum BuildRoadDepotWidgets
{
33 /* Name starts with BRO instead of BR, because of collision with BuildRailDepotWidgets */
34 WID_BROD_CAPTION
, ///< Caption of the window.
35 WID_BROD_DEPOT_NE
, ///< Depot with NE entry.
36 WID_BROD_DEPOT_SE
, ///< Depot with SE entry.
37 WID_BROD_DEPOT_SW
, ///< Depot with SW entry.
38 WID_BROD_DEPOT_NW
, ///< Depot with NW entry.
41 /** Widgets of the #BuildRoadStationWindow class. */
42 enum BuildRoadStationWidgets
{
43 /* Name starts with BRO instead of BR, because of collision with BuildRailStationWidgets */
44 WID_BROS_CAPTION
, ///< Caption of the window.
45 WID_BROS_BACKGROUND
, ///< Background of the window.
46 WID_BROS_STATION_NE
, ///< Terminal station with NE entry.
47 WID_BROS_STATION_SE
, ///< Terminal station with SE entry.
48 WID_BROS_STATION_SW
, ///< Terminal station with SW entry.
49 WID_BROS_STATION_NW
, ///< Terminal station with NW entry.
50 WID_BROS_STATION_X
, ///< Drive-through station in x-direction.
51 WID_BROS_STATION_Y
, ///< Drive-through station in y-direction.
52 WID_BROS_LT_OFF
, ///< Turn off area highlight.
53 WID_BROS_LT_ON
, ///< Turn on area highlight.
54 WID_BROS_INFO
, ///< Station acceptance info.
57 #endif /* WIDGETS_ROAD_WIDGET_H */