[squeak-dev] The Trunk: Morphic-mha.431.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 27 07:35:31 UTC 2010


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

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

Name: Morphic-mha.431
Author: mha
Time: 27 April 2010, 9:34:42.804 am
UUID: b199bf44-5120-4bec-89be-b4d3a41081ef
Ancestors: Morphic-laza.430

* improved visibility for multi-selection / last-selected item in LazyListMorph
* consistent colorisation of selected items in single-/multi-selection lists

=============== Diff against Morphic-laza.430 ===============

Item was changed:
  ----- Method: LazyListMorph>>drawBackgroundForMulti:on: (in category 'drawing') -----
  drawBackgroundForMulti: row on: aCanvas 
  	"shade the background paler, if this row is selected, but not the current selected row"
  	| selectionDrawBounds thisColor |
  	thisColor := selectedRow = row
+ 		ifTrue: [ self class listSelectionColor twiceDarker ]
+ 		ifFalse: [ self class listSelectionColor ].
- 		ifTrue: [ self class listSelectionColor ]
- 		ifFalse: [ self class listSelectionColor muchLighter ].
  	selectionDrawBounds := self drawBoundsForRow: row.
  	selectionDrawBounds := selectionDrawBounds intersect: self bounds.
  	aCanvas
  		fillRectangle: selectionDrawBounds
  		color: thisColor!




More information about the Squeak-dev mailing list