[Pkg] The Trunk: Graphics-mtf.168.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 29 05:34:47 UTC 2010

Matthew Fulmer uploaded a new version of Graphics to project The Trunk:

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

Name: Graphics-mtf.168
Author: mtf
Time: 29 December 2010, 12:32:10.286 am
UUID: 42140ec9-4562-f74a-870d-01f72d53c3e0
Ancestors: Graphics-mtf.167

Chromatically symmetric versions of #darker #muchDarker. Cherrypicked from Croquet:

Name: Graphics-bgf.17
Author: bgf
Time: 1 February 2007, 11:08:10 pm
UUID: e3e570da-3857-4da6-a458-a7c6e1e3d582
Ancestors: Graphics-ar.16

Chromatically symmetric versions
of #darker #muchDarker 
(increase saturation when darkening,
just as #lighter/#muchLighter already decrease it.)

The result is perceptually more consistent in gradients
like the system window titles.

=============== Diff against Graphics-mtf.167 ===============

Item was changed:
  ----- Method: Color>>twiceDarker (in category 'transformations') -----
  	"Answer a significantly darker shade of this color."
+ 	^ self adjustSaturation: 0.075 brightness: -0.15!
- 	^ self adjustBrightness: -0.15!

More information about the Packages mailing list