home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21864 next >
Encoding:
Text File  |  1993-01-21  |  1.1 KB  |  23 lines

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