mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:30:38 +00:00
flushWindow updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a14735b7e9
commit
8a2bbcaae2
6 changed files with 33 additions and 19 deletions
|
@ -1055,12 +1055,13 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
|
|||
|
||||
- (void) lockFocus
|
||||
{
|
||||
[[NSGraphicsContext currentContext] lockFocusView: self];
|
||||
[[NSGraphicsContext currentContext] lockFocusView: self
|
||||
inRect: [self visibleRect]];
|
||||
}
|
||||
|
||||
- (void) unlockFocus
|
||||
{
|
||||
[[NSGraphicsContext currentContext] unlockFocusView: self];
|
||||
[[NSGraphicsContext currentContext] unlockFocusView: self needsFlush: YES ];
|
||||
}
|
||||
|
||||
- (BOOL) canDraw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue