Overriding NSSliderCell
Overriding NSSliderCell
- Subject: Overriding NSSliderCell
- From: Cyril Godefroy <email@hidden>
- Date: Sun, 10 Feb 2002 11:28:32 +0100
Hi,
I need to create a custom NSSlider that allows selection of a range
inside the values of the slider. Therefore, my custom NSSlider must more
look like some Quicktime Player slider, with a rectangle as the bar, and
the knob over or below that bar, and I need to change the knob's
appearance.
These are things that for the most part NSSliderCell hasn't got direct
public methods for.
1. Would overriding
- (void) drawInteriorWithFrame: (NSRect)cellFrame inView:
(NSView*)controlView
from NSCell in my CustomSliderCell save me from difficult times?
2. How do I create that relation between my CustomSliderCell and my
CustomSlider? That is a question that reading the doc hasn't helped me
answering.
3. Did you already see such a control in an open-sourced framework or
app?
Tia,
Cyril
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.