Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.678.mcz
==================== Summary ====================
Name: Kernel-eem.678
Author: eem
Time: 18 April 2012, 10:29:16.009 am
UUID: a1560bd8-28a8-4167-a5ae-d3da0cd21c70
Ancestors: Kernel-eem.677
Provide a kbdTest for the EventSensor.
=============== Diff against Kernel-eem.677 ===============
Item was added:
+ ----- Method: EventSensor>>kbdTest (in category 'keyboard') -----
+ kbdTest "Sensor kbdTest"
+ "This test routine will print the unmodified character, its keycode,
+ and the OR of all its modifier bits, until the character x is typed"
+ | char evt |
+ char := nil.
+ [char = $x] whileFalse:
+ [[(evt := self peekKeyboardEvent) isNil] whileTrue.
+ char := self characterForKeycode: evt third.
+ (String streamContents:
+ [:s |
+ s nextPut: char.
+ (3 to: 8) with: 'cpmurw' do:
+ [:i :c|
+ s space; nextPut: c; nextPut: $:; print: (evt at: i); nextPutAll: ' ']])
+ displayAt: 10@10]!
Bert Freudenberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-bf.104.mcz
==================== Summary ====================
Name: MorphicExtras-bf.104
Author: bf
Time: 17 April 2012, 4:35:55.392 pm
UUID: 9460be83-fb2f-4a82-9094-e7adedaefd0f
Ancestors: MorphicExtras-ul.103
Fix DNU in event recorder playback
=============== Diff against MorphicExtras-ul.103 ===============
Item was changed:
----- Method: HandMorphForReplay>>showTemporaryCursor:hotSpotOffset: (in category 'cursor') -----
showTemporaryCursor: cursorOrNil hotSpotOffset: hotSpotOffset
"When I show my cursor, it appears double size,
unless it is a form such as a paint brush."
cursorOrNil
ifNil: ["Setting cursor to nil cannot revert to hardware cursor -- just show normal."
^ self showTemporaryCursor: Cursor normal hotSpotOffset: Cursor normal offset]
ifNotNil:
[(cursorOrNil isKindOf: Cursor)
ifTrue: ["Show cursors magnified for visibility"
+ ^ super showTemporaryCursor: (cursorOrNil asCursorForm magnifyBy: 2)
- ^ super showTemporaryCursor:
- (CursorWithMask derivedFrom: (cursorOrNil magnifyBy: 2))
hotSpotOffset: (cursorOrNil offset negated*2) + hotSpotOffset]
ifFalse: [^ super showTemporaryCursor: cursorOrNil
hotSpotOffset: hotSpotOffset]]!
Bert Freudenberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-bf.104.mcz
==================== Summary ====================
Name: MorphicExtras-bf.104
Author: bf
Time: 17 April 2012, 4:35:55.392 pm
UUID: 9460be83-fb2f-4a82-9094-e7adedaefd0f
Ancestors: MorphicExtras-ul.103
Fix DNU in event recorder playback
=============== Diff against MorphicExtras-ul.103 ===============
Item was changed:
----- Method: HandMorphForReplay>>showTemporaryCursor:hotSpotOffset: (in category 'cursor') -----
showTemporaryCursor: cursorOrNil hotSpotOffset: hotSpotOffset
"When I show my cursor, it appears double size,
unless it is a form such as a paint brush."
cursorOrNil
ifNil: ["Setting cursor to nil cannot revert to hardware cursor -- just show normal."
^ self showTemporaryCursor: Cursor normal hotSpotOffset: Cursor normal offset]
ifNotNil:
[(cursorOrNil isKindOf: Cursor)
ifTrue: ["Show cursors magnified for visibility"
+ ^ super showTemporaryCursor: (cursorOrNil asCursorForm magnifyBy: 2)
- ^ super showTemporaryCursor:
- (CursorWithMask derivedFrom: (cursorOrNil magnifyBy: 2))
hotSpotOffset: (cursorOrNil offset negated*2) + hotSpotOffset]
ifFalse: [^ super showTemporaryCursor: cursorOrNil
hotSpotOffset: hotSpotOffset]]!
Bert Freudenberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-bf.104.mcz
==================== Summary ====================
Name: MorphicExtras-bf.104
Author: bf
Time: 17 April 2012, 4:35:55.392 pm
UUID: 9460be83-fb2f-4a82-9094-e7adedaefd0f
Ancestors: MorphicExtras-ul.103
Fix DNU in event recorder playback
=============== Diff against MorphicExtras-ul.103 ===============
Item was changed:
----- Method: HandMorphForReplay>>showTemporaryCursor:hotSpotOffset: (in category 'cursor') -----
showTemporaryCursor: cursorOrNil hotSpotOffset: hotSpotOffset
"When I show my cursor, it appears double size,
unless it is a form such as a paint brush."
cursorOrNil
ifNil: ["Setting cursor to nil cannot revert to hardware cursor -- just show normal."
^ self showTemporaryCursor: Cursor normal hotSpotOffset: Cursor normal offset]
ifNotNil:
[(cursorOrNil isKindOf: Cursor)
ifTrue: ["Show cursors magnified for visibility"
+ ^ super showTemporaryCursor: (cursorOrNil asCursorForm magnifyBy: 2)
- ^ super showTemporaryCursor:
- (CursorWithMask derivedFrom: (cursorOrNil magnifyBy: 2))
hotSpotOffset: (cursorOrNil offset negated*2) + hotSpotOffset]
ifFalse: [^ super showTemporaryCursor: cursorOrNil
hotSpotOffset: hotSpotOffset]]!