diff options
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index 7fd02b5ab..eb8b6a296 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -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), |