[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-beginners
Subject:    Re: [Newbies] Morphic - How to animate without defining #step ?
From:       Oscar Nierstrasz <oscar.nierstrasz () gmail ! com>
Date:       2008-01-20 14:23:21
Message-ID: 93268347-B926-4D0D-A4AD-2719FBFED159 () gmail ! com
[Download RAW message or body]


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@gmx.net
>
> _______________________________________________
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic