Path: utzoo!attcan!utgpu!watmath!att!dptg!rutgers!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: Colormaps (was ...and Visuals) Message-ID: <8909212325.AA08890@Larry.McRCIM.McGill.EDU> Date: 21 Sep 89 23:25:40 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 15 >>> I had an application once where I wanted [...] a *contiguous* set >>> of cells in a colormap. Is there any way to do this? >> Nope. > XAllocColorPlanes will allocate a *contiguous* set of cells in a > colormap. To allocate read/write color resources for a DirectColor model, use XAllocColorPlanes. Unfortunately I wanted this for a PseudoColor visual. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu