FIX: Proper fix for the tunnel bug.
[openttd-joker.git] / src / widgets / build_vehicle_widget.h
blob040dc390cea8b2011049ccb469da7449f12594d7
1 /* $Id$ */
3 /*
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/>.
8 */
10 /** @file build_vehicle_widget.h Types related to the build_vehicle widgets. */
12 #ifndef WIDGETS_BUILD_VEHICLE_WIDGET_H
13 #define WIDGETS_BUILD_VEHICLE_WIDGET_H
15 /** Widgets of the #BuildVehicleWindow class. */
16 enum BuildVehicleWidgets {
17 WID_BV_CAPTION, ///< Caption of window.
18 WID_BV_SORT_ASCENDING_DESCENDING, ///< Sort direction.
19 WID_BV_SORT_DROPDOWN, ///< Criteria of sorting dropdown.
20 WID_BV_CARGO_FILTER_DROPDOWN, ///< Cargo filter dropdown.
21 WID_BV_SHOW_HIDDEN_ENGINES, ///< Toggle whether to display the hidden vehicles.
22 WID_BV_LIST, ///< List of vehicles.
23 WID_BV_SCROLLBAR, ///< Scrollbar of list.
24 WID_BV_PANEL, ///< Button panel.
25 WID_BV_BUILD, ///< Build panel.
26 WID_BV_SHOW_HIDE, ///< Button to hide or show the selected engine.
27 WID_BV_BUILD_SEL, ///< Build button.
28 WID_BV_RENAME, ///< Rename button.
29 BUILD_VEHICLE_WIDGET_BUILD,
31 WID_BV_CAPTION_LOCO, ///< Caption of locomotive half of the window.
32 WID_BV_SORT_ASSENDING_DESCENDING_LOCO, ///< Sort direction.
33 WID_BV_SORT_DROPDOWN_LOCO, ///< Criteria of sorting dropdown.
34 WID_BV_CARGO_FILTER_DROPDOWN_LOCO, ///< Cargo filter dropdown.
35 WID_BV_SHOW_HIDDEN_LOCOS, ///< Toggle whether to display the hidden locomotives.
36 WID_BV_LIST_LOCO, ///< List of vehicles.
37 WID_BV_SCROLLBAR_LOCO, ///< Scrollbar of list.
38 WID_BV_PANEL_LOCO, ///< Button panel.
39 WID_BV_SHOW_HIDE_LOCO, ///< Button to hide or show the selected locomotives.
40 WID_BV_BUILD_LOCO, ///< Build panel.
41 WID_BV_BUILD_SEL_LOCO, ///< Build button.
42 WID_BV_RENAME_LOCO, ///< Rename button.
44 WID_BV_CAPTION_WAGON, ///< Caption of wagon half of the window.
45 WID_BV_SORT_ASSENDING_DESCENDING_WAGON, ///< Sort direction.
46 WID_BV_SORT_DROPDOWN_WAGON, ///< Criteria of sorting dropdown.
47 WID_BV_CARGO_FILTER_DROPDOWN_WAGON, ///< Cargo filter dropdown.
48 WID_BV_SHOW_HIDDEN_WAGONS, ///< Toggle whether to display the hidden wagons.
49 WID_BV_LIST_WAGON, ///< List of vehicles.
50 WID_BV_SCROLLBAR_WAGON, ///< Scrollbar of list.
51 WID_BV_PANEL_WAGON, ///< Button panel.
52 WID_BV_SHOW_HIDE_WAGON, ///< Button to hide or show the selected wagons.
53 WID_BV_BUILD_WAGON, ///< Build panel.
54 WID_BV_BUILD_SEL_WAGON, ///< Build button.
55 WID_BV_RENAME_WAGON, ///< Rename button.
58 #endif /* WIDGETS_BUILD_VEHICLE_WIDGET_H */