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 
8 /** @file build_vehicle_widget.h Types related to the build_vehicle widgets. */
9 
10 #ifndef WIDGETS_BUILD_VEHICLE_WIDGET_H
11 #define WIDGETS_BUILD_VEHICLE_WIDGET_H
12 
13 /** Widgets of the #BuildVehicleWindow class. */
14 enum BuildVehicleWidgets {
15 	WID_BV_CAPTION,                   ///< Caption of window.
16 	WID_BV_SORT_ASCENDING_DESCENDING, ///< Sort direction.
17 	WID_BV_SORT_DROPDOWN,             ///< Criteria of sorting dropdown.
18 	WID_BV_CARGO_FILTER_DROPDOWN,     ///< Cargo filter dropdown.
19 	WID_BV_SHOW_HIDDEN_ENGINES,       ///< Toggle whether to display the hidden vehicles.
20 	WID_BV_LIST,                      ///< List of vehicles.
21 	WID_BV_SCROLLBAR,                 ///< Scrollbar of list.
22 	WID_BV_PANEL,                     ///< Button panel.
23 	WID_BV_BUILD,                     ///< Build panel.
24 	WID_BV_SHOW_HIDE,                 ///< Button to hide or show the selected engine.
25 	WID_BV_BUILD_SEL,                 ///< Build button.
26 	WID_BV_RENAME,                    ///< Rename button.
27 };
28 
29 #endif /* WIDGETS_BUILD_VEHICLE_WIDGET_H */
30