[squeak-dev] Squeak clock face

H. Hirzel hannes.hirzel at gmail.com
Tue Dec 12 20:37:56 UTC 2017


f := Form fromFileNamed: aFileName.
"http://wiki.squeak.org/squeak/697"

f asMorph openInWorld

f asMorph class
             ImageMorph

"http://wiki.squeak.org/squeak/6345"

On 12/12/17, Louis LaBrunda <Lou at keystone-software.com> wrote:
> Hi Tim,
>
>>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
>
> I did some digging and found openInWorld.  I am working on my own
> ClockImageMorph where the
> face and the three hands will be images read from the disk.  Trying to
> figure out how to read
> the images now.  I want the user to be able to install their own images.
> So, I don't want to
> have them imbedded in the Squeak image.  I'm trying to learn how to read the
> graphics into a
> morph now.
>
> Lou
> --
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
>
>
>


More information about the Squeak-dev mailing list