Re: Alternative Circular Slider control
Re: Alternative Circular Slider control
- Subject: Re: Alternative Circular Slider control
- From: "Stephen Deken" <email@hidden>
- Date: Wed, 11 Oct 2006 12:04:21 -0500
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
_______________________________________________
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