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/console_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/console_gui.cpp')
-rw-r--r-- | src/console_gui.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index 0840cb9f0..8dd1f7cd6 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -22,6 +22,8 @@ #include "console_func.h" #include "rev.h" +#include "widgets/console_widget.h" + #include "table/strings.h" static const uint ICON_HISTORY_SIZE = 20; @@ -152,11 +154,6 @@ static inline void IConsoleResetHistoryPos() static const char *IConsoleHistoryAdd(const char *cmd); static void IConsoleHistoryNavigate(int direction); -/** Widgets of the console window. */ -enum ConsoleWidgets { - CW_BACKGROUND, ///< Background of the console -}; - static const struct NWidgetPart _nested_console_window_widgets[] = { NWidget(WWT_EMPTY, INVALID_COLOUR, CW_BACKGROUND), SetResize(1, 1), }; |