Updated for the fact the NSHighlightRect() no longer flushes the window

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-05-22 12:06:09 +00:00
parent 68a815cb1b
commit 155b4a267f

View file

@ -443,6 +443,7 @@
NSHighlightRect (oldRect);
}
NSHighlightRect (r);
[_window flushWindow];
lit = YES;
oldRect = r;
}
@ -456,6 +457,7 @@
if (lit)
{
NSHighlightRect (oldRect);
[_window flushWindow];
lit = NO;
}
tvRect = [_tableView visibleRect];
@ -500,6 +502,7 @@
if (lit == YES)
{
NSHighlightRect(oldRect);
[_window flushWindow];
}
[self unlockFocus];
@ -530,7 +533,7 @@
[[currentColumn headerCell]
setBackgroundColor: [NSColor controlColor]];
[[currentColumn headerCell]
[[currentColumn headerCell]
highlight: YES
withFrame: rect
inView: self];
@ -651,10 +654,12 @@
if (lit)
NSHighlightRect(oldRect);
NSHighlightRect(highlightRect);
[_window flushWindow];
}
else if (!lit)
{
NSHighlightRect(highlightRect);
[_window flushWindow];
}
oldRect = highlightRect;
lit = YES;
@ -672,13 +677,15 @@
{
if (lit)
NSHighlightRect(oldRect);
// NSHighlightRect(highlightRect);
// NSHighlightRect(highlightRect);
[_window flushWindow];
}
else if (!lit)
{
// NSHighlightRect(highlightRect);
// NSHighlightRect(highlightRect);
// [_window flushWindow];
}
// oldRect = highlightRect;
// oldRect = highlightRect;
oldRect = NSZeroRect;
lit = NO; //lit = YES;
}
@ -690,6 +697,7 @@
if (lit)
{
NSHighlightRect(oldRect);
[_window flushWindow];
lit = NO;
oldRect = NSZeroRect;
}
@ -731,6 +739,7 @@
if (lit)
{
NSHighlightRect(highlightRect);
[_window flushWindow];
lit = NO;
}