mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Lock and unlock focus
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3957 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3f31656517
commit
b54c16fb31
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 22 12:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSView.m: implement lockFocus and unlockFocus
|
||||
t
|
||||
Wed Mar 17 6:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSAffineTransform.m: bounding matrix of an unrotated rect
|
||||
|
|
|
@ -1032,12 +1032,12 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
|
|||
|
||||
- (void) lockFocus
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
[[NSGraphicsContext currentContext] lockFocusView: self];
|
||||
}
|
||||
|
||||
- (void) unlockFocus
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
[[NSGraphicsContext currentContext] unlockFocusView: self];
|
||||
}
|
||||
|
||||
- (BOOL) canDraw
|
||||
|
|
Loading…
Reference in a new issue