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/>.
10 /** @file timetable_widget.h Types related to the timetable widgets. */
12 #ifndef WIDGETS_TIMETABLE_WIDGET_H
13 #define WIDGETS_TIMETABLE_WIDGET_H
15 /** Widgets of the #TimetableWindow class. */
16 enum VehicleTimetableWidgets
{
17 WID_VT_CAPTION
, ///< Caption of the window.
18 WID_VT_ORDER_VIEW
, ///< Order view.
19 WID_VT_TIMETABLE_PANEL
, ///< Timetable panel.
20 WID_VT_ARRIVAL_DEPARTURE_PANEL
, ///< Panel with the expected/scheduled arrivals.
21 WID_VT_SCROLLBAR
, ///< Scrollbar for the panel.
22 WID_VT_SUMMARY_PANEL
, ///< Summary panel.
23 WID_VT_START_DATE
, ///< Start date button.
24 WID_VT_CONFIRM_ALL
, ///< Confirm all button.
25 WID_VT_CHANGE_TIME
, ///< Change time button.
26 WID_VT_CLEAR_TIME
, ///< Clear time button.
27 WID_VT_RESET_LATENESS
, ///< Reset lateness button.
28 WID_VT_AUTOFILL
, ///< Autofill button.
29 WID_VT_AUTOMATE
, ///< Automate button.
30 WID_VT_EXPECTED
, ///< Toggle between expected and scheduled arrivals.
31 WID_VT_SHARED_ORDER_LIST
, ///< Show the shared order list.
32 WID_VT_ARRIVAL_DEPARTURE_SELECTION
, ///< Disable/hide the arrival departure panel.
33 WID_VT_EXPECTED_SELECTION
, ///< Disable/hide the expected selection button.
34 WID_VT_CHANGE_SPEED
, ///< Change speed limit button.
35 WID_VT_CLEAR_SPEED
, ///< Clear speed limit button.
36 WID_VT_TTSEP_MODE_DROPDOWN
, ///< Select separation mode dropdown
37 WID_VT_TTSEP_SET_PARAMETER
, ///< Set the separation parameter (time / number)
38 WID_VT_TTSEP_PANEL_TEXT
///< Panel area for separation info text
41 #endif /* WIDGETS_TIMETABLE_WIDGET_H */