pixmap-ports and animations
Hi, I am trying to figure out a platform-independent way to draw animations with pixmap-ports. I am using a timer to draw periodically to a pixmap-port and then copy the port by copy-pixels to a window. It seems I need to use a different technique on Mac and Windows (I do not know about other platforms). On Mac, copy-pixels seems to work only inside a display-callback. So, I call invalidate (inside an apply-in-pane-process call) in the timer function and perform the drawing in the callback. This does not work in Windows as the window seems to erase itself before the drawing starts, which causes blinking. In Windows I draw directly to the window in the timer function (again, using the pane process). Is this a correct way how to do it or am I missing something? It is a little bit inconvenient. I use LW 6.1 Personal and Professional. Thanks, Michal _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html