Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!mikey From: mikey@sgi.com (Mike Yang) Newsgroups: comp.windows.x Subject: Re: HELP with DECstation 5000/200 24bit color & XAllocColorCells Message-ID: <1991Apr10.160743.124@dragon.wpd.sgi.com> Date: 10 Apr 91 16:07:43 GMT References: <9104100234.AA16796@zia.aoc.nrao.edu> Sender: news@dragon.wpd.sgi.com (CNews Account) Organization: Silicon Graphics, Inc. Lines: 14 In article <9104100234.AA16796@zia.aoc.nrao.edu> cflatter@zia.aoc.nrao.EDU (Chris Flatters) writes: >XAllocColorCells will only try the colormap you specify as its second >argument. If you want to use a non-default visual you must create a >private colormap using XCreateColormap with a pointer to the visual >you want to use. For an example of this, get cpicker.tar.Z from export.lcs.mit.edu:~ftp/contrib. This is my colormap manipulation program, and it searches for a suitable PseduoColor visual to work with. ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786