Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!mit-eddie!uw-beaver!uw-entropy!dataio!pilchuck!seahcx!phred!jimo From: jimo@phred.UUCP (Jim Osborn) Newsgroups: comp.sys.mac.programmer Subject: Re: PaletteManager vs. CopyBits (long; gurus only) Summary: Set bit 14 in the offscreen PixMap ctFlags Message-ID: <2997@phred.UUCP> Date: 28 Feb 90 18:57:21 GMT References: <10713@zodiac.ADS.COM> <1919@wrgate.WR.TEK.COM> <47531@improper.coherent.com> Reply-To: jimo@phred.UUCP (Jim Osborn) Distribution: na Organization: <47531@improper.coherent.com>o Lines: 25 In article <47531@improper.coherent.com> dplatt@coherent.com (Dave Platt) writes: >>... >> > 3) How do you use CopyBits with an animated palette? >There's a much better way to do this if you have 32-bit Color QuickDraw >installed. You can tag your off-screen PixMap so that [a] it uses the >same palette as the window, and [b] the values in the PixMap represent >palette indices, NOT colortable indices. >> Refer to Inside Mac Volume V for more info on all this. >Also the 32-bit Color QuickDraw documentation, available from APDA or on >Phil&Dave's Excellent but Generally Unavailable CD-ROM. I couldn't find any reference to this in any of the info on the 32-bit Color QuickDraw discs or on the CD-ROM, but it is mentioned in the "All about the palette manager" article in Develop #1. As the summary says: CTabHandle myCT; ... (*myCT)->ctFlags |= 0x4000; Now if only 32-bit QuickDraw weren't so slooooow. 8-( -- pilchuck!jimo@phred Jim Osborn, Physio Control Corp 11811 Willows Rd, Redmond, WA, 98073 206-867-4704 direct to my desk