home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!sdd.hp.com!think.com!ames!purdue!yuma!lamar!cantrell
- From: cantrell@lamar.ColoState.EDU (Carol Cantrell)
- Subject: Color animation in After Dark...HELP!
- Sender: news@yuma.ACNS.ColoState.EDU (News Account)
- Message-ID: <Jan21.055623.50848@yuma.ACNS.ColoState.EDU>
- Date: Thu, 21 Jan 1993 05:56:23 GMT
- Nntp-Posting-Host: lamar.colostate.edu
- Organization: Colorado State University, Fort Collins, CO 80523
- Lines: 11
-
- I'm writing an After Dark module that uses color table animation. It copies
- repeatedly some object from offscreen graphics worlds, some of which contain
- colors to be animated, and some of which don't. I want to copy the GWorlds to
- the screen color index for color index--that is, color #1 in the GWorld is color
- on the screen, etc. The obvious way to do this is to OR the ctFlags field
- with $4000; however, this copies index numbers from the GWorld to index numbers
- in the current PALETTE. After Dark doesn't draw into a WINDOW, and therefore
- DOESN'T HAVE A PALETTE!!! Is there any way to do this? Help!
-
- Paul Cantrell
- Cantrell@Lamar.ColoState.EDU
-