(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 fd559171b4
commit 2aa774e831
111 changed files with 3165 additions and 1624 deletions

View File

@@ -22,6 +22,8 @@
#include "rail.h"
#include "settings_type.h"
#include "widgets/engine_widget.h"
#include "table/strings.h"
/**
@@ -42,13 +44,6 @@ StringID GetEngineCategoryName(EngineID engine)
}
}
/** Widgets used for the engine preview window */
enum EnginePreviewWidgets {
EPW_QUESTION, ///< The container for the question
EPW_NO, ///< No button
EPW_YES, ///< Yes button
};
static const NWidgetPart _nested_engine_preview_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE),