Circular NSSlider: How to get the same behaviour as in Quartz Composer?
Circular NSSlider: How to get the same behaviour as in Quartz Composer?
- Subject: Circular NSSlider: How to get the same behaviour as in Quartz Composer?
- From: Marco Masser <email@hidden>
- Date: Fri, 5 Sep 2008 00:27:41 +0200
Hi!
In Quartz Composer, published input ports of type index or number have
a text field and a circular NSSlider in the viewer's parameter panel.
This NSSlider behaves exactly like I would like mine to behave, but I
can't figure out how to do that.
What I'm getting: One full rotation clockwise gives the values from -
minValue to -maxValue.
What I'd like: One full rotation clockwise increments the value by a
certain amount (in Quartz Composer this is something like 6 or 7).
I probably could do something like keeping track of the count of the
full rotations of the slider, multiply that by some value and add the
result to the value I want to modify, but this seems clunky. Isn't
there any other way?
Thanks,
Marco
_______________________________________________
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