diff options
author | rubidium <rubidium@openttd.org> | 2009-11-24 18:05:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-24 18:05:55 +0000 |
commit | 14300d309c01591b9dd2b4c8fb0180fec69bddb0 (patch) | |
tree | 27fa96cc5e58d694c671eeb6c5c23cce8a93bcf5 /src/engine_gui.cpp | |
parent | 91865c33da8df050165d8e692e22dde9048572ed (diff) | |
download | openttd-14300d309c01591b9dd2b4c8fb0180fec69bddb0.tar.xz |
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index c7ffc530c..f144a3f61 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -44,8 +44,6 @@ StringID GetEngineCategoryName(EngineID engine) /** Widgets used for the engine preview window */ enum EnginePreviewWidgets { - EPW_CLOSE, ///< Close button - EPW_CAPTION, ///< Title bar/caption EPW_BACKGROUND, ///< Background EPW_QUESTION, ///< The container for the question EPW_NO, ///< No button @@ -54,8 +52,8 @@ enum EnginePreviewWidgets { static const NWidgetPart _nested_engine_preview_widgets[] = { NWidget(NWID_HORIZONTAL), - NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE, EPW_CLOSE), - NWidget(WWT_CAPTION, COLOUR_LIGHT_BLUE, EPW_CAPTION), SetDataTip(STR_ENGINE_PREVIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), + 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_EMPTY, INVALID_COLOUR, EPW_QUESTION), SetMinimalSize(300, 0), SetPadding(8, 8, 8, 8), SetFill(1, 0), |