[squeak-dev] The Trunk: Graphics-dtl.322.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 1 01:30:26 UTC 2016


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 at 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 at 10.
+ 		f displayOn: Display at: 10 at 10.
+ 	].
+ !

Item was removed:
- ----- Method: InputSensor>>testJoystick: (in category '*Graphics-KernelExtensions') -----
- testJoystick: index
- 	"Sensor testJoystick: 3"
- 
- 	| f pt buttons status |
- 	f := Form extent: 110 at 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 at 10.
- 		f displayOn: Display at: 10 at 10.
- 	].
- !



More information about the Squeak-dev mailing list