How do I reverse pixels 0 and 1 of read-only default colormap?
Amit Thakur
akt at sasig.saic.com
Thu Oct 4 08:11:03 AEST 1990
I am using Sun's OpenWindows Version 2.0 under SunOS 4.0.3, and need to
reverse the default setting (in the default colormap) of pixel 0 to white
(#ffffff) and pixel 1 to black (#000000).
I have looked through the PostScript code in $OPENWINHOME/etc/NeWS used by
xnews to initialize the default colormap, but am unable to find the place
where this is done.
I tried to write a program to change the default colormap, but the call to
XFreeColors bombs out because the colormap is read-only.
Any help would be appreciated. Please reply to me at akt at sasig.saic.com,
as I am not (yet) on this mailing list.
Thanks in advance,
-- akt at sasig.saic.com
More information about the Comp.sys.sun
mailing list