Re: NSColorWell inside a custom NSCell

2011-04-25 Thread Graham Cox
On 24/04/2011, at 6:01 AM, Ken Ferry wrote: > That works, but if the stock NSColorWell drawing and behavior is already what > you want, you can use normal NSColorWell objects as subviews. Your uber view > might be in charge of positioning them. > > But definitely, if you don't need to put thi

Re: NSColorWell inside a custom NSCell

2011-04-23 Thread Ken Ferry
On Thu, Apr 21, 2011 at 5:52 PM, Graham Cox wrote: > > On 21/04/2011, at 4:17 PM, Bryan Hansen wrote: > > > Am I on the right track with this? Is there a better way to get a bunch > of movable colorwells within a custom control? > > > I'd say no, you're not on the right track and yes, there's a b

Re: NSColorWell inside a custom NSCell

2011-04-21 Thread Graham Cox
On 21/04/2011, at 4:17 PM, Bryan Hansen wrote: > Am I on the right track with this? Is there a better way to get a bunch of > movable colorwells within a custom control? I'd say no, you're not on the right track and yes, there's a better way. What you're attempting is probably doable, but the

NSColorWell inside a custom NSCell

2011-04-21 Thread Bryan Hansen
I'm trying to develop a gradient control using multiple custom NSCells to control the gradient color locations. I'd like to have an NSColorWell contained within each cell. I have the interactions working correctly as they are all handled by the cell itself but can not seem to get the color wells