[ENH]WorldTimeMorph (should now find your time zone!)

John Hinsley jhinsley at telinco.co.uk
Sat Aug 25 15:36:39 UTC 2001


Karl Ramberg wrote:
> 
> John,
> 
> Add this to the class side of WorldTimeMorph, download the image,
> add in the appropriate filepath and time zone :
> 
> initializeLocaly
> "WorldTimeMorph initializeLocaly"
> "Download this jpeg and save it somewhere:
> http://www.3dup.com/textures/images/Solar_System/Earth/earth_map.jpg"
> | morph |
> morph _ self withForm: (Form fromFile: 'path/to/jpeg/goes/here').
> morph _ morph localTimeZone: 12 "gmt is 12".
> morph extent: 500 at 300.
> morph openInWorld.
> 


Thanks Karl!

Cheers

John
-- 
Can't cope anymore? Desperate for help?
Join the 12 step program for those who yearn to give up Microsoft:
http://home.earthlink.net/~penguinrox/index.html




More information about the Squeak-dev mailing list