• 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: Alternative Circular Slider control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative Circular Slider control


  • Subject: Re: Alternative Circular Slider control
  • From: Ari Benzane <email@hidden>
  • Date: Wed, 11 Oct 2006 21:09:52 +0100


On 11 Oct 2006, at 18:04, Stephen Deken wrote:

On 10/10/06, Ari Benzane <email@hidden> wrote:
Simple answer? It looks like crud. Plus, even when set to large, it's too
small.

So subclass NSSliderCell.

Override -cellSizeForBounds: and -drawingRectForBounds: to allow it to
be as large as you want it to be.  Override -drawKnob: and draw it
however you want.  You get all of the mouse tracking stuff taken care
of for you.  When you're finished, you can either poseAsClass to
override it everywhere in your application or just swap it into
particular controls using NSControl's -setCell: message.

Stephen Deken
email@hidden

Yes this is what Peter's implementation does. I'll need to investigate further.
Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Re: Alternative Circular Slider control (From: Stephen Deken <email@hidden>)
 >Re: Alternative Circular Slider control (From: "Stephen Deken" <email@hidden>)

  • Prev by Date: Re: Re: Disk Device Description
  • Next by Date: Re: Disk Device Description
  • Previous by thread: Re: Alternative Circular Slider control
  • Next by thread: SecKeychainAddGenericPassword err 100013
  • Index(es):
    • Date
    • Thread