This is about a subject I have been putting off for a while,
because I had trouble with it. I still am having trouble with it --
colormaps. I want to use a few colors other than the ones that
are included in the XForms internal colormap. I would especially
like to use some pale colors, not necessarily pastels, but tans
and other neutral colors that are lighter. I am familiar with the
rgb.txt list of colors and have used them in other XWindows-based
widget libraries (i.e. Motif). I have 2 basic problems:
1) I cannot seem to get fl_mapcolorname() to work, it crashes
when I call it. Yes, I call it before fl_initialize, and I have
double-checked
the arguments for type or other problems. For one thing, the documentation
does not adequately describe the arguments for the call, so I am not sure
what I get out of it, but so far it doesn't matter because it crashes in
that
call. I have tried it on both a Sun Ultra running Solaris 2.5.1 and
an SGI Indigo2 running IRIX 5.3. I have not tried using fl_mapcolor()
using the rgb colors for the color I am using, I would rather use the
name at this time.
2) The other problem will come about when I get 1) figured out: What
about
widget shadowing? If I make the foreground color tan, what will happen to
the shadows for the buttons? Do they remain gray? Can I do anything to
make them be darker and lighter shades of the foreground color?
Thanks!
Veronica Sexton
Depth & Simultaneous Attack Battle Lab
Contractor for Cameron University
Fort Sill, Oklahoma
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/