Split into Window server and graphic context handling

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-03-28 03:53:18 +00:00
parent dc5eeca602
commit 955aa35094
26 changed files with 3096 additions and 6288 deletions

View file

@ -1101,7 +1101,7 @@ createRowsForColumn: (int)column
progressString = [@"Reading Directory " stringByAppendingString: path];
[super setTitle: progressString];
// Is the following really safe?
[GSCurrentContext() flush];
[GSCurrentContext() flushGraphics];
}
//TODO: Sort after creation of matrix so we do not sort
@ -1132,7 +1132,7 @@ createRowsForColumn: (int)column
reached_frac++;
progressString = [progressString stringByAppendingString: @"."];
[super setTitle: progressString];
[GSCurrentContext() flush];
[GSCurrentContext() flushGraphics];
}
// Now the real code
file = [files objectAtIndex: i];
@ -1183,7 +1183,7 @@ createRowsForColumn: (int)column
if (display_progress)
{
[super setTitle: @""];
[GSCurrentContext() flush];
[GSCurrentContext() flushGraphics];
}
RELEASE (pool);