NSScroller drawParts
NSScroller drawParts
- Subject: NSScroller drawParts
- From: Benjámin Salánki <email@hidden>
- Date: Fri, 29 Sep 2006 22:48:56 +0200
Hello dear list,
I am trying to implement my subclass of NSScroller and want to use
customized scroller parts, but the docs are no good. According to the
docs I need to subclass drawParts
drawParts
Caches images for the scroll buttons and knob.
- (void)drawParts
Discussion
It’s invoked only once when the NSScroller is created. You may want
to override this method if you alter the look of the NSScroller, but
you should never invoke it directly.
but this does me no good, for the following reasons:
a) my drawParts method never gets called. Any idea why?
b) i have no idea what to do in this method. Are there some default
variables that i can override to use my own images?
Google was no help on this and the archives only have one message
concerning this subject, and that is everything but clear.
Any help is greatly appreciated.
Ben _______________________________________________
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