How to animate scrolling?

Tim Rowledge tim at sumeru.stanford.edu
Thu Jul 19 15:35:44 UTC 2001


"Andreas Raab" <Andreas.Raab at gmx.de> is widely believed to have written:


> step
> 	"Spawn a second (minor) step method"
> 	self startSteppingSelector: #minorStep.
> 	[self isNotFinishedYet] whileTrue:[
> 		self world doOneCycle.
> 	].
> 	self stopSteppingSelector: #minorStep.
Neat. I'll see what I can do with it. I don't suppose there is some sort
of #replaceSteppingSelectorWith: that would sort of delegate the
stepping for a while?
> 
> Ah, yes and:
> > I need to take a morph that is already owned
> > and make it the visual top of the stack in the
> > same owner. What do I do?
> 
> 	aMorph owner addMorphFront: aMorph.
Dang, I looked at all the *front* stuff with MethodFinder and it never
ocurred to me that adding a morph again would do that.

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: MTP: MounT Programmer





More information about the Squeak-dev mailing list