I'm trying to mimic the following automatic behavior of 
NSTableView/NSOutlineView:

When drawing NSImageCells that use a "template" NSImage (either because the 
image name ends with "Template" or because -[NSImage setTemplate:YES] was 
called), the table view automatically renders the image in white if the table 
row is currently selected.

I'm looking for a way to tell NSImageCell that it is currently selected, and 
that the image should be drawn in white. Unfortunately, calling 
"setHighlighted:YES" does NOT produce the desired effect. I've looked at 
various NSCellAttributes, but none of those does the trick either.

Can anyone point to a different method?

Thanks,
Gabe


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to