Hello all,

I have an infinite ribbon, which represents time. In the ribbon there are 
submorphs which represent activities with a start and an end time. They have a 
model (think: gantt chart)

I want to move those submorphs around with the mouse or lengthen or shorten 
them at their edges. To do this I want to change their models. The trouble is: 
only the ribbon itself knows how to translate geometry into time and vice 
versa. The "activity" Morphs know if the mouse is over one of their edges (for 
resize) or in the center (for move).

So I really need to let the ribbon alter the activity models. But how can the 
ribbon know, which activity the cursor is over? I kind of want the activitiy 
Morphs to talk to the ribbon saying: "okay the curser is over my left edge, it 
is starting a mouse move, now you (ribbon) go ahead and change the start time 
of my model".

How do the big boys do this?

-- 
Martin

Reply via email to