Re: How to create Custom Knobs with Sprite animation ?
Re: How to create Custom Knobs with Sprite animation ?
- Subject: Re: How to create Custom Knobs with Sprite animation ?
- From: Jens Alfke <email@hidden>
- Date: Sat, 14 Jun 2008 20:59:24 -0700
On 14 Jun '08, at 11:44 AM, David Paulicke wrote:
Is there a way to create custom knobs ? I have one picture ( png )
which contains for example 3 knob frames / positions , and another
one with 60 knob frames /positions. How can i display the Animation
and use the NSSlider capabilities , that means : i click on it -
gets selected , i drag it - changes the knob picture ( rect
selection from the pic ) and gives me a value which range i can
define?
If I understand what you're asking, the answer is "code it yourself".
There aren't any standard controls that will cycle through a set of
images as you drag over them, and I'm not aware of any 3rd party
implementations.
(Also, do you really need 60 different PNGs for different knob
positions? AppKit can rotate images, you know.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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