Re: NSImage mouse events
Re: NSImage mouse events
- Subject: Re: NSImage mouse events
- From: Seth Willits <email@hidden>
- Date: Wed, 10 Aug 2011 15:49:45 -0700
On Aug 10, 2011, at 3:48 PM, Seth Willits 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.
Though I suppose it's worth mentioning you could use NSImageViews as subviews, and use their animators to resize the image views and mouseEntered/mouseExited.
--
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