logo       

Re: Morphic - How to animate without defining #step ?: msg#00085

lang.smalltalk.squeak.beginners

Subject: Re: Morphic - How to animate without defining #step ?


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:herbertkoenig@xxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise