Color format within PB-functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Color format within PB-functions

Post by Michael Vogel »

Hi, I'm not sure if I'm right, but I think, commands handling with colors had three different parameters for red, green and blue in earlier Purebasic versions.

Now, there's only one, but this has the $BBGGRR format - isn't usually the $RRGGBB format used (e.g. the API functions RGB, PALETTERGB,...)?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

ah yes, i noticed this to, i was expecting rgb, this is windows, i guess?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

BGR is standard in Windows GDI I think.
Post Reply