summaryrefslogtreecommitdiff
path: root/src/tree_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/tree_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/tree_gui.cpp')
-rw-r--r--src/tree_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index 213532c94..02d07b337 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -27,7 +27,6 @@ void PlaceTreesRandomly();
/** Widget definitions for the build trees window. */
enum BuildTreesWidgets {
- BTW_BACKGROUND,
BTW_TYPE_11,
BTW_TYPE_12,
BTW_TYPE_13,
@@ -168,7 +167,7 @@ static const NWidgetPart _nested_build_trees_widgets[] = {
NWidget(WWT_CLOSEBOX, COLOUR_DARK_GREEN),
NWidget(WWT_CAPTION, COLOUR_DARK_GREEN), SetDataTip(STR_PLANT_TREE_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
EndContainer(),
- NWidget(WWT_PANEL, COLOUR_DARK_GREEN, BTW_BACKGROUND),
+ NWidget(WWT_PANEL, COLOUR_DARK_GREEN),
NWidget(NWID_SPACER), SetMinimalSize(0, 2),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetMinimalSize(2, 0),