* externs.m further defined the NSStringAdditions globals.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2916 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Felipe A. Rodriguez 1998-08-12 03:57:08 +00:00
parent 3769b37842
commit 1dc2f4ce80
3 changed files with 35 additions and 15 deletions

View file

@ -1,4 +1,8 @@
<<<<<<< ChangeLog
Tues Aug 11 1998 Felipe A. Rodriguez <far@ix.netcom.com>
* externs.m further defined the NSStringAdditions globals.
Sat Aug 8 1998 Felipe A. Rodriguez <far@ix.netcom.com>
* added NSStringDrawing.m and NSStringDrawing.h which implement the

View file

@ -37,21 +37,22 @@
// the respective property in a text attributes
// dictionary. if the key is not in the dictionary the
// default value is assumed
NSString *NSFontAttributeName; // NSFont, defaults to Helvetica 12
NSString *NSParagraphStyleAttributeName; // NSParagraphStyle, default to
// defaultParagraphStyle
NSString *NSForegroundColorAttributeName; // NSColor, default is blackColor
NSString *NSUnderlineStyleAttributeName; // int, default 0 = no underline
NSString *NSSuperscriptAttributeName; // int, default 0
NSString *NSBackgroundColorAttributeName; // NSColor,default nil =no back col
NSString *NSAttachmentAttributeName; // NSTextAttachment, default nil
NSString *NSLigatureAttributeName; // int, default 1
// 1 = default ligatures,
// 0 = no ligatures,
// 2 = all ligatures
NSString *NSBaselineOffsetAttributeName; // float, default 0 in points;
// offset from baseline,
NSString *NSKernAttributeName; // float, amount to modify default
extern NSString *NSFontAttributeName; // NSFont, defaults to Helvetica 12
// NSParagraphStyle, default is defaultParagraphStyle
extern NSString *NSParagraphStyleAttributeName;
// NSColor, default is blackColor
extern NSString *NSForegroundColorAttributeName;
// int, default 0 = no underline
extern NSString *NSUnderlineStyleAttributeName;
extern NSString *NSSuperscriptAttributeName; // int, default 0
// NSColor, default nil = no background color
extern NSString *NSBackgroundColorAttributeName;
extern NSString *NSAttachmentAttributeName; // NSTextAttachment, default nil
// int, default 1, 0 = no ligatures, 2 = all ligatures
extern NSString *NSLigatureAttributeName;
extern NSString *NSBaselineOffsetAttributeName; // float, default 0 in points;
// float, offset from baseline,
extern NSString *NSKernAttributeName; // amount to modify default
// kerning, if 0 kerning is off
enum
{ // Currently supported values for

View file

@ -7,6 +7,8 @@
Author: Scott Christley <scottc@net-community.com>
Date: August 1997
Author: Felipe A. Rodriguez <far@ix.netcom.com>
Date: Aug 1998
This file is part of the GNUstep GUI Library.
@ -303,3 +305,16 @@ NSString *NSWorkspaceWillPowerOffNotification =
NSString *NSWorkspaceWillUnmountNotification =
@"NSWorkspaceWillUnmountNotification";
//
// NSStringDrawing NSString additions
//
NSString *NSFontAttributeName = @"NSFontAttributeName";
NSString *NSParagraphStyleAttributeName = @"NSParagraphStyleAttributeName";
NSString *NSForegroundColorAttributeName = @"NSForegroundColorAttributeName";
NSString *NSUnderlineStyleAttributeName = @"NSUnderlineStyleAttributeName";
NSString *NSSuperscriptAttributeName = @"NSSuperscriptAttributeName";
NSString *NSBackgroundColorAttributeName = @"NSBackgroundColorAttributeName";
NSString *NSAttachmentAttributeName = @"NSAttachmentAttributeName";
NSString *NSLigatureAttributeName = @"NSLigatureAttributeName";
NSString *NSBaselineOffsetAttributeName = @"NSBaselineOffsetAttributeName";
NSString *NSKernAttributeName = @"NSKernAttributeName";