Re: NSImage mouse events
Re: NSImage mouse events
- Subject: Re: NSImage mouse events
- From: Seth Willits <email@hidden>
- Date: Wed, 10 Aug 2011 15:48:35 -0700
On Aug 10, 2011, at 2:46 PM, Nial Giacomelli wrote:
> Currently I'm using the NSView's drawRect: method to composite the images,
> but also free to render them via NSImageView instances, if that will make
> things easier. My initial instinct was to setup NSTrackingArea's for each
> NSImage instance but wanted to ensure I wasn't missing something obvious.
Nothing obvious. Forge ahead.
Unless you can use Core Animation and that way the animation is simpler and smoother, but (at least on 10.6, I haven't explored 10.7 for this yet) there are annoying issues with layer-backed controls, so if your window has other views with controls in it, that can get annoying.
--
Seth Willits
_______________________________________________
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