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/engine_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/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), |