(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls

This commit is contained in:
belugas
2008-08-06 04:01:07 +00:00
parent 158d4acbba
commit 85c84c9d86
2 changed files with 2 additions and 2 deletions

View File

@@ -536,7 +536,7 @@ public:
DrawStringTruncated(x, y, STR_482B_TRANSPORTED, TC_FROMSTRING, this->widget[IVW_INFO].right - x);
/* Let's put out those buttons.. */
if (IsProductionAlterable(i)) {
DrawArrowButtons(5, y, 3, (this->clicked_line == j + 1) ? this->clicked_button : 0,
DrawArrowButtons(5, y, COLOUR_YELLOW, (this->clicked_line == j + 1) ? this->clicked_button : 0,
!IsProductionMinimum(i, j), !IsProductionMaximum(i, j));
}
y += 10;