Re: NSNoCellMask differences in Leopard vs. Tiger
Re: NSNoCellMask differences in Leopard vs. Tiger
- Subject: Re: NSNoCellMask differences in Leopard vs. Tiger
- From: Ben Lachman <email@hidden>
- Date: Mon, 31 Mar 2008 13:36:37 -0400
So it ends up that while NSNoCellMask works on Tiger it really isn't
the way to do what I was wanting. NSPushInCellMask does the same
thing (darken the un-bezeled icon), makes more sense, and works on
both Tiger and Leopard. The problem is that the documentation
doesn't mention NSPushInCellMask unless you look at the state masks
leading me to believe that it wasn't a supported value for
setHighlightsBy:. Anyway, hope this helps someone at some point.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
On Mar 20, 2008, at 5:50 AM, Ben Lachman wrote:
On Tiger one could set up borderless, momentary light "square
button" with an icon and call setHighLightsBy: with NSNoCellMask
and you'd get a nice darkening on the non-transparent parts when
the user pressed the button. However these same buttons on Leopard
don't change at all during a user's press. Is there a way to get a
similar effect on Leopard without using an alternate image (some of
my buttons already have alternate images)?
_______________________________________________
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