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/main_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/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index a7de4069d..65372ba6d 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -34,6 +34,8 @@ #include "saveload/saveload.h" +#include "widgets/main_widget.h" + #include "network/network.h" #include "network/network_func.h" #include "network/network_gui.h" @@ -199,11 +201,6 @@ void ZoomInOrOutToCursorWindow(bool in, Window *w) } } -/** Widgets of the main window. */ -enum MainWindowWidgets { - MW_VIEWPORT, ///< Main window viewport. -}; - static const struct NWidgetPart _nested_main_window_widgets[] = { NWidget(NWID_VIEWPORT, INVALID_COLOUR, MW_VIEWPORT), SetResize(1, 1), }; |