Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: converse@expo.lcs.mit.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: getting standard colormaps Message-ID: <9105032115.AA15350@excess.lcs.mit.edu> Date: 3 May 91 21:15:55 GMT References: <1991May3.160944.824@husc3.harvard.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 15 > I'm working on an application where it would be very desireable > to use the XA_RGB_BEST_MAP standard colormap. My problem is that > I can't seem to get this Colormap. The standard colormaps are not necessarily existing, and asking for them does not cause them to be created. This is confusing to many people. One way to cause the standard colormaps to be created is to run the client xstdcmap. Another way is to write your own routines to create and define the standard colormap properties. There are interfaces in the R4 Xmu library that you can use, if you don't have the R4 xstdcmap client on your machine. The use of XGetStandardColormap is deprecated in favor of the interface XGetRGBColormaps.