Re: trackingAreas can be snuck up on without triggering?
Re: trackingAreas can be snuck up on without triggering?
- Subject: Re: trackingAreas can be snuck up on without triggering?
- From: Lee Ann Rucker <email@hidden>
- Date: Sun, 20 May 2012 23:42:17 -0700 (PDT)
Heh. I'd file a bug with Apple - this could be an edge case they didn't consider when they redid grow zones. At the very least they could make sample code showing what they're doing behind the scenes with the tracking rects.
----- Original Message -----
From: email@hidden
To: "Lee Ann Rucker" <email@hidden>
Cc: "Cocoa Dev" <email@hidden>
Sent: Sunday, May 20, 2012 11:11:51 AM
Subject: Re: trackingAreas can be snuck up on without triggering?
On May 20, 2012, at 10:45 AM, Lee Ann Rucker wrote:
> But if you're only updating the cursor, why not try addCursorRect:cursor: ? Presumably that's smart enough to know about the grow zone.
The docs note that -addCursorRect:cursor: is "legacy api", supplanted in Leopard by... tracking rects! Not only that "The underlying implementation for the legacy methods is based on NSTrackingArea..."
But IT WORKS! Thanks.
_murat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden