mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 11:20:58 +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
c0f076af8e
commit
ad764f5da2
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>
|
Wed Mar 17 6:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/NSAffineTransform.m: bounding matrix of an unrotated rect
|
* Source/NSAffineTransform.m: bounding matrix of an unrotated rect
|
||||||
|
|
|
@ -1032,12 +1032,12 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
|
||||||
|
|
||||||
- (void) lockFocus
|
- (void) lockFocus
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[[NSGraphicsContext currentContext] lockFocusView: self];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) unlockFocus
|
- (void) unlockFocus
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[[NSGraphicsContext currentContext] unlockFocusView: self];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) canDraw
|
- (BOOL) canDraw
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue