I'm trying to animate an image, so I'm drawing it every nilEvent with a different position. What I get though, is a very annoying flickering regardless the timeout of the EvtGetEvent (tried with short time).
Mukesh mentioned locking the window, here's another way: Create an offscreen window, draw everything onto that window, then copy over the entire image to the screen when you are done. This will eliminate your flickering entirely.

well, the flickering is almost entirely gone. But I wouldn't say entirely, but probably behaves like the screen of normal PC, so I reckon it is definitely acceptable.

Thanks a lot then, now I've just to find out how to draw using alpha in the offset window.


Best, chr
--
___________________________________________________________________
{ Christian Giordano's site and blog @ http://nuthinking.com }

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

Reply via email to