On Thu, 21 Dec 2006 11:24:19 +0300
"Alexander S.Kresin" <[EMAIL PROTECTED]> wrote:

> How can I convert them to the 0..255 for to be able to get Windows
> compatible long value by color.red + color.green*255 +
> color.blue*65535 ?

Divide them by 256?

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to