[etoys-dev] Event Theatre issue
karlramberg at gmail.com
Tue Nov 15 16:28:30 EST 2011
So I looked at the code in PaintBoxMorph>>eyedropper:action:cursor:evt:
I see that it uses Sensor and just updates the display.
If we do as in ColorPickerMorph and use ActiveWorld doOneCycle instead I
think we can track the events in EventTheatre.
[Sensor anyButtonPressed] whileTrue:
[ pt := Sensor cursorPoint.
"the hand needs to be drawn"
evt hand position: pt.
-self world displayWorldSafely.
But there are some quite weird code issues because both ColorPickerMorph
and PaintBoxMorph do color tracking here.
On Wed, Nov 2, 2011 at 6:00 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:
> On 02.11.2011, at 15:41, Bert Freudenberg wrote:
> > Please don't use the bug tracker for discussions (*). That's what the
> mailing list is for :)
> > (*) http://producingoss.com/en/bug-tracker.html
> Actually I meant this section:
> (though the rest of the book is good too)
> - Bert -
> etoys-dev mailing list
> etoys-dev at squeakland.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the etoys-dev