OpenTTD Source: StationPickerSelection Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
StationPickerSelection Struct Reference

## Data Fields
StationClassID | sel_class
| Selected station class.
uint16_t | sel_type
| Selected station type within the class.
Axis | axis
| Selected orientation of the station.

## Detailed Description

Definition at line 66 of file rail_gui.cpp.

## Field Documentation

## ◆ axis

Axis StationPickerSelection::axis

Selected orientation of the station.

Definition at line 69 of file rail_gui.cpp.

Referenced by BuildRailClick_Remove(), StationPickerCallbacks::DrawType(), BuildRailStationWindow::OnClick(), BuildRailStationWindow::OnInit(), BuildRailStationWindow::OnPaint(), and PlaceRail_Station().

## ◆ sel_class

StationClassID StationPickerSelection::sel_class

Selected station class.

Definition at line 67 of file rail_gui.cpp.

Referenced by BuildRailStationWindow::DrawWidget(), StationPickerCallbacks::GetSelectedClass(), InitializeRailGui(), BuildRailStationWindow::OnClick(), BuildRailStationWindow::OnInvalidateData(), BuildRailStationWindow::OnPaint(), PlaceRail_Station(), and StationPickerCallbacks::SetSelectedClass().

## ◆ sel_type

uint16_t StationPickerSelection::sel_type

Selected station type within the class.

Definition at line 68 of file rail_gui.cpp.

Referenced by BuildRailStationWindow::DrawWidget(), StationPickerCallbacks::GetSelectedType(), InitializeRailGui(), BuildRailStationWindow::OnClick(), BuildRailStationWindow::OnInvalidateData(), BuildRailStationWindow::OnPaint(), PlaceRail_Station(), and StationPickerCallbacks::SetSelectedType().

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

- src/rail_gui.cpp