[comp.windows.x] Named Colors

etaylor@krebs.bcm.tmc.edu (Eric Taylor) (03/20/90)

I have a progam that needs to use and write all 256 colors of an eight bit
colormap.  This neccessitates that all of these cells be allocated writeable.
(I must be able to say what color a pixel is to avoid overhead of substituing
 pixel values in an image).

My problem is that I want to use XStoreNamedColor to provide values for
Black and White so that The PixelConverter in Xt won't barf.  However
XALlocNamedColor seems to work only with ReadOnly cells.

This seems very unreasonable and provide an insoluble problem.

					Eric Taylor
					Baylor College of Medicine
					etaylor@wilkins.bmc.tmc.edu
					(713) 798-3776