(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user