tsao@helios.tcad.ee.ufl.edu ( Tsao) (05/01/91)
I am trying to get a standard colormap to allocate some colors, but failed to get one, this is what I tried: XGetRGBColormaps(dpy, XDefaultRootWindow(dpy), &std_colormap, &cmap_num, XA_RGB_BEST_MAP); where std_colormap is type XStandardColormap*. I also tried: XGetStandardColormap(...); which has been superseded by XGetRGBColormap in release 4. I am using x11r4 and a SunSparc with a 8 plane color monitor. thanks. -- --- Qing