Xref: utzoo comp.graphics:4558 comp.sources.wanted:6441 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!hubcap!cygnus.eng.clemson.edu!jaysun From: jaysun@cygnus.eng.clemson.edu (Jay) Newsgroups: comp.graphics,comp.sources.wanted Subject: color background for SunView (part II) Message-ID: <4498@hubcap.UUCP> Date: 21 Feb 89 00:42:57 GMT Sender: news@hubcap.UUCP Reply-To: jaysun@cygnus.eng.clemson.edu (Jay) Distribution: usa Organization: Clemson University Engineering Department Lines: 28 I have received about 8 responses so far about wanting color images for a background for SunView. But no one has done it and had it work correctly. The following response was the only one that gave some advice on how to do it. I know someone out there with some spare time on their hands can get this to work right. Maybe someone from SUN will be reading this and will give the people what they want. COLOR..... I am looking at this whenever I get a chance but I do not claim to be the greatest C programmer in the world so if I do get this going myself it will be awhile. > I sort of did it, but gave up. The code is actually pretty simple > (and sun gives it out with every copy of SunOS). All I had to do > was to change the root pixrect to be 8 bits instead of 1 and > tell it not to do a monochromatic multiple rop (it tries to make > multiple copies so that smaller bitmaps/icons get replicated to fill > the screen). I gave up because the images would get their palette > trashed right away. The code to keep track of which window gets > which palette is a bit harder to hack. With only 8 bits of color > My colorized icons, windows, etc (I colorized clock tool for instance) > grab the pallete from the background and make it look funny. > If you get any code that works better, please let me know. Who > knows, maybe I will give it another go if enough people ask you > for it, and no one has yet done it. Lets get it together, Jay Williamson