> The main canvas get's the mouse down and passes it on to my controller.
> My controller iterates through every object asking it if the click was
> within it. The object (usually a shape that's a subclass of my base object)
> responds back if it was it.
> ...
> I'm sure its all my other code that's to blame.
OK, then step 1 is to verify that by finding out how much time it takes from
the click to the response. Stick a global double property in a module
somewhere, and on the click, stuff Microseconds into it, then in the
response, compare it to Microseconds. Put up 500 (or however many) objects
and see what it says.
lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|