The Trunk: Morphic-mha.391.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-mha.391.mcz

commits-2
Michael Haupt uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mha.391.mcz

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

Name: Morphic-mha.391
Author: mha
Time: 26 March 2010, 12:01:57.431 am
UUID: 50952234-e14d-44a6-a606-eeb8e11aa0d2
Ancestors: Morphic-mha.390

also cache darkened forms of IconicButtons to avoid "black wholes", whatever those are ;-)

=============== Diff against Morphic-mha.390 ===============

Item was added:
+ ----- Method: IconicButton>>darkenedForm (in category 'as yet unclassified') -----
+ darkenedForm
+ ^ darkenedForm ifNil: [ darkenedForm := self firstSubmorph form darker ]!

Item was changed:
  SimpleButtonMorph subclass: #IconicButton
+ instanceVariableNames: 'darkenedForm'
- instanceVariableNames: ''
  classVariableNames: ''
  poolDictionaries: ''
  category: 'Morphic-Widgets'!
 
  !IconicButton commentStamp: '<historical>' prior: 0!
  A "Simple Button" in which the appearance is provided by a Form.!

Item was changed:
  ----- Method: IconicButton>>darken (in category 'as yet unclassified') -----
  darken
 
+ self firstSubmorph form: self darkenedForm!
- self firstSubmorph form: self firstSubmorph form darker.!