OpenTTD Source  14.0-beta1
road_widget.h
Go to the documentation of this file.
1 /*
2  * This file is part of OpenTTD.
3  * 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.
4  * 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.
5  * 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/>.
6  */
7 
10 #ifndef WIDGETS_ROAD_WIDGET_H
11 #define WIDGETS_ROAD_WIDGET_H
12 
15  /* Name starts with RO instead of R, because of collision with RailToolbarWidgets */
29 
30  INVALID_WID_ROT = -1,
31 };
32 
35  /* Name starts with BRO instead of BR, because of collision with BuildRailDepotWidgets */
41 };
42 
45  /* Name starts with BRO instead of BR, because of collision with BuildRailStationWidgets */
70 };
71 
72 #endif /* WIDGETS_ROAD_WIDGET_H */
WID_ROT_TRUCK_STATION
@ WID_ROT_TRUCK_STATION
Build truck station.
Definition: road_widget.h:23
WID_BROS_SHOW_NEWST_TYPE_SEL
@ WID_BROS_SHOW_NEWST_TYPE_SEL
Selection for the type name.
Definition: road_widget.h:66
WID_ROT_BUILD_BRIDGE
@ WID_ROT_BUILD_BRIDGE
Build bridge.
Definition: road_widget.h:25
WID_BROS_NEWST_SCROLL
@ WID_BROS_NEWST_SCROLL
Scrollbar of the WID_BROS_NEWST_LIST.
Definition: road_widget.h:69
WID_ROT_DEMOLISH
@ WID_ROT_DEMOLISH
Demolish.
Definition: road_widget.h:20
WID_BROS_MATRIX_SCROLL
@ WID_BROS_MATRIX_SCROLL
Scrollbar of the WID_BROS_SHOW_NEWST_ADDITIONS.
Definition: road_widget.h:58
BuildRoadDepotWidgets
BuildRoadDepotWidgets
Widgets of the BuildRoadDepotWindow class.
Definition: road_widget.h:34
WID_BROS_SHOW_NEWST_DEFSIZE
@ WID_BROS_SHOW_NEWST_DEFSIZE
Selection for default-size button for new road stops.
Definition: road_widget.h:61
WID_BROS_IMAGE
@ WID_BROS_IMAGE
Panel used for each image of the matrix.
Definition: road_widget.h:57
WID_BROD_DEPOT_NW
@ WID_BROD_DEPOT_NW
Depot with NW entry.
Definition: road_widget.h:40
WID_BROS_FILTER_EDITBOX
@ WID_BROS_FILTER_EDITBOX
Filter text box for the road stop class list.
Definition: road_widget.h:60
WID_BROS_ACCEPTANCE
@ WID_BROS_ACCEPTANCE
Station acceptance info.
Definition: road_widget.h:55
WID_BROD_DEPOT_SE
@ WID_BROD_DEPOT_SE
Depot with SE entry.
Definition: road_widget.h:38
WID_BROS_SHOW_NEWST_MATRIX
@ WID_BROS_SHOW_NEWST_MATRIX
Selection for new stop image matrix.
Definition: road_widget.h:63
WID_BROS_LT_ON
@ WID_BROS_LT_ON
Turn on area highlight.
Definition: road_widget.h:54
WID_BROD_DEPOT_SW
@ WID_BROD_DEPOT_SW
Depot with SW entry.
Definition: road_widget.h:39
WID_BROS_LT_OFF
@ WID_BROS_LT_OFF
Turn off area highlight.
Definition: road_widget.h:53
WID_BROS_STATION_Y
@ WID_BROS_STATION_Y
Drive-through station in y-direction.
Definition: road_widget.h:52
WidgetID
int WidgetID
Widget ID.
Definition: window_type.h:18
WID_ROT_ROAD_Y
@ WID_ROT_ROAD_Y
Build road in y-direction.
Definition: road_widget.h:18
WID_BROS_STATION_X
@ WID_BROS_STATION_X
Drive-through station in x-direction.
Definition: road_widget.h:51
WID_ROT_BUILD_TUNNEL
@ WID_ROT_BUILD_TUNNEL
Build tunnel.
Definition: road_widget.h:26
WID_BROS_STATION_SE
@ WID_BROS_STATION_SE
Terminal station with SE entry.
Definition: road_widget.h:48
WID_ROT_REMOVE
@ WID_ROT_REMOVE
Remove road.
Definition: road_widget.h:27
WID_BROD_DEPOT_NE
@ WID_BROD_DEPOT_NE
Depot with NE entry.
Definition: road_widget.h:37
WID_ROT_ONE_WAY
@ WID_ROT_ONE_WAY
Build one-way road.
Definition: road_widget.h:24
WID_BROS_STATION_NW
@ WID_BROS_STATION_NW
Terminal station with NW entry.
Definition: road_widget.h:50
WID_BROS_MATRIX
@ WID_BROS_MATRIX
Matrix widget displaying all available road stops.
Definition: road_widget.h:56
BuildRoadStationWidgets
BuildRoadStationWidgets
Widgets of the BuildRoadStationWindow class.
Definition: road_widget.h:44
WID_ROT_ROAD_X
@ WID_ROT_ROAD_X
Build road in x-direction.
Definition: road_widget.h:17
WID_BROS_FILTER_CONTAINER
@ WID_BROS_FILTER_CONTAINER
Container for the filter text box for the road stop class list.
Definition: road_widget.h:59
WID_BROS_STATION_SW
@ WID_BROS_STATION_SW
Terminal station with SW entry.
Definition: road_widget.h:49
WID_ROT_AUTOROAD
@ WID_ROT_AUTOROAD
Autorail.
Definition: road_widget.h:19
WID_ROT_CAPTION
@ WID_ROT_CAPTION
Caption of the window.
Definition: road_widget.h:16
WID_BROS_CAPTION
@ WID_BROS_CAPTION
Caption of the window.
Definition: road_widget.h:46
WID_ROT_DEPOT
@ WID_ROT_DEPOT
Build depot.
Definition: road_widget.h:21
WID_BROS_SHOW_NEWST_ORIENTATION
@ WID_BROS_SHOW_NEWST_ORIENTATION
Selection for the orientation string for new stops.
Definition: road_widget.h:65
WID_BROD_CAPTION
@ WID_BROD_CAPTION
Caption of the window.
Definition: road_widget.h:36
WID_BROS_SHOW_NEWST_RESIZE
@ WID_BROS_SHOW_NEWST_RESIZE
Selection for panel and resize at bottom right for new stops.
Definition: road_widget.h:64
RoadToolbarWidgets
RoadToolbarWidgets
Widgets of the BuildRoadToolbarWindow class.
Definition: road_widget.h:14
WID_BROS_SHOW_NEWST_TYPE
@ WID_BROS_SHOW_NEWST_TYPE
Display of selected stop type.
Definition: road_widget.h:67
WID_BROS_SHOW_NEWST_ADDITIONS
@ WID_BROS_SHOW_NEWST_ADDITIONS
Selection for new class selection list.
Definition: road_widget.h:62
WID_BROS_NEWST_LIST
@ WID_BROS_NEWST_LIST
List with new road stops.
Definition: road_widget.h:68
WID_ROT_CONVERT_ROAD
@ WID_ROT_CONVERT_ROAD
Convert road.
Definition: road_widget.h:28
WID_ROT_BUS_STATION
@ WID_ROT_BUS_STATION
Build bus station.
Definition: road_widget.h:22
WID_BROS_STATION_NE
@ WID_BROS_STATION_NE
Terminal station with NE entry.
Definition: road_widget.h:47