OpenTTD Source 20241224-master-gee860a5c8e
StationViewWindow::RowDisplay Struct Reference

A row being displayed in the cargo view (as opposed to being "hidden" behind a plus sign). More...

Public Member Functions

 RowDisplay (CargoDataEntry *f, StationID n)
 
 RowDisplay (CargoDataEntry *f, CargoID n)
 

Data Fields

CargoDataEntryfilter
 Parent of the cargo entry belonging to the row.
 
union { 
 
   StationID   next_station 
 ID of the station belonging to the entry actually displayed if it's to/from/via. More...
 
   CargoID   next_cargo 
 ID of the cargo belonging to the entry actually displayed if it's cargo. More...
 
};  
 

Detailed Description

A row being displayed in the cargo view (as opposed to being "hidden" behind a plus sign).

Definition at line 1259 of file station_gui.cpp.

Constructor & Destructor Documentation

◆ RowDisplay() [1/2]

StationViewWindow::RowDisplay::RowDisplay ( CargoDataEntry f,
StationID  n 
)
inline

Definition at line 1260 of file station_gui.cpp.

◆ RowDisplay() [2/2]

StationViewWindow::RowDisplay::RowDisplay ( CargoDataEntry f,
CargoID  n 
)
inline

Definition at line 1261 of file station_gui.cpp.

Field Documentation

◆ filter

CargoDataEntry* StationViewWindow::RowDisplay::filter

Parent of the cargo entry belonging to the row.

Definition at line 1266 of file station_gui.cpp.

Referenced by StationViewWindow::HandleCargoWaitingClick().

◆ next_cargo

CargoID StationViewWindow::RowDisplay::next_cargo

ID of the cargo belonging to the entry actually displayed if it's cargo.

Definition at line 1276 of file station_gui.cpp.

Referenced by StationViewWindow::HandleCargoWaitingClick().

◆ next_station

StationID StationViewWindow::RowDisplay::next_station

ID of the station belonging to the entry actually displayed if it's to/from/via.

Definition at line 1271 of file station_gui.cpp.

Referenced by StationViewWindow::HandleCargoWaitingClick().


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