OpenTTD Source: RoadStopPickerSelection Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
RoadStopPickerSelection Struct Reference

## Data Fields
RoadStopClassID | sel_class
| Selected road stop class.
uint16_t | sel_type
| Selected road stop type within the class.
DiagDirection | orientation
| Selected orientation of the road stop.

## Detailed Description

Definition at line 76 of file road_gui.cpp.

## Field Documentation

## ◆ orientation

DiagDirection RoadStopPickerSelection::orientation

Selected orientation of the road stop.

Definition at line 79 of file road_gui.cpp.

Referenced by RoadStopPickerCallbacks< roadstoptype >::DrawType(), BuildRoadStationWindow::OnClick(), PlaceRoad_BusStation(), PlaceRoad_TruckStation(), and PlaceRoadStop().

## ◆ sel_class

RoadStopClassID RoadStopPickerSelection::sel_class

Selected road stop class.

Definition at line 77 of file road_gui.cpp.

Referenced by BuildRoadStationWindow::DrawWidget(), RoadStopPickerCallbacks< roadstoptype >::GetSelectedClass(), BuildRoadStationWindow::OnClick(), BuildRoadStationWindow::OnPaint(), BuildRoadToolbarWindow::OnPlaceMouseUp(), PlaceRoadStop(), and RoadStopPickerCallbacks< roadstoptype >::SetSelectedClass().

## ◆ sel_type

uint16_t RoadStopPickerSelection::sel_type

Selected road stop type within the class.

Definition at line 78 of file road_gui.cpp.

Referenced by BuildRoadStationWindow::DrawWidget(), RoadStopPickerCallbacks< roadstoptype >::GetSelectedType(), BuildRoadStationWindow::OnClick(), BuildRoadStationWindow::OnPaint(), PlaceRoadStop(), and RoadStopPickerCallbacks< roadstoptype >::SetSelectedType().

The documentation for this struct was generated from the following file:

- src/road_gui.cpp