summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
committertruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
commit2aa774e831ad1cb7849c998759449ef777c5c664 (patch)
tree37293298be999cb3446fe4af7f11e107bfa17c3d /src/timetable_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
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