The Trunk: Graphics-bf.197.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-bf.197.mcz

commits-2
Bert Freudenberg uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-bf.197.mcz

==================== 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!