A more attractive NSSlider?
A more attractive NSSlider?
- Subject: A more attractive NSSlider?
- From: Glenn Zelniker <email@hidden>
- Date: Thu, 31 Mar 2005 22:50:24 -0500
I would like to either customize or subclass NSSlider. In particular,
suppose I just want to put a different image behind the knob. I've
tried using -setImage methods in NSSlider, NSSliderCell, and
NSActionCell, but none of these works. I also began the annoying
process of starting from scratch with a subclass of NSView and doing my
own -mouseDown, etc. methods, but I soon realized I'd have to be doing
a lot of target-action stuff or delegation in order to get my app
controller to see values coming from the slider...
To make a long story short, is there a simple way to replace the knob
and the background image in an NSSlider? Has anyone implemented a
custom NSSlider that lets you set the knob image and the slider
background image?
Glenn Zelniker
_______________________________________________
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