The Trunk: Morphic-ul.490.mcz

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

The Trunk: Morphic-ul.490.mcz

commits-2
Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ul.490.mcz

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

Name: Morphic-ul.490
Author: ul
Time: 9 December 2010, 3:06:57.133 am
UUID: e54bc2a6-58ae-8f42-b64e-f17a63bc00e6
Ancestors: Morphic-laza.489

- simplified Morph >> #colorString:

=============== Diff against Morphic-laza.489 ===============

Item was changed:
  ----- Method: Morph>>colorString: (in category 'printing') -----
  colorString: aColor
+
+ aColor ifNil: [ ^'nil' ].
+ ^aColor name
+ ifNil: [ aColor storeString ]
+ ifNotNil: [ :colorName | 'Color ', colorName ]!
- aColor ifNil: [^'nil'].
- Color colorNames
- do: [:colorName | aColor = (Color perform: colorName) ifTrue: [^'Color ' , colorName]].
- ^aColor storeString!