• 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
NSSlider circularSlider drawKnob & custom knobs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSlider circularSlider drawKnob & custom knobs


  • Subject: NSSlider circularSlider drawKnob & custom knobs
  • From: Christian Haines <email@hidden>
  • Date: Sat, 26 Dec 2009 15:09:20 +1030

I have been looking for a simple way to create a knob controller with a custom image. I have attempted subclassing NSSlider, using setSliderType NSCircularSlider and drawing a new knob using the drawKnob method. Apparently it appears drawKnob is not called under Leopard when the setSliderType is a NSCircularSlider.

(1) Am i missing something here or is there a another approach I should be using?
(2) Are there any other resources that could assist? I could obviously build something from scratch using NSView etc or use Stick Software's SSCircularSlider but ideally want a less complex solution.


Any help greatly appreciated,
Christian
_______________________________________________

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


  • Prev by Date: UITextfield print to NSLog
  • Next by Date: Re: NSArray as a class variable
  • Previous by thread: Re: UITextfield print to NSLog
  • Next by thread: How can I make an NSTableView update its display on command?
  • Index(es):
    • Date
    • Thread