• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to create Custom Knobs with Sprite animation ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to create Custom Knobs with Sprite animation ? (From: David Paulicke <email@hidden>)

  • Prev by Date: Re: NSNotifications & background apps?
  • Next by Date: Re: using NSFileManager to read data
  • Previous by thread: Re: How to create Custom Knobs with Sprite animation ?
  • Next by thread: NSURLCache - how?
  • Index(es):
    • Date
    • Thread