OpenTTD Source: src/widgets/build_vehicle_widget.h Source File

OpenTTD Source 15.0-beta1

build_vehicle_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_BUILD_VEHICLE_WIDGET_H
11#define WIDGETS_BUILD_VEHICLE_WIDGET_H
12
14 enum BuildVehicleWidgets : WidgetID {
15 WID_BV_CAPTION,
16 WID_BV_SORT_ASCENDING_DESCENDING,
17 WID_BV_SORT_DROPDOWN,
18 WID_BV_CARGO_FILTER_DROPDOWN,
19 WID_BV_FILTER,
20 WID_BV_SHOW_HIDDEN_ENGINES,
21 WID_BV_LIST,
22 WID_BV_SCROLLBAR,
23 WID_BV_PANEL,
24 WID_BV_BUILD,
25 WID_BV_SHOW_HIDE,
26 WID_BV_BUILD_SEL,
27 WID_BV_RENAME,
28};
29
30#endif /* WIDGETS_BUILD_VEHICLE_WIDGET_H */
BuildVehicleWidgets
BuildVehicleWidgets
Widgets of the BuildVehicleWindow class.
Definition build_vehicle_widget.h:14
WID_BV_BUILD
@ WID_BV_BUILD
Build panel.
Definition build_vehicle_widget.h:24
WID_BV_SHOW_HIDE
@ WID_BV_SHOW_HIDE
Button to hide or show the selected engine.
Definition build_vehicle_widget.h:25
WID_BV_SORT_ASCENDING_DESCENDING
@ WID_BV_SORT_ASCENDING_DESCENDING
Sort direction.
Definition build_vehicle_widget.h:16
WID_BV_CAPTION
@ WID_BV_CAPTION
Caption of window.
Definition build_vehicle_widget.h:15
WID_BV_SHOW_HIDDEN_ENGINES
@ WID_BV_SHOW_HIDDEN_ENGINES
Toggle whether to display the hidden vehicles.
Definition build_vehicle_widget.h:20
WID_BV_LIST
@ WID_BV_LIST
List of vehicles.
Definition build_vehicle_widget.h:21
WID_BV_SORT_DROPDOWN
@ WID_BV_SORT_DROPDOWN
Criteria of sorting dropdown.
Definition build_vehicle_widget.h:17
WID_BV_RENAME
@ WID_BV_RENAME
Rename button.
Definition build_vehicle_widget.h:27
WID_BV_SCROLLBAR
@ WID_BV_SCROLLBAR
Scrollbar of list.
Definition build_vehicle_widget.h:22
WID_BV_BUILD_SEL
@ WID_BV_BUILD_SEL
Build button.
Definition build_vehicle_widget.h:26
WID_BV_PANEL
@ WID_BV_PANEL
Button panel.
Definition build_vehicle_widget.h:23
WID_BV_FILTER
@ WID_BV_FILTER
Filter by name.
Definition build_vehicle_widget.h:19
WID_BV_CARGO_FILTER_DROPDOWN
@ WID_BV_CARGO_FILTER_DROPDOWN
Cargo filter dropdown.
Definition build_vehicle_widget.h:18
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:18