On 11 Dec 2008, at 3:46 am, Corbin Dunn wrote:
There are various reasons why this happens; for one, the focus ring
may bleed into the rect that was invalidated. But, as you have
noticed, you should not rely on invalidating just a small portion
and hoping only that portion should redraw.
On Dec 10, 2008, at 2:44 AM, Graham Cox wrote:
I need to draw outside of the usual drawRect: method (no really, I
do!)
The reason is that I have a custom cell that is used in a table/
outline view that draws a colour swatch. When clicked it pops up a
menu of colours so the user can choose
On 11 Dec 2008, at 1:23 am, Erik Buck wrote:
You don't have to draw outside of -drawRect:. Instead of
invalidating the table, just call -setNeedsDisplayInRect: or -
displayInRect: and pass only the rect of the row that needs to be
redrawn.
Thanks - I'm well aware of how that works. The
You don't have to draw outside of -drawRect:. Instead of invalidating
the table, just call -setNeedsDisplayInRect: or -displayInRect: and
pass only the rect of the row that needs to be redrawn.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.
I need to draw outside of the usual drawRect: method (no really, I do!)
The reason is that I have a custom cell that is used in a table/
outline view that draws a colour swatch. When clicked it pops up a
menu of colours so the user can choose another colour. While tracking
the menu, the cell