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