summaryrefslogtreecommitdiff
path: root/src/engine_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
commit8d6e323ef80fcb49c4fc8417564d1e2ef7797a73 (patch)
treefdd555748c6ddc5afd2181becd1006e6c8375ced /src/engine_gui.cpp
parent3f0e1c9091bc13f82bcab6874f35d62f46987de5 (diff)
downloadopenttd-8d6e323ef80fcb49c4fc8417564d1e2ef7797a73.tar.xz
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r--src/engine_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp
index f144a3f61..2104cb277 100644
--- a/src/engine_gui.cpp
+++ b/src/engine_gui.cpp
@@ -44,7 +44,6 @@ StringID GetEngineCategoryName(EngineID engine)
/** Widgets used for the engine preview window */
enum EnginePreviewWidgets {
- EPW_BACKGROUND, ///< Background
EPW_QUESTION, ///< The container for the question
EPW_NO, ///< No button
EPW_YES, ///< Yes button
@@ -55,7 +54,7 @@ static const NWidgetPart _nested_engine_preview_widgets[] = {
NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE),
NWidget(WWT_CAPTION, COLOUR_LIGHT_BLUE), SetDataTip(STR_ENGINE_PREVIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
EndContainer(),
- NWidget(WWT_PANEL, COLOUR_LIGHT_BLUE, EPW_BACKGROUND),
+ NWidget(WWT_PANEL, COLOUR_LIGHT_BLUE),
NWidget(WWT_EMPTY, INVALID_COLOUR, EPW_QUESTION), SetMinimalSize(300, 0), SetPadding(8, 8, 8, 8), SetFill(1, 0),
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), SetPIP(85, 10, 85),
NWidget(WWT_PUSHTXTBTN, COLOUR_LIGHT_BLUE, EPW_NO), SetDataTip(STR_QUIT_NO, STR_NULL), SetFill(1, 0),