Mailing Lists: Apple Mailing Lists

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

Re: NSNoCellMask differences in Leopard vs. Tiger



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

This email sent to email@hidden
References: 
 >NSNoCellMask differences in Leopard vs. Tiger (From: Ben Lachman <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.