Re: Good mouse tracking design for dynamic view?

2008-07-02 Thread Nathan Vander Wilt
So it seems I need to do more bookwork myself, but I'm wondering which direction others would recommend: a) Set up a single tracking area for the whole view, and perform all my own hit testing every time the mouse moves. b) Keep the per-item tracking areas, but perform my own testing in

Re: Good mouse tracking design for dynamic view?

2008-06-26 Thread Douglas Davidson
On Jun 26, 2008, at 11:20 AM, Nathan Vander Wilt wrote: So it seems I need to do more bookwork myself, but I'm wondering which direction others would recommend: a) Set up a single tracking area for the whole view, and perform all my own hit testing every time the mouse moves. b) Keep the

Re: Good mouse tracking design for dynamic view?

2008-06-26 Thread Greg Titus
On Jun 26, 2008, at 11:56 AM, Douglas Davidson wrote: On Jun 26, 2008, at 11:20 AM, Nathan Vander Wilt wrote: So it seems I need to do more bookwork myself, but I'm wondering which direction others would recommend: a) Set up a single tracking area for the whole view, and perform all my

Re: Good mouse tracking design for dynamic view?

2008-06-26 Thread Quincey Morris
On Jun 26, 2008, at 11:20, Nathan Vander Wilt wrote: Even though it seems like I'd be reimplementing something Cocoa already offers, I'm leaning towards option A: I'm not sure if I'll be able to foresee all the edge cases, and I'd be reinventing half the hit testing code there anyway.

Re: Good mouse tracking design for dynamic view?

2008-06-26 Thread Michael Ash
On Thu, Jun 26, 2008 at 2:20 PM, Nathan Vander Wilt [EMAIL PROTECTED] wrote: I have a view that displays and allows interaction with a lot (hundreds, even thousands) of small items. I am having trouble nailing down a good design for event handling, and just as I was ready to plead for help I