The Trunk: Graphics-laza.127.mcz

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

The Trunk: Graphics-laza.127.mcz

commits-2
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])!