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

OpenTTD Source 15.0-RC2

timetable_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_TIMETABLE_WIDGET_H
11#define WIDGETS_TIMETABLE_WIDGET_H
12
14 enum VehicleTimetableWidgets : WidgetID {
15 WID_VT_CAPTION,
16 WID_VT_ORDER_VIEW,
17 WID_VT_TIMETABLE_PANEL,
18 WID_VT_ARRIVAL_DEPARTURE_PANEL,
19 WID_VT_SCROLLBAR,
20 WID_VT_SUMMARY_PANEL,
21 WID_VT_START_DATE,
22 WID_VT_CHANGE_TIME,
23 WID_VT_CLEAR_TIME,
24 WID_VT_RESET_LATENESS,
25 WID_VT_AUTOFILL,
26 WID_VT_EXPECTED,
27 WID_VT_SHARED_ORDER_LIST,
28 WID_VT_ARRIVAL_DEPARTURE_SELECTION,
29 WID_VT_EXPECTED_SELECTION,
30 WID_VT_CHANGE_SPEED,
31 WID_VT_CLEAR_SPEED,
32};
33
34#endif /* WIDGETS_TIMETABLE_WIDGET_H */
VehicleTimetableWidgets
VehicleTimetableWidgets
Widgets of the TimetableWindow class.
Definition timetable_widget.h:14
WID_VT_CHANGE_TIME
@ WID_VT_CHANGE_TIME
Change time button.
Definition timetable_widget.h:22
WID_VT_ARRIVAL_DEPARTURE_PANEL
@ WID_VT_ARRIVAL_DEPARTURE_PANEL
Panel with the expected/scheduled arrivals.
Definition timetable_widget.h:18
WID_VT_ARRIVAL_DEPARTURE_SELECTION
@ WID_VT_ARRIVAL_DEPARTURE_SELECTION
Disable/hide the arrival departure panel.
Definition timetable_widget.h:28
WID_VT_CLEAR_SPEED
@ WID_VT_CLEAR_SPEED
Clear speed limit button.
Definition timetable_widget.h:31
WID_VT_EXPECTED
@ WID_VT_EXPECTED
Toggle between expected and scheduled arrivals.
Definition timetable_widget.h:26
WID_VT_CHANGE_SPEED
@ WID_VT_CHANGE_SPEED
Change speed limit button.
Definition timetable_widget.h:30
WID_VT_TIMETABLE_PANEL
@ WID_VT_TIMETABLE_PANEL
Timetable panel.
Definition timetable_widget.h:17
WID_VT_AUTOFILL
@ WID_VT_AUTOFILL
Autofill button.
Definition timetable_widget.h:25
WID_VT_SCROLLBAR
@ WID_VT_SCROLLBAR
Scrollbar for the panel.
Definition timetable_widget.h:19
WID_VT_RESET_LATENESS
@ WID_VT_RESET_LATENESS
Reset lateness button.
Definition timetable_widget.h:24
WID_VT_SHARED_ORDER_LIST
@ WID_VT_SHARED_ORDER_LIST
Show the shared order list.
Definition timetable_widget.h:27
WID_VT_SUMMARY_PANEL
@ WID_VT_SUMMARY_PANEL
Summary panel.
Definition timetable_widget.h:20
WID_VT_CAPTION
@ WID_VT_CAPTION
Caption of the window.
Definition timetable_widget.h:15
WID_VT_START_DATE
@ WID_VT_START_DATE
Start date button.
Definition timetable_widget.h:21
WID_VT_EXPECTED_SELECTION
@ WID_VT_EXPECTED_SELECTION
Disable/hide the expected selection button.
Definition timetable_widget.h:29
WID_VT_ORDER_VIEW
@ WID_VT_ORDER_VIEW
Order view.
Definition timetable_widget.h:16
WID_VT_CLEAR_TIME
@ WID_VT_CLEAR_TIME
Clear time button.
Definition timetable_widget.h:23
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20