summaryrefslogtreecommitdiff
path: root/src/waypoint_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/waypoint_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 673ddfd3b..e9e9b6436 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -23,16 +23,9 @@
#include "window_func.h"
#include "waypoint_base.h"
-#include "table/strings.h"
+#include "widgets/waypoint_widget.h"
-/** Widget definitions for the waypoint window. */
-enum WaypointWindowWidgets {
- WAYPVW_CAPTION,
- WAYPVW_VIEWPORT,
- WAYPVW_CENTERVIEW,
- WAYPVW_RENAME,
- WAYPVW_SHOW_VEHICLES,
-};
+#include "table/strings.h"
/** GUI for accessing waypoints and buoys. */
struct WaypointWindow : Window {