[Pkg] The Trunk: Graphics-laza.127.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 25 14:55:59 UTC 2010


Alexander Lazarević uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-laza.127.mcz

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

Name: Graphics-laza.127
Author: laza
Time: 25 March 2010, 3:54:43.09 pm
UUID: 8bbca1da-e424-48d3-ad0b-c1294e53eb23
Ancestors: Graphics-ar.126

make inactive Window buttons dimmed

=============== Diff against Graphics-ar.126 ===============

Item was added:
+ ----- Method: Form>>dimmed (in category 'converting') -----
+ dimmed
+ 	"Answer a dimmed variant of this form."
+ 
+ 	^ Form 
+ 		extent: self extent 
+ 		depth: self depth
+ 		bits: (self bits collect: [:bit | | color |
+ 			color := Color colorFromPixelValue: bit depth: self depth.
+ 			(color alpha: (color alpha min: 0.2)) pixelValueForDepth: self depth])!



More information about the Packages mailing list