On Fri, 2 Mar 2012 10:31:29 +1100, Graham Cox said:

>I guess what might be nice is a tendency for it to "snap" to the zero
>position when the slider is dragged close to it.

Yes, that's what I'm looking for.

> You might be able to do
>that with a standard slider by manipulating the values close to the zero
>point, but to get this really working well you'd probably want a
>subclass of NSSliderCell

I was expecting to have to subclass.

>you'd probably also want to have some sort of
>override, such as when the option key is pressed, otherwise it will be
>impossible to set values very close to 0, such as 1.

Good idea, though not crucial in my use case.

Any suggested subclassing points?  That's where I'm stuck really...

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to