Re: NSSliderCell does not use drawBarInside:flipped:?
Re: NSSliderCell does not use drawBarInside:flipped:?
- Subject: Re: NSSliderCell does not use drawBarInside:flipped:?
- From: Andreas Mayer <email@hidden>
- Date: Tue, 14 Jun 2005 19:49:35 +0200
Am 14. Jun 2005 um 19:05 Uhr schrieb Ryan Stevens:
Here's what my drawInteriorWithFrame:inView: looks like ..
[self drawBarInside:cellFrame flipped:[controlView
isFlipped]];
[self drawKnob];
Not sure if I'm missing out on some "free" stuff this way but it
seems to work well enough for me. *shrug*
Hm. Actually drawInteriorWithFrame:inView: seems to call [self
drawKnob] only.
I still get the system drawn tracks without sending
drawBarInside:flipped: from inside drawInteriorWithFrame:inView:.
Instead the track seems to be drawn in drawWithFrame:inView: (which
does also draw the tick marks at least).
So if you commented out the [self drawBarInside:cellFrame flipped:
[controlView isFlipped]] line in your code above your
drawBarInside:flipped: method should still be called.
But I commented out my drawing code and the track is already visible
at that moment.
Oh, and I'm on 10.4.1 in case that makes any difference.
Andreas
_______________________________________________
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