"Steve Mann" <[EMAIL PROTECTED]> wrote in message
news:38871@palm-dev-forum...
>
> >I would like to do a cyclical animation on the Palm screen.  To do that,
I
> >was thinking on loading the different bitmaps that make up the cycle and
> >store their MemHandles in a structure array (I also want to record their
> >insertion point).
>
> That should work fine. Depending on the # of changes per second and
> the size of the bitmaps, you might even be able to fetch them
> individually, each time you want to draw them, from a bitmap resource
> and not even keep anything around. That certainly works for things
> like animated icons (four 25 x 25 pixel bitmap fetches and displays
> per second).

I do something similar for an animated throbber in my VChat program, but I
actually put all the animations into one bitmap which I cache in an
offscreen window.  Then, changing the animation frame just involves using a
different y offset in my WinCopyRectangle call.  Instead of a 10x10 bitmap,
I have a 10x50 bitmap with five frames.

--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to