summaryrefslogtreecommitdiff
path: root/src/station_gui.h
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/station_gui.h
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/station_gui.h')
-rw-r--r--src/station_gui.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/station_gui.h b/src/station_gui.h
index 32e33d344..b088f559f 100644
--- a/src/station_gui.h
+++ b/src/station_gui.h
@@ -16,22 +16,7 @@
#include "tilearea_type.h"
#include "window_type.h"
-/** Enum for StationView, referring to _station_view_widgets and _station_view_expanded_widgets */
-enum StationViewWidgets {
- SVW_CAPTION = 0, ///< Caption of the window
- SVW_WAITING = 1, ///< List of waiting cargo
- SVW_SCROLLBAR = 2, ///< Scrollbar
- SVW_ACCEPTLIST = 3, ///< List of accepted cargoes
- SVW_RATINGLIST = 3, ///< Ratings of cargoes
- SVW_LOCATION = 4, ///< 'Location' button
- SVW_RATINGS = 5, ///< 'Ratings' button
- SVW_ACCEPTS = 5, ///< 'Accepts' button
- SVW_RENAME = 6, ///< 'Rename' button
- SVW_TRAINS = 7, ///< List of scheduled trains button
- SVW_ROADVEHS, ///< List of scheduled road vehs button
- SVW_SHIPS, ///< List of scheduled ships button
- SVW_PLANES, ///< List of scheduled planes button
-};
+#include "widgets/station_widget.h"
/** Types of cargo to display for station coverage. */
enum StationCoverageType {