Submitted by Anonymous on Mon, 11/05/2001 - 17:41. Developers
Does anyone know of any documentation available showing how to create a virtual colormap for an application? I`m having trouble with an application that is running out of RW colors.
I`ve read the info in XLib Programming chpt 7, but still don`t understand how to create and install colormaps. I`ve created a new colormap with XCreateColormap, with AllocNone specified, but I am only able to allocate 2 colors from it.
Thanks in advance.
I like "Introduction to the X Window System" by Oliver Jones, but it may be hard to find. The book is specific to Xlib and has information on colormap creation. I bet you`d also find some useful information in programs such as "xwud" which are part of the standard distribution.