XForms: color allocation

Jeff Pierce (piercej@preferred.com)
Tue, 23 Sep 1997 08:47:09 -0500

To subscribers of the xforms list from Jeff Pierce <piercej@preferred.com> :

Can somebody please explain to me how to get the colors when using xform
constants, FL_BLACK, FL_RED, etc) to match up with colors when using
xlib primitives(XSetForeground, XSetBackgroud, etc)? I use fl_getclass
and use it's return to index into fl_state[].gc[0] to ge the gc.
However, the colors definatly don't match up and I get totally confused
by the X documentation.

So, how do I get the color indexes between the FL_<color> and the Xlib
primitive calls?

Jeff Pierce
piercej@preferred.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/