The Trunk: MorphicExtras-ar.84.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: MorphicExtras-ar.84.mcz

commits-2
Andreas Raab uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-ar.84.mcz

==================== Summary ====================

Name: MorphicExtras-ar.84
Author: ar
Time: 28 March 2010, 3:04:38.596 pm
UUID: e21b4f7f-8d67-2541-97c2-49b66e3877fd
Ancestors: MorphicExtras-nice.83, MorphicExtras-klub.83

Merging MorphicExtras-klub.83:

- ClockMorph doesn't render subsecond values anymore

=============== Diff against MorphicExtras-nice.83 ===============

Item was changed:
  ----- Method: ClockMorph>>step (in category 'stepping and presenter') -----
  step
+
  | time |
  super step.
+ time := String streamContents: [ :stream |
+ | t |
+ t := Time now.
+ t seconds: t asSeconds. "ignore nanoSeconds"
+ t
+ print24: (show24hr == true)
+ showSeconds: (showSeconds == true)
+ on: stream].
+ self contents: time!
- time := String streamContents:
- [:aStrm | Time now print24: (show24hr == true) showSeconds: (showSeconds == true) on: aStrm].
-
- self contents: time !

Item was changed:
  ----- Method: ClockMorph>>stepTime (in category 'testing') -----
  stepTime
  "Answer the desired time between steps in milliseconds."
 
+ ^999!
- ^ 1000!