Cool!  That works.  I added

redraw
        doRedraw ifTrue: [self currentWorld doOneCycleNow]

doRedraw
        doRedraw := true.

dontRedraw
        doRedraw := false.

so I can turn redrawing on and off.

- on

On Jan 20, 2008, at 13:07, Herbert König wrote:

Hello Oscar,

not sure if I understand you correctly but if I need something
displayed *now* I either use bitBlt (as long as its only simple
rectangles) or World>>doOneCycleNow.

Reading the comment there it sholdn't be done this way but whenever I
have a busy algorithm and I want the display refreshed it works for
me.


Cheers

Herbert                            mailto:[EMAIL PROTECTED]

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to