Re: Gradient panel

2008-11-03 Thread Uli Kusterer
On 01.11.2008, at 04:28, David wrote: Is there an easy way to instantiate a Cocoa panel with a gradient background? Are there any code samples? Is NSGradient the key? Any examples of how you hook this in with a panel or window? Do you mean an arbitrary background, or are you perhaps tal

Re: Gradient panel

2008-10-31 Thread Chris Hanson
On Oct 31, 2008, at 8:28 PM, David wrote: Is NSGradient the key? Any examples of how you hook this in with a panel or window? NSGradient is, as you say, the key. Remember that drawing in Cocoa takes place in a view; from that perspective, "Cocoa panel with a gradient background" isn't reall

Gradient panel

2008-10-31 Thread David
Is there an easy way to instantiate a Cocoa panel with a gradient background? Are there any code samples? Is NSGradient the key? Any examples of how you hook this in with a panel or window? Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)