(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.

This commit is contained in:
frosch
2011-05-04 17:45:16 +00:00
parent bfb419f9d8
commit 22286bd7b6
19 changed files with 47 additions and 40 deletions

View File

@@ -209,7 +209,7 @@ static void DrawYearColumn(const Rect &r, int year, const Money (*tbl)[EXPENSES_
if (et == INVALID_EXPENSES) {
Money cost = subtotal;
subtotal = 0;
GfxFillRect(r.left, y, r.right, y, 215);
GfxFillRect(r.left, y, r.right, y, GREY_SCALE(1));
y += EXP_LINESPACE;
DrawPrice(cost, r.left, r.right, y);
y += FONT_HEIGHT_NORMAL + EXP_BLOCKSPACE;
@@ -222,7 +222,7 @@ static void DrawYearColumn(const Rect &r, int year, const Money (*tbl)[EXPENSES_
}
}
GfxFillRect(r.left, y, r.right, y, 215);
GfxFillRect(r.left, y, r.right, y, GREY_SCALE(1));
y += EXP_LINESPACE;
DrawPrice(sum, r.left, r.right, y);
}
@@ -385,7 +385,7 @@ struct CompanyFinancesWindow : Window {
}
case CFW_LOAN_LINE:
GfxFillRect(r.left, r.top, r.right, r.top, 215);
GfxFillRect(r.left, r.top, r.right, r.top, GREY_SCALE(1));
break;
}
}