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

OpenTTD Source 15.3

order_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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
10#ifndef WIDGETS_ORDER_WIDGET_H
11#define WIDGETS_ORDER_WIDGET_H
12
14 enum OrderWidgets : WidgetID {
15 WID_O_CAPTION,
16 WID_O_TIMETABLE_VIEW,
17 WID_O_ORDER_LIST,
18 WID_O_SCROLLBAR,
19 WID_O_SKIP,
20 WID_O_DELETE,
21 WID_O_STOP_SHARING,
22 WID_O_NON_STOP,
23 WID_O_DEPOT_UNBUNCHING,
24 WID_O_GOTO,
25 WID_O_FULL_LOAD,
26 WID_O_UNLOAD,
27 WID_O_REFIT,
28 WID_O_DEPOT_ACTION,
29 WID_O_REFIT_DROPDOWN,
30 WID_O_COND_VARIABLE,
31 WID_O_COND_COMPARATOR,
32 WID_O_COND_VALUE,
33 WID_O_SEL_TOP_LEFT,
34 WID_O_SEL_TOP_MIDDLE,
35 WID_O_SEL_TOP_RIGHT,
36 WID_O_SEL_TOP_ROW_GROUNDVEHICLE,
37 WID_O_SEL_TOP_ROW,
38 WID_O_SEL_BOTTOM_MIDDLE,
39 WID_O_SHARED_ORDER_LIST,
40};
41
42#endif /* WIDGETS_ORDER_WIDGET_H */
OrderWidgets
OrderWidgets
Widgets of the OrdersWindow class.
Definition order_widget.h:14
WID_O_TIMETABLE_VIEW
@ WID_O_TIMETABLE_VIEW
Toggle timetable view.
Definition order_widget.h:16
WID_O_SHARED_ORDER_LIST
@ WID_O_SHARED_ORDER_LIST
Open list of shared vehicles.
Definition order_widget.h:39
WID_O_SKIP
@ WID_O_SKIP
Skip current order.
Definition order_widget.h:19
WID_O_SCROLLBAR
@ WID_O_SCROLLBAR
Order list scrollbar.
Definition order_widget.h:18
WID_O_SEL_TOP_MIDDLE
@ WID_O_SEL_TOP_MIDDLE
NWID_SELECTION widget for middle part of the top row of the 'your train' order window.
Definition order_widget.h:34
WID_O_SEL_BOTTOM_MIDDLE
@ WID_O_SEL_BOTTOM_MIDDLE
NWID_SELECTION widget for the middle part of the bottom row of the 'your train' order window.
Definition order_widget.h:38
WID_O_REFIT
@ WID_O_REFIT
Select refit.
Definition order_widget.h:27
WID_O_ORDER_LIST
@ WID_O_ORDER_LIST
Order list panel.
Definition order_widget.h:17
WID_O_COND_VARIABLE
@ WID_O_COND_VARIABLE
Choose condition variable.
Definition order_widget.h:30
WID_O_SEL_TOP_ROW
@ WID_O_SEL_TOP_ROW
NWID_SELECTION widget for the top row of the 'your non-trains' order window.
Definition order_widget.h:37
WID_O_DELETE
@ WID_O_DELETE
Delete selected order.
Definition order_widget.h:20
WID_O_STOP_SHARING
@ WID_O_STOP_SHARING
Stop sharing orders.
Definition order_widget.h:21
WID_O_COND_COMPARATOR
@ WID_O_COND_COMPARATOR
Choose condition type.
Definition order_widget.h:31
WID_O_CAPTION
@ WID_O_CAPTION
Caption of the window.
Definition order_widget.h:15
WID_O_UNLOAD
@ WID_O_UNLOAD
Select unload.
Definition order_widget.h:26
WID_O_SEL_TOP_LEFT
@ WID_O_SEL_TOP_LEFT
NWID_SELECTION widget for left part of the top row of the 'your train' order window.
Definition order_widget.h:33
WID_O_DEPOT_ACTION
@ WID_O_DEPOT_ACTION
Dropdown to select the depot action (stop, service if needed, unbunch).
Definition order_widget.h:28
WID_O_REFIT_DROPDOWN
@ WID_O_REFIT_DROPDOWN
Open refit options.
Definition order_widget.h:29
WID_O_SEL_TOP_RIGHT
@ WID_O_SEL_TOP_RIGHT
NWID_SELECTION widget for right part of the top row of the 'your train' order window.
Definition order_widget.h:35
WID_O_NON_STOP
@ WID_O_NON_STOP
Goto non-stop to destination.
Definition order_widget.h:22
WID_O_COND_VALUE
@ WID_O_COND_VALUE
Choose condition value.
Definition order_widget.h:32
WID_O_FULL_LOAD
@ WID_O_FULL_LOAD
Select full load.
Definition order_widget.h:25
WID_O_SEL_TOP_ROW_GROUNDVEHICLE
@ WID_O_SEL_TOP_ROW_GROUNDVEHICLE
NWID_SELECTION widget for the top row of the 'your train' order window.
Definition order_widget.h:36
WID_O_DEPOT_UNBUNCHING
@ WID_O_DEPOT_UNBUNCHING
Toggle unbunching.
Definition order_widget.h:23
WID_O_GOTO
@ WID_O_GOTO
Goto destination.
Definition order_widget.h:24
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20