Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!think!mintaka!oliveb!stratus!cloud9!viewlog!josh From: josh@viewlog.UUCP (Josh Marantz) Newsgroups: comp.windows.x Subject: PseudoColor visuals and colormaps in OpenWindows Message-ID: <1485@viewlog.UUCP> Date: 2 Jan 90 22:48:51 GMT Organization: Viewlogic Systems Inc., Marlboro, MA Lines: 22 The default visual for OpenWindows on a Sparc/GX is StaticColor, but I'd like to use PseudoColor. So I use XGetVisualInfo to find a PseudoColor visual. What then? Do I have to create a private colormap and then battle with ICCCM and non-ICCCM window managers to get it installed at the appropriate times? I only want 16 colors, so I really shouldn't be going technicolor. Will I? Who controls where in the hardware colormap my private colormap will get installed? Hopefully, it will be in an area that is seldom used by "typical" applications. How can I help make this happen? I was hoping to find a call like XGetVisualColormap (dpy, vis, &map), where if I had a visual, it would give me the corresponding colormap and I could start allocating cells in it. Any ideas? -- Joshua Marantz Viewlogic Systems, Inc. cloud9!viewlog!josh@bu-cs.bu.edu