[Pkg] The Trunk: Graphics-bf.197.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 12 13:07:35 UTC 2013

Bert Freudenberg uploaded a new version of Graphics to project The Trunk:

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

Name: Graphics-bf.197
Author: bf
Time: 12 February 2013, 2:06:21.938 pm
UUID: 60ff4f42-018c-489f-98dd-baacd6c00db2
Ancestors: Graphics-nice.196

Make grabbing color cursor from screen work. E.g. (CursorWithAlpha fromUser showWhile: [Sensor waitButton])

=============== Diff against Graphics-nice.196 ===============

Item was added:
+ ----- Method: CursorWithAlpha class>>fromDisplay: (in category 'instance creation') -----
+ fromDisplay: aRectangle 
+ 	"Answer an ARGB cursor with bitmap initialized from the area of the 
+ 	display screen defined by aRectangle."
+ 	^ (self extent: aRectangle extent depth: 32)
+ 		offset: aRectangle extent // -2;
+ 		fromDisplay: aRectangle;
+ 		fixAlpha!

More information about the Packages mailing list