ClockMorph?
Lic. Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Tue Jun 6 09:28:58 UTC 2006
radouane el marjani puso en su mail :
> Hi,
> Thanks for your answer, I have thinking the same. I will try another
> way, I think.
>
> Radouane
I see someone on list suggest you do a subclass of StringMorph for doing
what you wish.
You could add in class side
authoringPrototype: aString
^ super authoringPrototype contents: (Time fromString: aString)
printString
And in step you could explore Stopwatch class for see if you could combine
and have some
StringMorph subclass: #DiferentClockMorph
instanceVariableNames: 'showSeconds show24hr'
classVariableNames: ''
poolDictionaries: ''
category: 'MorphicExtras-Demo'
What you copy from ClockMorph and could suit your taste.
Could explain some more what you wish do ?
Edgar
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
More information about the Squeak-dev
mailing list
|