Page 1 of 1

Color format within PB-functions

Posted: Wed Feb 22, 2006 8:37 pm
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,...)?

Posted: Wed Feb 22, 2006 8:38 pm
by blueznl
ah yes, i noticed this to, i was expecting rgb, this is windows, i guess?

Posted: Wed Feb 22, 2006 8:46 pm
by Trond
BGR is standard in Windows GDI I think.