mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
* Headers/AppKit/NSTextContainer.h,
* Source/NSTextContainer.m, * Source/GSHorizontalTypesetter.m: Correct the definition of NSLineMovementDirection. * Headers/AppKit/NSFont.h * Source/NSFont.m: Add a few missing 10.4 methods. * Header/AppKit/NSLayoutManager.h, * Source/NSLayoutManager.m: Add one 10.5 method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35999 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff7f9ada4a
commit
28a4847640
8 changed files with 88 additions and 15 deletions
|
@ -379,7 +379,7 @@ framework intact.
|
|||
|
||||
switch (moveDir)
|
||||
{
|
||||
case NSLineMoveLeft:
|
||||
case NSLineMovesLeft:
|
||||
if (maxx < cminx)
|
||||
return NSZeroRect;
|
||||
if (maxx > cmaxx)
|
||||
|
@ -389,7 +389,7 @@ framework intact.
|
|||
}
|
||||
break;
|
||||
|
||||
case NSLineMoveRight:
|
||||
case NSLineMovesRight:
|
||||
if (minx > cmaxx)
|
||||
return NSZeroRect;
|
||||
if (minx < cminx)
|
||||
|
@ -399,7 +399,7 @@ framework intact.
|
|||
}
|
||||
break;
|
||||
|
||||
case NSLineMoveDown:
|
||||
case NSLineMovesDown:
|
||||
if (miny > cmaxy)
|
||||
return NSZeroRect;
|
||||
if (miny < cminy)
|
||||
|
@ -409,7 +409,7 @@ framework intact.
|
|||
}
|
||||
break;
|
||||
|
||||
case NSLineMoveUp:
|
||||
case NSLineMovesUp:
|
||||
if (maxy < cminy)
|
||||
return NSZeroRect;
|
||||
if (maxy > cmaxy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue