Fix: CmdSetAutoReplace didn't validate group type and engine type match (#9950)
[openttd-github.git] / src / widgets / airport_widget.h
blobda0770bcb9c756d12db9c8d09b13ddfdee2028a3
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 */
8 /** @file airport_widget.h Types related to the airport widgets. */
10 #ifndef WIDGETS_AIRPORT_WIDGET_H
11 #define WIDGETS_AIRPORT_WIDGET_H
13 /** Widgets of the #BuildAirToolbarWindow class. */
14 enum AirportToolbarWidgets {
15 WID_AT_AIRPORT, ///< Build airport button.
16 WID_AT_DEMOLISH, ///< Demolish button.
19 /** Widgets of the #BuildAirportWindow class. */
20 enum AirportPickerWidgets {
21 WID_AP_CLASS_DROPDOWN, ///< Dropdown of airport classes.
22 WID_AP_AIRPORT_LIST, ///< List of airports.
23 WID_AP_SCROLLBAR, ///< Scrollbar of the list.
24 WID_AP_LAYOUT_NUM, ///< Current number of the layout.
25 WID_AP_LAYOUT_DECREASE, ///< Decrease the layout number.
26 WID_AP_LAYOUT_INCREASE, ///< Increase the layout number.
27 WID_AP_AIRPORT_SPRITE, ///< A visual display of the airport currently selected.
28 WID_AP_EXTRA_TEXT, ///< Additional text about the airport.
29 WID_AP_BOTTOMPANEL, ///< Panel at the bottom.
30 WID_AP_COVERAGE_LABEL, ///< Label if you want to see the coverage.
31 WID_AP_BTN_DONTHILIGHT, ///< Don't show the coverage button.
32 WID_AP_BTN_DOHILIGHT, ///< Show the coverage button.
35 #endif /* WIDGETS_AIRPORT_WIDGET_H */