Hi all, The current hand has the world as its owner but the world submorphs do not contains the current hand. Why is it like that ? Thanks Alain
On 27 June 2013 10:44, plantec <alain.plantec@yahoo.com> wrote:
Hi all, The current hand has the world as its owner but the world submorphs do not contains the current hand. Why is it like that ?
i do not think you will get the answer to your question here, because i think most people here are clueless as well as you. World knows about its hands via world->state->hands. If you look at HandMorph, it mixes a lot of roles together, including: - as a visual object (morph) which displaying mouse pointer - as an entry pont for dispatching events down to separate morphs theoretically, it could be nice to have two separate obejcts for those roles, one of them can indeed be just a morph, and contained in world but not the other one. -- Best regards, Igor Stasenko.
On Jun 27, 2013, at 1:49 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 27 June 2013 10:44, plantec <alain.plantec@yahoo.com> wrote:
Hi all, The current hand has the world as its owner but the world submorphs do not contains the current hand. Why is it like that ?
i do not think you will get the answer to your question here, because i think most people here are clueless as well as you.
World knows about its hands via world->state->hands.
If you look at HandMorph, it mixes a lot of roles together, including: - as a visual object (morph) which displaying mouse pointer - as an entry pont for dispatching events down to separate morphs
theoretically, it could be nice to have two separate obejcts for those roles, one of them can indeed be just a morph, and contained in world but not the other one.
yes we will start to work on that with fernando.
-- Best regards, Igor Stasenko.
On 27 juin 2013, at 13:49, Igor Stasenko <siguctua@gmail.com> wrote: > On 27 June 2013 10:44, plantec <alain.plantec@yahoo.com> wrote: >> Hi all, >> The current hand has the world as its owner but the world >> submorphs do not contains the current hand. >> Why is it like that ? > If you look at HandMorph, it mixes a lot of roles together, including: > - as a visual object (morph) which displaying mouse pointer > - as an entry pont for dispatching events down to separate morphs > > theoretically, it could be nice to have two separate obejcts for those roles, > one of them can indeed be just a morph, and contained in world but not > the other one. > this is exactly what I was thinking about. thanks a lot. Alain > > -- > Best regards, > Igor Stasenko. >
participants (4)
-
Alain Plantec -
Igor Stasenko -
plantec -
Stéphane Ducasse