* Source/NSTableView.m: Change highlighting color so that it shows

on both white and grey backgrounds.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-12-08 03:26:23 +00:00
parent 25353583be
commit 5518bc8938
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-12-07 22:30-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSTableView.m: Change highlighting color so that it shows
on both white and grey backgrounds.
2008-12-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindowController.m (-initWithWindow:,

View file

@ -5102,9 +5102,14 @@ static BOOL selectContiguousRegion(NSTableView *self,
row = [_selectedRows indexGreaterThanOrEqualToIndex: startingRow];
while ((row != NSNotFound) && (row <= endingRow))
{
NSColor *selectionColor = [NSColor colorWithCalibratedRed: 0.86
green: 0.92
blue: 0.99
alpha: 1.0];
//NSHighlightRect(NSIntersectionRect([self rectOfRow: row],
// clipRect));
[[NSColor whiteColor] set];
// clipRect));
[selectionColor set];
NSRectFill(NSIntersectionRect([self rectOfRow: row], clipRect));
row = [_selectedRows indexGreaterThanIndex: row];
}