OpenTTD
station_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_STATION_WIDGET_H
11 #define WIDGETS_STATION_WIDGET_H
12 
32 };
33 
36  /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
40 
41  /* Vehicletypes need to be in order of StationFacility due to bit magic */
48 
51 
54 
56 };
57 
60  WID_JS_CAPTION, // Caption of the window.
61  WID_JS_PANEL, // Main panel.
62  WID_JS_SCROLLBAR, // Scrollbar of the panel.
63 };
64 
65 #endif /* WIDGETS_STATION_WIDGET_H */
&#39;Location&#39; button.
List of scheduled road vehs button.
&#39;TRAIN&#39; button - list only facilities where is a railroad station.
label for "group by"
The main panel, list of stations.
&#39;Group by&#39; button
List of scheduled planes button.
&#39;Sort by&#39; button - reverse sort direction.
List of waiting cargo.
&#39;Sort by&#39; button
Toggle catchment area highlight.
Scrollbar next to the main panel.
List of accepted cargoes / rating of cargoes.
StationViewWidgets
Widgets of the StationViewWindow class.
&#39;Close airport&#39; button.
&#39;AIRPLANE&#39; button - list only facilities where is an airport.
Caption of the window.
&#39;BUS&#39; button - list only facilities where is a bus stop.
&#39;TRUCK&#39; button - list only facilities where is a truck stop.
JoinStationWidgets
Widgets of the SelectStationWindow class.
&#39;SHIP&#39; button - list only facilities where is a dock.
&#39;Rename&#39; button.
List of scheduled ships button.
&#39;ALL&#39; button - list all facilities.
Widget numbers used for list of cargo types (not present in _company_stations_widgets).
List of scheduled trains button.
&#39;NO&#39; button - list stations where no cargo is waiting.
Dropdown button.
Caption of the window.
&#39;Accepts&#39; / &#39;Ratings&#39; button.
&#39;ALL&#39; button - list all stations.
&#39;Sort order&#39; button
StationListWidgets
Widgets of the CompanyStationsWindow class.