Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
- Subject: Re: NSMomentaryLightButton vs. NSMomentaryPushInButton and NSPushOnPushOffButton vs. NSOnOffButton
- From: Quincey Morris <email@hidden>
- Date: Thu, 28 Oct 2010 00:25:07 -0700
On Oct 27, 2010, at 22:53, Ken Ferry wrote:
> Anyway, NSMomentaryLightButton sets highlightsBy to NSChangeGrayCellMask|NSChangeBackgroundCellMask and showsStateBy to 0.
>
> NSMomentaryPushInButton sets highlightsBy to NSPushInCellMask and showsStateBy to 0.
Well, the thorough explanation is much appreciated, it's not clear that there are (currently) any buttons that draw differently with these two types, or are there?
Also, your explanation tends to suggest the documentation is wrong -- whatever "lit" means, surely both types can't be that, and why is a NSMomentaryPushInButton a correction of pre-Leopard terminology (correctly?) indicating that the type is *not* "pushed in"?
_______________________________________________
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