Christopher Barker wrote:
> the Event binding code needs to be refactoring -- more put in
> the draw objects, less in the Canvas -- I think that would make dynamic 
> binding/unbinding easier.

Another thought in this -- It might me nice to have a way to ask what 
object(s) are hit at a given mouse coordinate. I wrote it this way, as 
it's often very nice to be able to just say:

"When this object is hit by this event -- do this."

But I'm seeing now how I"d like to be able to ask:

"What object(s) just got hit?"

The case at hand is similar to Astan's: I'm trying to write EditingModes 
to use GUIModes to handle the different things needed. It's very nice 
and clean for the "AddCircles" mode -- you can click and drag and make a 
new circle very easily.

But I'm working on the "Select and Object" mode, and I find I need to 
bind all the objects, which is OK, but then I need to unbind them when 
I"m no longer in this mode -- a bit strange, really.

Ideas welcome.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to