Re: Preventing NSSlider bar from drawing
Re: Preventing NSSlider bar from drawing
- Subject: Re: Preventing NSSlider bar from drawing
- From: Michael Watson <email@hidden>
- Date: Wed, 17 Jan 2007 11:29:14 -0500
On 17 Jan, 2007, at 11:23, Andreas Mayer wrote:
Am 17.01.2007 um 16:17 Uhr schrieb Michael Watson:
-drawBarInside:flipped: is most certainly used,
It's used as in 'called'. But obviously the actual slider track is
drawn some place else since overwriting -drawBarInside:flipped:
does not prevent it (the default track) from being drawn. maybe I'm
not understanding something, but that seems like a bug to me.
No offense, but did you skip over the pseudoexample?
Override -drawWithFrame:inView. Call -drawBarInside:isFlipped: and -
drawKnob: manually. Reread the example. It works because Apple's
private bar drawing isn't called if you don't call it yourself in -
drawWithFrame:inView.
--
m-s
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden