All  I know is  that msegraphutils defines the colors in HEX ( $n..n) . I do 
not know why some

third parties define theirs as decimals  in *.ini files?

Med
________________________________
De : Graeme Geldenhuys <[email protected]>
Envoyé : jeudi 29 novembre 2018 10:12
À : [email protected]
Objet : Re: [MSEide-MSEgui-talk] About Color

On 2018-11-23 7:24 a.m., Martin Schreiber wrote:
> Numbers in statfiles are decimal. Numbers in MSEgui tcoloredit are hexadecimal
> by default. Please enter "+16119551" -> the color is is RGB $F5F6FF.

fpGUI does similar, and so does Lazarus LCL and FPC's graphics support.
I must admit, I find it a bit annoying why Pascal-based frameworks
choose to save color as decimal values (to disk), when most other
languages prefer to use the more well known hexadecimal format in their
"save to file" routines.

ps:
 Yes I obviously know they mean the same thing, must when anybody works
 with color values they most likely reference them via RGB (hexadecimal)
 notation.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to