diff options
author | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
commit | 2aa774e831ad1cb7849c998759449ef777c5c664 (patch) | |
tree | 37293298be999cb3446fe4af7f11e107bfa17c3d /src/viewport_gui.cpp | |
parent | fd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff) | |
download | openttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz |
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/viewport_gui.cpp')
-rw-r--r-- | src/viewport_gui.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/viewport_gui.cpp b/src/viewport_gui.cpp index f9d189cfb..d1c24f66f 100644 --- a/src/viewport_gui.cpp +++ b/src/viewport_gui.cpp @@ -17,19 +17,11 @@ #include "zoom_func.h" #include "window_func.h" +#include "widgets/viewport_widget.h" + #include "table/strings.h" #include "table/sprites.h" -/** Widget numbers of the extra viewport window. */ -enum ExtraViewportWindowWidgets { - EVW_CAPTION, - EVW_VIEWPORT, - EVW_ZOOMIN, - EVW_ZOOMOUT, - EVW_MAIN_TO_VIEW, - EVW_VIEW_TO_MAIN, -}; - /* Extra ViewPort Window Stuff */ static const NWidgetPart _nested_extra_view_port_widgets[] = { NWidget(NWID_HORIZONTAL), |