Oops, better link: <http://developer.apple.com/releasenotes/Cocoa/AppKit.html#NSImageTemplate>
Ken Ferry Cocoa Frameworks On Mon, Jul 28, 2008 at 10:08 PM, Ken Ferry <[EMAIL PROTECTED]> wrote: > Hi Mark, > > You haven't mentioned anything about the isTeplate property yet, so > maybe you aren't aware of it. > > Take a look at the section of the AppKit Leopard release notes titled > "Text and image effects: -[NSImage isTemplate]". > > <http://developer.apple.com/releasenotes/Cocoa/AppKit.html#TextAndImageEffects>. > > -Ken > > On Mon, Jul 28, 2008 at 10:02 PM, Mark Allerton <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I have been trying to get automatic image highlighting to work in >> "rounded textured" style buttons, created in IB. So far I am able to >> make this work just fine when using "system provided" images (for >> example "NSGoRightTemplate") but unable to make this work with my own >> images provided as either PNG or icns. >> >> Just to be clear what I am referring to here, I mean the highlighting >> that occurs on "push on push off" or "toggle" style buttons. For "push >> on push off", the image is (or should be) highlighted in white on the >> dark gray background for NSOnState, and for toggle style the NSOnState >> highlight is blue. I've followed the advice in the HIG and just >> specified an image for the button and no "alt. image". And if I use >> NSGoRightTemplate all is well, with my images not so much. >> >> So it seems to me there must be some additional pre-requisites for the >> button images that I've missed - can anyone advise? My images do >> already have an alpha mask, and like I say I have tried PNG and ICNS >> format so far. >> >> Cheers >> >> ..Mark.. >> _______________________________________________ >> >> 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/kenferry%40gmail.com >> >> This email sent to [EMAIL PROTECTED] >> > _______________________________________________ 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 [EMAIL PROTECTED]