4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
10 /** @file airport_widget.h Types related to the airport widgets. */
12 #ifndef WIDGETS_AIRPORT_WIDGET_H
13 #define WIDGETS_AIRPORT_WIDGET_H
15 /** Widgets of the #BuildAirToolbarWindow class. */
16 enum AirportToolbarWidgets
{
17 WID_AT_AIRPORT
, ///< Build airport button.
18 WID_AT_DEMOLISH
, ///< Demolish button.
21 /** Widgets of the #BuildAirportWindow class. */
22 enum AirportPickerWidgets
{
23 WID_AP_CLASS_DROPDOWN
, ///< Dropdown of airport classes.
24 WID_AP_AIRPORT_LIST
, ///< List of airports.
25 WID_AP_SCROLLBAR
, ///< Scrollbar of the list.
26 WID_AP_LAYOUT_NUM
, ///< Current number of the layout.
27 WID_AP_LAYOUT_DECREASE
, ///< Decrease the layout number.
28 WID_AP_LAYOUT_INCREASE
, ///< Increase the layout number.
29 WID_AP_AIRPORT_SPRITE
, ///< A visual display of the airport currently selected.
30 WID_AP_EXTRA_TEXT
, ///< Additional text about the airport.
31 WID_AP_BOTTOMPANEL
, ///< Panel at the bottom.
32 WID_AP_COVERAGE_LABEL
, ///< Label if you want to see the coverage.
33 WID_AP_BTN_DONTHILIGHT
, ///< Don't show the coverage button.
34 WID_AP_BTN_DOHILIGHT
, ///< Show the coverage button.
37 #endif /* WIDGETS_AIRPORT_WIDGET_H */