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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to