On 25.03.2011, at 14:31, Ton wrote:
Hi all,
I have several objects moving and they must refresh their position on screen on synchronous mode.
Is there is any way to make something lika a display buffer?
I mean, to perform the positioning of objects without changing what you see on the display, and finally, refresh the display when everything is ready for viewing.
That's how Morphic works in general. You change object's positions in their "step" methods. Only when all step methods were executed, the main loop disables screen updates, redraws the changed objects, then enables screen updates again (see senders of deferUpdates:).
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners