RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (04/06/88)
please respond if you have any information regarding installing colormaps with the X11 Window system on a Digital VR290DA. we do not have information regarding what colormaps are available on this piece of hardware. (VR290 is a monitor designation, not a display hardware designation; colormaps go with display hardware. Sorry, I couldn't resist.) XInstallColormap requires a colormap ID which we do not have. I know it's a lot to wade through, but try (re)reading the sections in the Xlib, Protocol, and Conventions documents dealing with colormaps. You can use XCreateColormap to create a colormap object; the routine returns the colormap ID which you can then pass to XInstallColormap if you like. You can create as many colormaps as you like; the server simply limits what "kinds" of colormaps you can create, not how many. Colormap objects in X are *logical* colormaps; (Un)installColormap controls logical to physical mapping, by causing logical map contents to be stored in physical maps. On a color VS2xxx or VS3xxx you only have one hardware colormap. using the default colormap does not allow us to access any additional colors. Actually, it does, you just need to allocate them, using XAllocColor or XAllocColorCells or ... At some point you will run out of room in the default colormap, and that's when you might prefer to create your own.