[fpc-devel] HTML string to TFPColor

Michael Van Canneyt michael at freepascal.org
Sun Jul 23 16:42:31 CEST 2017



On Sun, 23 Jul 2017, Bart wrote:

> On 7/23/17, ListMember <listmember at letterboxes.org> wrote:
>
>> How about this. To me it is more readable.
>>
>> type
>>    THtmlColorName = (
>> *hcnUnknown*, hcnWhite, hcnSilver, hcnGray, hcnBlack,
>
> I dismissed that idea, becuase now you would have to have an entry in
> HtmlColorNameToFPColorMap for hcnUnknown, which makes no sense to me.

Inserted this version, without the hcnUnknown. fpimage unit, rev. 36774.

Many thanks to all !

Michael.



More information about the fpc-devel mailing list