Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!reed!glacier!busker!f20.n226.z1.FIDONET.ORG!Lawrence.DOliveiro From: Lawrence.DOliveiro@f20.n226.z1.FIDONET.ORG (Lawrence DOliveiro) Newsgroups: comp.sys.mac.programmer Subject: Re: Palette Manager Message-ID: <652.2783DF0E@busker.fidonet.org> Date: 28 Dec 90 13:49:17 GMT Sender: ufgate@busker.fidonet.org (newsout1.26) Organization: FidoNet node 1:226/20 - cmhGate UF Gateway, Columbus OH Lines: 28 Reply-To: ldo@waikato.ac.nz The notes I have on 32-bit QuickDraw include one on the enhancements to the Palette Manager. In particular, it is possible to set up the colour table in a source pixmap so that CopyBits will map the source pixels onto animating entries in the palette of the target window. All you have to do is set bit 14 in the ctFlags field, and the value field in each element of the ctTable array becomes a palette index, rather than a device CLUT index. I assume this works in a PICT as well: all you have to do is find and fiddle the appropriate bit, once you've created the PICT. You could use either DeRez/Rez or PICT Detective to make the job a little easier. Disclaimer: I've never tried this. It just *looks* simple... Lawrence D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00 + Organization: University of Waikato, Hamilton, New Zealand -- Lawrence DOliveiro - via FidoNet node 1:105/14 UUCP: ...!{uunet!glacier, ..reed.bitnet}!busker!226!20!Lawrence.DOliveiro INTERNET: Lawrence.DOliveiro@f20.n226.z1.FIDONET.ORG