[squeak-dev] Squeak clock face

tim Rowledge tim at rowledge.org
Tue Dec 12 19:33:42 UTC 2017


> 
> The morphs are completely new to me, so is there a simple way I can instantiate a
> ClockDialMorph and test/play with it?

ClockDialMorph new openInWorld

Right now it doesn’t scale with the halo handles; if anyone wants to improve that it would be nice. Adding a second hand shouldn’t present too many problems (basically add an instvar, make it pretty much a copy of what the hourHandMorph is/does but skinnier, add rotating it a bit to the #setTime: method)


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- IQ = dx / (1 + dx), where x = age.




More information about the Squeak-dev mailing list