Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
- Subject: Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
- From: Scott Anguish <email@hidden>
- Date: Sat, 16 Nov 2002 20:08:28 -0500
On Saturday, November 16, 2002, at 07:37 AM, email@hidden wrote:
- (void)highlightSelectionInClipRect:(NSRect)clipRect
{
[[NSColor redColor] set];
NSRectFill(clipRect);
}
what you see is that the WHOLE NSTableView content is drawn in red.
Even with no selection.
So what is the real purpose of highlightSelectionInClipRect?
I think its the stated purpose. it's passing you the rectangle to
clip the highlight to, not the highlight selection rect specifically.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.