On 10 Feb 2003 22:55:01 -0500
Owen Taylor <[EMAIL PROTECTED]> wrote:

> Actually, try 
> 
>  color.red >> 8 
> 
> instead. Basically you want to convert a color in the range of 
> 0-65535 to 0-255, and dividing by 256 is the correct way to do
> this.
> 
> Regards,
>                                      Owen

Thanks Owen.

Jim Drabb
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to