mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 04:50:47 +00:00
Make drawing debug logging a bit more detailed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
230e74d38b
commit
616f6d342a
3 changed files with 22 additions and 5 deletions
|
@ -405,7 +405,10 @@ static NSCell *tileCell = nil;
|
|||
- (void) drawRect: (NSRect)rect
|
||||
{
|
||||
NSColor *c = [[self window] backgroundColor];
|
||||
|
||||
|
||||
NSDebugLLog(@"NSView", @"-drawRect: %@ for %@ in window %p (%@)",
|
||||
NSStringFromRect(rect), self, _window,
|
||||
NSStringFromRect([_window frame]));
|
||||
[c set];
|
||||
NSRectFill(rect);
|
||||
}
|
||||
|
@ -2855,7 +2858,9 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
|
|||
[self makeFirstResponder: v];
|
||||
}
|
||||
if (_lastView)
|
||||
DESTROY(_lastView);
|
||||
{
|
||||
DESTROY(_lastView);
|
||||
}
|
||||
if (wasKey == YES || [v acceptsFirstMouse: theEvent] == YES)
|
||||
{
|
||||
if ([NSHelpManager isContextHelpModeActive])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue