Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!sun.soe.clarkson.edu!naughton From: naughton@sun.soe.clarkson.edu (Patrick Naughton) Newsgroups: comp.windows.x Subject: Colormaps Message-ID: <713@sun.soe.clarkson.edu> Date: 12 Apr 88 08:34:02 GMT Sender: naughton@sun.soe.clarkson.edu Reply-To: naughton@sun.soe.clarkson.edu (Patrick Naughton) Organization: Clarkson University, Potsdam, NY Lines: 31 Does anyone have an example of an X11 application which creates its own reaad/write colormap and manages enter/leave notification to install/remove said colormap? I have written a program to read/display Sun rasterfiles and Compu$erve GIF files and am using the shared colormap model such that I can only have 256 colors allocated at once. This makes it impossible to display more than one image at once. I agree that the merits of multiple colormaps and causing the rest of the sceen to go "technicolor" when using the installed colormap are dubious, but I'd like to add the functionality none the less. If anyone wants the code for the rasterfile or GIF viewers feel free to send e-mail. I'll make them and some images available via ftp at a later date. ___________________________________________ -Patrick | | | Internet: naughton@sun.soe.clarkson.edu | | BITNET: naughton@CLUTX.BITNET | | uucp: {rpics, gould}!clutx!naughton | |___________________________________________| p.s. Re: xmac posting, I didn't notice `xpert@athena.mit.edu' in the CC: line when I replied to David's message till it was too late. Sorry about that. But since you all read it: Anyone who has Mac images that I didn't distribute (don't have) can ftp to sun.soe.clarkson.edu (128.153.12.3) and put them in ~ftp/submit. Thanks.