I believe this is a typo in the documentation. The method you want to
override is actually spelled -drawArrow:highlightParts:

Hope this helps.

On Sun, Apr 13, 2008 at 9:18 PM, Jonathan Dann <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>  I'm trying to re-create the iTunes and HUD window scrollbars for my
> project.  I've managed to get a good looking NSScrollerKnob, and
> NSScrollerKnobSlot using bezier paths and gradients, but now I'm moving on
> to the arrows and the curved ends of the slot.
>
>  To get the knob I've overridden -drawKnob and the slot is done by
> overriding -drawKnobSlotInRect:highlight:.  By the same logic I thought that
> -drawArrow:highlight: would allow me to start playing with the arrows, but
> this never gets called.  Has anyone any experience with doing this, and
> changing the width of the whole (vertical) bar itself?  Passing arbitrary
> NSRects to -initWithFrame: doesn't seem to have any effect on the size of
> the scroll bar.
>
>  Thanks for your time,
>
>  Jon
> _______________________________________________
>
>  Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
>  Please 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:
>
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
>  This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to