(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h

This commit is contained in:
truebrain
2011-12-15 22:22:55 +00:00
parent 16ccb8f246
commit 49e88dcbf0
111 changed files with 3165 additions and 1624 deletions

View File

@@ -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),
};