<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Look at the methods #wantsSteps.<br>
<br>
Cheers,<br>
Bob<br>
</font><br>
On 2/5/12 7:29 AM, Dave Mason wrote:
<blockquote
cite="mid:850B05A3-7B49-4566-B89A-37EED6B36352@mason-rose.ca"
type="cite">
<pre wrap="">Hi Marcel,
On 2012-Feb-5, at 2:04 , Marcel Taeumel wrote:
</pre>
<blockquote type="cite">
<pre wrap="">You need to call #startStepping if you want #step to get called frequently
according to #stepTime.
</pre>
</blockquote>
<pre wrap="">
Actually you don't with Squeak 4.2 and Pharo 1.3 (don't know about earlier versions), because Morph>>initialize does that. But just for completeness, I did that, and it made no difference. My class is just:
MorphExp>>initialize
        super initialize.
        self startStepping.
        self color: Color red lighter
MorphExp>>step
        self halt
MorphExp>>stepAt: t
        self halt
and it doesn't halt if it is a subclass of SystemWindow, but does if it's any higher up the hierarchy.
</pre>
<blockquote type="cite">
<pre wrap="">Nevertheless, you may want to take a closer look at this project:
<a class="moz-txt-link-freetext" href="https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/animations">https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/animations</a>
</pre>
</blockquote>
<pre wrap="">
Thanks, but I don't want the issue about unloading, and I'm not worried about it being super-smooth animation.
Also thanks for the link, because it looks like interesting things are happening at HPI!
../Dave
</pre>
</blockquote>
</body>
</html>