[etoys-dev] Etoys: Etoys-bf.123.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 9 12:06:55 EST 2012


Bert Freudenberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-bf.123.mcz

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

Name: Etoys-bf.123
Author: bf
Time: 9 March 2012, 6:06:03 pm
UUID: 1632ba11-f3a4-4fe1-85c5-7ecbd141b334
Ancestors: Etoys-kfr.122

KeyPressMorph: fix event listener registration

=============== Diff against Etoys-kfr.122 ===============

Item was removed:
- ----- Method: KeyPressMorph>>delete (in category 'initialize') -----
- delete
- 	super delete.
- 	self unregisterToEvents!

Item was removed:
- ----- Method: KeyPressMorph>>duplicate (in category 'copying') -----
- duplicate
- 	^ super duplicate registerToEvents!

Item was changed:
  ----- Method: KeyPressMorph>>initialize (in category 'initialize') -----
  initialize
  	super initialize.
  	currentKey := 'a'.
  	isWaitingToSetCurrentKey := false.	
  	self layoutPolicy: TableLayout new;
  		listDirection: #topToBottom;
  	 	wrapCentering: #topLeft;
  		hResizing: #shrinkWrap;
  		vResizing: #shrinkWrap;
  		layoutInset: 5;
  		color: Color blue muchLighter;
  		borderColor: Color blue;
  		cornerStyle: #rounded;
+ 		rebuild
+ !
- 		rebuild;
- 		registerToEvents!

Item was added:
+ ----- Method: KeyPressMorph>>intoWorld: (in category 'events') -----
+ intoWorld: aWorld
+ 	super intoWorld: aWorld.
+ 	self registerToEvents.
+ !

Item was added:
+ ----- Method: KeyPressMorph>>outOfWorld: (in category 'events') -----
+ outOfWorld: aWorld
+ 	self unregisterToEvents.
+ 	super outOfWorld: aWorld.
+ !

Item was removed:
- ----- Method: KeyPressMorph>>usableSiblingInstance (in category 'copying') -----
- usableSiblingInstance
- 	^ super usableSiblingInstance registerToEvents!



More information about the etoys-dev mailing list