Re: NSScroller customization
Re: NSScroller customization
- Subject: Re: NSScroller customization
- From: "I. Savant" <email@hidden>
- Date: Fri, 13 Oct 2006 14:07:22 -0400
Why subclass NSSlider when you want to make a custom
NSScroller? :-) Check out the documentation for NSScroller. You'll
need to override methods such as -drawArrow:highlight:, -drawKnob:,
etc. in order to draw your custom scroller parts.
I don't have any specific examples for you, but the above should
get you going in the right direction.
--
I.S.
On Oct 13, 2006, at 10:11 AM, AstroK Software wrote:
Hi,
I would like to implement a scroller that looks a bit like the
scroller in iTunes 7.0 when you display the album covers. I have
tried to subclass NSSlider, and found out that I can draw the knob
the way I want, but I can't do that for the background of the
scroller. Has anyone already developed a customized scroller? Is
there an example somewhere?
Thanks a lot in advance,
-- Arthur;
--
AstroK Software
Arthur VIGAN
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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