>> 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 (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 arch...@mail-archive.com