Mariano Alvarez Fernandez wrote:
Frank Heckenbach escribió:
Anyway, it seems inconsistent to me that White is a function which returns the correct value and the other colors are constants which contain (in general) wrong values. So, what is more important -- that the colors behave as their name says, or that they are constants (and can be used in initializers) with values compatible to BP and to other units (like CRT)? I think the former, so I'm adding the functions (but in a separate patch, diff21, in case you disagree; in that case I'd also suggest making White a constant with value 15).
It's ok for me (I don't know Pascal), any comments Maurice?
Very good idea I think. I never used these color names for HiColor/Truecolor beforehand, just for that reason. I checked it worked as expected.
Maurice