NSImage mouse events

2011-08-10 Thread Nial Giacomelli
I have a number of NSImages that I'm rendering in a custom NSView subclass. I'm looking to enlarge theses images as and when the user places their mouse over them and am wondering about the best way to go about doing this. Currently I'm using the NSView's drawRect: method to composite the images,

Re: NSImage mouse events

2011-08-10 Thread Seth Willits
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

Re: NSImage mouse events

2011-08-10 Thread Seth Willits
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

Re: NSImage mouse events

2011-08-10 Thread Graham Cox
On 11/08/2011, at 7:46 AM, Nial Giacomelli wrote: I have a number of NSImages that I'm rendering in a custom NSView subclass. I'm looking to enlarge theses images as and when the user places their mouse over them and am wondering about the best way to go about doing this. Currently I'm