NSXXXTemplate images and NSSegmentedView
NSXXXTemplate images and NSSegmentedView
- Subject: NSXXXTemplate images and NSSegmentedView
- From: "Dion Crannitch" <email@hidden>
- Date: Wed, 14 Nov 2007 16:15:57 +0000
Hi all,
How do I create an image that behaves like one of the NSXXXTemplate
images when used on an NSSegmentedView segment?
We noticed that on Leopard NSSegmentedViews that have text labels no
longer display any selection state if the mode is set to "Select Any"
and the style is "Textured". However if you set one of the
NXXXXTemplate images from the Library in IB on a segment the image
highlights in blue when the segment is selected. If you create a
normal grayscale image yourself you don't get this behaviour. The
template images seem to contain an NSCoreUIImageRep rather than an
NSBitmapImageRep.
Does anyone know how to create an image that behaves like the template images?
Thanks!
Dion
_______________________________________________
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