The r,g,b component is originally  8 bits(guint8),but the parameters of 
Gdk::Color.set_rgb(gushort r,gushor g,gushort b)  is
16 bits(gushort),ranged from 0x0000 to 0xFFFF. so I transform it to 16 bits.


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to