mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 20:49:13 +00:00
Adopted GSFontEnumerator to changes on NSFontManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11375 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b7595b8469
commit
78af7eab3a
1 changed files with 4 additions and 6 deletions
|
@ -32,19 +32,17 @@
|
|||
#include <AppKit/NSFontManager.h>
|
||||
|
||||
@class NSMutableDictionary;
|
||||
@class NSMutableSet;
|
||||
@class NSArray;
|
||||
|
||||
@interface GSFontEnumerator : NSObject
|
||||
{
|
||||
id fontManager;
|
||||
NSMutableSet *allFontNames;
|
||||
NSArray *allFontNames;
|
||||
NSMutableDictionary *allFontFamilies;
|
||||
NSMutableDictionary* fontInfoDictionary;
|
||||
}
|
||||
|
||||
+ (void) setDefaultClass: (Class)defaultClass;
|
||||
+ sharedEnumeratorWithFontManager: manager;
|
||||
- (NSArray*) allFonts;
|
||||
+ (GSFontEnumerator*) sharedEnumerator;
|
||||
- (void) enumerateFontsAndFamilies;
|
||||
- (NSArray*) availableFonts;
|
||||
- (NSArray*) availableFontFamilies;
|
||||
- (NSArray*) availableMembersOfFontFamily: (NSString*)family;
|
||||
|
|
Loading…
Reference in a new issue