On 15 Jun 2011, at 19:18, Nick wrote:
Hello
I am wondering if there are any free custom NSSlider controles
available
with changed knob and trackbar images?
The ones similar to QuickTime Player and iTunes (for a player
application).
Does everyone implement them from scratch by subclassing the cell
class?
I make fancy slider controls using a custom 'cell-less' NSControl.
Using this approach you can do all your drawing in drawRect and
override mouseDown: mouseUp: mouseDragged: etc to behave how you want.
To get actions working you'll need to add this method:
+(Class)cellClass {
return [NSActionCell class];
}
Stephen
Thank you
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/stephen%40audiospillage.com
This email sent to step...@audiospillage.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com