Is it possible to have a custom background and a custom knob for a slider in OSX? It looks like the original function for assigning different bitmaps has been deprecated, and I don’t see any easy way other than creating a complete class.
Am I missing something?
Looks like you need to override
NSSliderCell‘s- (void)drawKnob:(NSRect)knobRectand- (void)drawBarInside:(NSRect)aRect flipped:(BOOL)flipped.From the
NSSliderCellclass reference