summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 9017c2a43..a3b53fff3 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -25,27 +25,11 @@
#include "vehicle_gui.h"
#include "settings_type.h"
+#include "widgets/timetable_widget.h"
+
#include "table/sprites.h"
#include "table/strings.h"
-enum TimetableViewWindowWidgets {
- TTV_CAPTION,
- TTV_ORDER_VIEW,
- TTV_TIMETABLE_PANEL,
- TTV_ARRIVAL_DEPARTURE_PANEL, ///< Panel with the expected/scheduled arrivals
- TTV_SCROLLBAR,
- TTV_SUMMARY_PANEL,
- TTV_START_DATE,
- TTV_CHANGE_TIME,
- TTV_CLEAR_TIME,
- TTV_RESET_LATENESS,
- TTV_AUTOFILL,
- TTV_EXPECTED, ///< Toggle between expected and scheduled arrivals
- TTV_SHARED_ORDER_LIST, ///< Show the shared order list
- TTV_ARRIVAL_DEPARTURE_SELECTION, ///< Disable/hide the arrival departure panel
- TTV_EXPECTED_SELECTION, ///< Disable/hide the expected selection button
-};
-
/** Container for the arrival/departure dates of a vehicle */
struct TimetableArrivalDeparture {
Ticks arrival; ///< The arrival time