[Newbies] Morphic - How to animate without defining #step ?

Oscar Nierstrasz oscar.nierstrasz at gmail.com
Sun Jan 20 14:23:21 UTC 2008


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 at gmx.net
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners



More information about the Beginners mailing list