On Feb 17, 2010, at 8:30 AM, Tom Davie wrote:

> I need an NSMenuItem that rather than drawing an NSImage in it's cell draws
> *part* of an NSImage, is it possible to override NSMenuItem's drawing in any
> way to achieve this?  I don't see the relevant methods.

Can't you just make a different NSImage containing part of the original?  If 
you are worried about performance, you can make a custom NSImageRep that 
references the original image.

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to