[squeak-dev] The Trunk: Graphics-mt.395.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 29 12:31:31 UTC 2018

Marcel Taeumel uploaded a new version of Graphics to project The Trunk:

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

Name: Graphics-mt.395
Author: mt
Time: 29 March 2018, 2:31:08.332957 pm
UUID: 0f0f6d41-5000-fe41-9970-5a08bf0f66b1
Ancestors: Graphics-tcj.394

New support message to dye forms. To be used for our mono icons for UI themes.

Implementation might be improved in the future to also dye non-mono, rich-color forms.

=============== Diff against Graphics-tcj.394 ===============

Item was added:
+ ----- Method: Form>>dyed: (in category 'converting') -----
+ dyed: aColor
+ 	"Dye this form with the given color. For now, the alpha channel should be sufficient to preserve the meaning of the form."
+ 	^ self collectColors: [:ea | aColor alpha: ea alpha]!

More information about the Squeak-dev mailing list