(svn r22429) -Add: some constants for specific palette colours used in the GUI.

This commit is contained in:
frosch
2011-05-06 21:13:29 +00:00
parent 4b0a2fbe29
commit 5e449b8fae
21 changed files with 79 additions and 63 deletions

View File

@@ -168,9 +168,9 @@ static void StationsWndShowStationRating(int left, int right, int y, CargoID typ
/* Draw green/red ratings bar (fits into 14 pixels) */
y += height + 2;
GfxFillRect(left + 1, y, left + 14, y, 0xB8);
GfxFillRect(left + 1, y, left + 14, y, PC_RED);
rating = minu(rating, rating_full) / 16;
if (rating != 0) GfxFillRect(left + 1, y, left + rating, y, 0xD0);
if (rating != 0) GfxFillRect(left + 1, y, left + rating, y, PC_GREEN);
}
typedef GUIList<const Station*> GUIStationList;