diff options
author | rubidium <rubidium@openttd.org> | 2009-11-24 21:13:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-24 21:13:36 +0000 |
commit | 8d6e323ef80fcb49c4fc8417564d1e2ef7797a73 (patch) | |
tree | fdd555748c6ddc5afd2181becd1006e6c8375ced /src/graph_gui.cpp | |
parent | 3f0e1c9091bc13f82bcab6874f35d62f46987de5 (diff) | |
download | openttd-8d6e323ef80fcb49c4fc8417564d1e2ef7797a73.tar.xz |
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index d8676aa17..584aa6a4b 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -1140,8 +1140,6 @@ void ShowCompanyLeagueTable() /** Widget numbers of the performance rating details window. */ enum PerformanceRatingDetailsWidgets { - PRW_BACKGROUND, - PRW_SCORE_FIRST, PRW_SCORE_LAST = PRW_SCORE_FIRST + (SCORE_END - SCORE_BEGIN) - 1, @@ -1456,7 +1454,7 @@ static const NWidgetPart _nested_performance_rating_detail_widgets[] = { NWidget(WWT_CLOSEBOX, COLOUR_GREY), NWidget(WWT_CAPTION, COLOUR_GREY), SetDataTip(STR_PERFORMANCE_DETAIL, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), EndContainer(), - NWidget(WWT_PANEL, COLOUR_GREY, PRW_BACKGROUND), + NWidget(WWT_PANEL, COLOUR_GREY), NWidgetFunction(MakeCompanyButtonRows), SetPadding(0, 1, 1, 2), EndContainer(), NWidgetFunction(MakePerformanceDetailPanels), |