[etoys-dev] Etoys Inbox: Etoys-wiz.32.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Aug 10 02:42:29 EDT 2010

A new version of Etoys was added to project Etoys Inbox:

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

Name: Etoys-wiz.32
Author: wiz
Time: 10 August 2010, 2:41:42 am
UUID: ed88cc0a-03c4-4769-857a-1ddda03d1ed1
Ancestors: Etoys-Richo.31

Fourth and final part of targeting changes. 
This patches setTarget: for ButtonProperties class.  Only that one method is changed. 

I noticed this conflicted with bf.32 I am assuming the two can be merged easily.

Full text of changeset:

"Change Set:		targetOffsetFixes-wiz
Date:			5 June 2007
Author:			(wiz) Jerome Peace

wiz 6/6/2007 23:41 6/6/2007 23:41

filed in the button and menu targetsighting fixes. 
This stuff needs to be checked and fleshed out.
Todo: #sightWorldTargets: has no senders yet it is very important. (and possibly should replace #sightTargets:).
Check to see if Morph level #target: backup is in place. 

wiz 6/5/2007 22:44

added fix for tilted target.

wiz 6/5/2007 21:15

added target cursor in targeting

wiz 6/5/2007 20:53

adjusted #setTarget: to refer to evt targetPoint instead of evt hand targetPoint. 

wiz 6/5/2007 20:48

added target cursor to cursor class.

added Point class>>fromUserWithCursor:

wiz 6/5/2007 20:22

Compilation of fixes for 3.8 (as of update 0556)
This first is just the fixes from the changeset below. Mostly changes targetOffset (when misused) to targetPoint.

Change Set:		TargetOffsetFix-wiz
Date:			4 December 2006
Author:			(wiz) Jerome Peace

wiz 12/4/2006 00:43

Second fix up the offending senders.

wiz 12/4/2006 00:12

Start repairs for targetOffset misuse.
Mantis #5567.

First add targetPoint to HandMorph.


=============== Diff against Etoys-Richo.31 ===============

Item was changed:
  ----- Method: ButtonProperties>>setTarget: (in category 'menu') -----
  setTarget: evt 
  	| rootMorphs |
+ 	rootMorphs := self world rootMorphsAt: evt targetPoint.
- 	rootMorphs := self world rootMorphsAt: evt hand targetOffset.
  	target := rootMorphs size > 1 
  		ifTrue: [rootMorphs second]
  		ifFalse: [nil]!

More information about the etoys-dev mailing list