# To subscribers of the xforms list from Yann Guichoux <email@example.com> :
does anyone know the way to get an rgb triplet (from the xforms internal
colormap) corresponding to a pixel value (obtained with XGetPixel()) ?
(whatever the visual depth is...(8,16,24,32 bits))
or to know the color indice in the xforms colormap corresponding to this
(there is a fl_get_pixel(FL_COLOR) function...is there a simple way to
make a "fl_get_colorIndice(unsigned long Pixel)" function ???)
thanks for any help.
To unsubscribe, send the message "unsubscribe" to
firstname.lastname@example.org or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Thu Nov 16 2000 - 10:03:02 EST