mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Add a few key value bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33277 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4f1e1d69a2
commit
f507c26271
8 changed files with 73 additions and 1 deletions
|
@ -109,8 +109,10 @@ first. Remaining cases, highest priority first:
|
|||
#import <Foundation/NSException.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import "AppKit/NSAttributedString.h"
|
||||
#import "AppKit/NSBezierPath.h"
|
||||
#import "AppKit/NSColor.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
#import "AppKit/NSKeyValueBinding.h"
|
||||
#import "AppKit/NSLayoutManager.h"
|
||||
#import "AppKit/NSParagraphStyle.h"
|
||||
#import "AppKit/NSRulerMarker.h"
|
||||
|
@ -118,7 +120,6 @@ first. Remaining cases, highest priority first:
|
|||
#import "AppKit/NSTextStorage.h"
|
||||
#import "AppKit/NSWindow.h"
|
||||
#import "AppKit/DPSOperators.h"
|
||||
#import "AppKit/NSBezierPath.h"
|
||||
|
||||
#import "GNUstepGUI/GSLayoutManager_internal.h"
|
||||
|
||||
|
@ -2058,6 +2059,17 @@ static void GSDrawPatternLine(NSPoint start, NSPoint end, NSInteger pattern, CGF
|
|||
|
||||
@implementation NSLayoutManager
|
||||
|
||||
/*
|
||||
* Class methods
|
||||
*/
|
||||
+ (void) initialize
|
||||
{
|
||||
if (self == [NSLayoutManager class])
|
||||
{
|
||||
[self exposeBinding: @"hyphenationFactor"];
|
||||
}
|
||||
}
|
||||
|
||||
-(void) insertTextContainer: (NSTextContainer *)aTextContainer
|
||||
atIndex: (unsigned int)index
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue