Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSXXXTemplate images and NSSegmentedView



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.