Up |
Converts a color in various modes.
fun [I I I tab I] I
Return : I the converted color or nil if error
Convert a BGR 24-bits color in RGB 24-bits color
fun main ()=
_showconsole;
let 0xffaa11 -> colorBGR in
let _color_convert colorBGR COLOR_BGR24 COLOR_RGB24 nil -> colorRGB in
_fooI colorRGB; // 11aaff
0;;