The Trunk: Graphics-dtl.322.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-dtl.322.mcz

commits-2
David T. Lewis uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-dtl.322.mcz

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

Name: Graphics-dtl.322
Author: dtl
Time: 1 February 2016, 8:30:11.24536 pm
UUID: 72d5d729-f6ef-47f3-b637-1271b82fe528
Ancestors: Graphics-eem.321

Move #testJoystick: to EventSensor because InputSensor will be removed.

=============== Diff against Graphics-eem.321 ===============

Item was added:
+ ----- Method: EventSensor>>testJoystick: (in category '*Graphics-KernelExtensions') -----
+ testJoystick: index
+ "Sensor testJoystick: 3"
+
+ | f pt buttons status |
+ f := Form extent: 110@50.
+ [Sensor anyButtonPressed] whileFalse: [
+ pt := Sensor joystickXY: index.
+ buttons := Sensor joystickButtons: index.
+ status :=
+ 'xy: ', pt printString, '
+ buttons: ', buttons printStringHex.
+ f fillWhite.
+ status displayOn: f at: 10@10.
+ f displayOn: Display at: 10@10.
+ ].
+ !

Item was removed:
- ----- Method: InputSensor>>testJoystick: (in category '*Graphics-KernelExtensions') -----
- testJoystick: index
- "Sensor testJoystick: 3"
-
- | f pt buttons status |
- f := Form extent: 110@50.
- [Sensor anyButtonPressed] whileFalse: [
- pt := Sensor joystickXY: index.
- buttons := Sensor joystickButtons: index.
- status :=
- 'xy: ', pt printString, '
- buttons: ', buttons printStringHex.
- f fillWhite.
- status displayOn: f at: 10@10.
- f displayOn: Display at: 10@10.
- ].
- !