(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
This commit is contained in:
@@ -396,7 +396,7 @@ public:
|
||||
|
||||
/* Draw the name of the industry in white is selected, otherwise, in orange */
|
||||
DrawString(x + MATRIX_TEXT_OFFSET, r.right - WD_MATRIX_RIGHT, y, indsp->name, selected ? TC_WHITE : TC_ORANGE);
|
||||
GfxFillRect(x, y + 1, x + 10, y + 7, selected ? 15 : 0);
|
||||
GfxFillRect(x, y + 1, x + 10, y + 7, selected ? GREY_SCALE(15) : GREY_SCALE(0));
|
||||
GfxFillRect(x + 1, y + 2, x + 9, y + 6, indsp->map_colour);
|
||||
}
|
||||
break;
|
||||
@@ -1677,7 +1677,7 @@ struct CargoesField {
|
||||
blob_left = xpos + BLOB_DISTANCE;
|
||||
blob_right = blob_left + BLOB_WIDTH;
|
||||
}
|
||||
GfxFillRect(blob_left, ypos2 - BLOB_DISTANCE - BLOB_HEIGHT, blob_right, ypos2 - BLOB_DISTANCE, 0); // Border
|
||||
GfxFillRect(blob_left, ypos2 - BLOB_DISTANCE - BLOB_HEIGHT, blob_right, ypos2 - BLOB_DISTANCE, GREY_SCALE(0)); // Border
|
||||
GfxFillRect(blob_left + 1, ypos2 - BLOB_DISTANCE - BLOB_HEIGHT + 1, blob_right - 1, ypos2 - BLOB_DISTANCE - 1, indsp->map_colour);
|
||||
} else {
|
||||
DrawString(xpos, xpos2, ypos, STR_INDUSTRY_CARGOES_HOUSES, TC_FROMSTRING, SA_HOR_CENTER);
|
||||
|
Reference in New Issue
Block a user