Re: Disabled button looks like enabled
Re: Disabled button looks like enabled
- Subject: Re: Disabled button looks like enabled
- From: "Donnie Lee" <email@hidden>
- Date: Mon, 12 Jan 2009 23:11:02 +0300
>> I planned to use it to emulate
>> gradient bottom bar (under Source List control), looks like in
>> Mail.app.
>
> Is THAT all?! :-D
>
> In an attempt to avoid using your own (or third-party) code that
> very specifically and efficiently addresses the problem (because of
> some strange phobia), you're making things so much more difficult than
> is even remotely necessary or sane!
Using gradient buttons is much easier because the controls is already
there, so I don't need to create controls by myself or use 3rd party
code.
> Then create a custom NSView that draws a gradient using the
> *INCREDIBLY EFFICIENT* system calls. Perhaps NSGradient if you're
> requiring 10.5 or above? Maybe CTGradient (the slimmed down version
> someone posted somewhere googlable if you're cruft-phobic)?
Yes, but, as I said before, the controls is already there and I
planned to use them to make the app simpler, but now I see there is
hidden problems.
Donnie.
_______________________________________________
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