Great, I will review it. Now I want a solution to do it cleanly and long-term sustainable within Pharo. So this mean no hurry for us to get it in first DrGeo tablet iteration and take the necessary time to cooperate with the pharo community. Hilaire Le 18/02/2012 22:05, Stéphane Ducasse a écrit :
Ok here is piece of information (read the pdf :)
you can look in EventModel on squeak source.
Now on top of this change that is not yet in the image because we need to think more about it, fernando introduced a state pattern to manage interaction and I guess that this is really what you are looking for I would love to see if the solution propose by fernando works for you.
Stef
On Feb 17, 2012, at 12:15 PM, Hilaire Fernandes wrote:
Hello,
I want to modelise in the image events coming from user interaction with a tablet: rotation, orientation, sliding finger, multiple finger gesture. Where should I put that in pharo, which classes should I extend? I read there are some though about redesigning the event architecture. Not sure where I should catch up.
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
-- Dr. Geo -- http://www.drgeo.eu