Xref: utzoo comp.windows.x:35889 comp.graphics:17649 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!uakari.primate.wisc.edu!eng.ufl.edu!news From: tsao@helios.tcad.ee.ufl.edu ( Tsao) Newsgroups: comp.windows.x,comp.graphics Subject: problem with standard colormap Message-ID: <1991Apr30.174105.19727@eng.ufl.edu> Date: 30 Apr 91 17:41:05 GMT Sender: news@eng.ufl.edu Organization: VLSI TCAD Group, University of Florida Lines: 22 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