Re: NSScroller in layer backed view

2012-05-18 Thread Raleigh Ledet
Do not override drawRect:! Override the parts drawing methods: – drawKnobSlotInRect:highlight: – drawKnob https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html -raleigh On Apr 3, 2012, at 12:47 AM, Ryan Joseph w

Re: NSScroller in layer backed view

2012-04-03 Thread jonat...@mugginsoft.com
On 3 Apr 2012, at 08:47, Ryan Joseph wrote: > I've just started using CoreAnimation for fading views and simple things like > that but now I've run across a problem with NSScroller. > > In a view which is layer backed (setWantsLayer is on) I have a NSScrollView > with a custom NSScroller subcl

NSScroller in layer backed view

2012-04-03 Thread Ryan Joseph
I've just started using CoreAnimation for fading views and simple things like that but now I've run across a problem with NSScroller. In a view which is layer backed (setWantsLayer is on) I have a NSScrollView with a custom NSScroller subclass which performs drawing in drawRect:. When the root