# To subscribers of the xforms list from Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> :
>>>>> "spl" == spl <spl@ncmir.ucsd.edu> writes:
spl> # To subscribers of the xforms list from spl@ncmir.ucsd.edu :
>> The approach seems needlessly fragile. Is there no way to
>> interrogate X11 for the location of the rgb.txt file?
spl> `rgb_db.c' is used by `image_xpm.c' and actually belongs in the
spl> image handling stuff (and will be moved, accordingly).
spl> My guess is that the somewhat klugey approach was taken because
spl> the image library is supposed to be able to function without an X
spl> connection and XLookupColor() and its ilk require a Colormap and
spl> a Display, which may not exist. Hence the necessity to
spl> interrogate `rgb.txt' directly.
So all this stuff should be completely bypassed when there is a
display available, right?
JMarc
_________________________________________________
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://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Jul 19 2002 - 11:13:18 EDT