How to make a transparent NSScroller?
- by aquaibm
This is my application screenshot.There is only one NSScrollView on the window.I try to make all the scrollview elements transparent,and obviously parts of my code work, but the scroller doesn't.
Here is my draw code for custom NSScroller subclass.
- (void) drawRect: (NSRect)dirtyRect
{
[[NSColor clearColor] set];
NSRectFill(dirtyRect);
[self drawKnob];
}
Does anyone have a clue to make this work? Thanks a lot.