[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Animation Palettes
- To: info-mcl@cambridge.apple.com
- Subject: Animation Palettes
- From: Terrance Paul McCartney <tm2e+@andrew.cmu.edu>
- Date: Tue, 6 Aug 91 18:18:36 -0400 (EDT)
- Cc:
I'm trying to write a graphics routine in MCL 1.3.2 that instantly
changes the colors of SEVERAL animation colors in a window at the same
time. The "AnimatePalette" trap seems appropriate. My problem is that
the record defined in "records.lisp" does not match what is in Inside
Mac:
(defrecord (ColorTable :handle)
(ctSeed :longint)
(transIndex :integer)
(ctSize :integer)
(ctTable :colorSpec)) ; --> (ctTable :cSpecArray) in Inside Mac.
This specification only allows one value to be in the color table,
unless I am missing the point...
Any pointers on how to use "AnimatePalette" with multiple color entries
would be greatly appreciated.
----------------
Paul McCartney, tm2e@andrew.cmu.edu
Contrast Project, Carnegie Mellon University