Re: NSCell and partial redraw

2010-08-31 Thread Mike Abdullah
On 31 Aug 2010, at 17:03, Patrick Mau wrote: > Hallo Fritz > > Thanks a lot for your comments. I just have a few remarks to clarify what I > meant. > Please see below. > > On 31.08.2010, at 17:26, Fritz Anderson wrote: > >> On 31 Aug 2010, at 4:59 AM, Patrick Mau wrote: >> >>> Let's assume I

Re: NSCell and partial redraw

2010-08-31 Thread Patrick Mau
Hallo Fritz Thanks a lot for your comments. I just have a few remarks to clarify what I meant. Please see below. On 31.08.2010, at 17:26, Fritz Anderson wrote: > On 31 Aug 2010, at 4:59 AM, Patrick Mau wrote: > >> Let's assume I have a custom NSView that will use to custom NSCell instances >>

Re: NSCell and partial redraw

2010-08-31 Thread Fritz Anderson
On 31 Aug 2010, at 4:59 AM, Patrick Mau wrote: > Let's assume I have a custom NSView that will use to custom NSCell instances > to render its contents. > Now, if "drawRect:" is called on the NSView, I get the dirty rect that needs > to be redrawn. > > The NSCell class on the other hands uses: >

NSCell and partial redraw

2010-08-31 Thread Patrick Mau
Hallo everyone Let's assume I have a custom NSView that will use to custom NSCell instances to render its contents. Now, if "drawRect:" is called on the NSView, I get the dirty rect that needs to be redrawn. The NSCell class on the other hands uses: - (void)drawWithFrame:(NSRect)cellFrame inVi