mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:10:47 +00:00
Implement skeleton
This commit is contained in:
parent
9769e652cd
commit
2c883a428b
2 changed files with 146 additions and 3 deletions
|
@ -92,7 +92,7 @@ typedef NSString* NSFontCollectionName;
|
||||||
- (NSArray *) matchingDescriptorsForFamily: (NSString *)family options: (NSDictionary *)options;
|
- (NSArray *) matchingDescriptorsForFamily: (NSString *)family options: (NSDictionary *)options;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
@interface NSMutableFontCollection : NSFontCollection
|
@interface NSMutableFontCollection : NSFontCollection
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,150 @@
|
||||||
|
|
||||||
#import <AppKit/NSFontCollection.h>
|
#import <AppKit/NSFontCollection.h>
|
||||||
|
|
||||||
@implementation NSFontCollection
|
@implementation NSFontCollection
|
||||||
|
|
||||||
|
// Initializers...
|
||||||
|
+ (NSFontCollection *) fontCollectionWithDescriptors: (NSArray *)queryDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSFontCollection *) fontCollectionWithAllAvailableDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSFontCollection *) fontCollectionWithLocale: (NSLocale *)locale
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (BOOL) showFontCollection: (NSFontCollection *)collection
|
||||||
|
withName: (NSFontCollectionName)name
|
||||||
|
visibility: (NSFontCollectionVisibility)visibility
|
||||||
|
error: (NSError **)error
|
||||||
|
{
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (BOOL) hideFontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
visibility: (NSFontCollectionVisibility)visibility
|
||||||
|
error: (NSError **)error
|
||||||
|
{
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (BOOL) renameFontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
visibility: (NSFontCollectionVisibility)visibility
|
||||||
|
toName: (NSFontCollectionName)name
|
||||||
|
error: (NSError **)error
|
||||||
|
{
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSArray *) allFontCollectionNames
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSFontCollection *) fontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSFontCollection *) fontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
visibility: (NSFontCollectionVisibility)visibility
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Descriptors
|
||||||
|
- (NSArray *) queryDescriptors // copy
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) exclusionDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) matchingDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) matchingDescriptorsWithOptions: (NSDictionary *)options
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) matchingDescriptorsForFamily: (NSString *)family
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) matchingDescriptorsForFamily: (NSString *)family options: (NSDictionary *)options
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
@implementation NSMutableFontCollection
|
||||||
|
|
||||||
|
+ (NSMutableFontCollection *) fontCollectionWithDescriptors: (NSArray *)queryDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableFontCollection *) fontCollectionWithAllAvailableDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableFontCollection *) fontCollectionWithLocale: (NSLocale *)locale
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableFontCollection *) fontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableFontCollection *) fontCollectionWithName: (NSFontCollectionName)name
|
||||||
|
visibility: (NSFontCollectionVisibility)visibility
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) queryDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) setQueryDescriptors: (NSArray *)queryDescriptors
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) exclusionDescriptors
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) setExclusionDescriptors: (NSArray *)exclusionDescriptors
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)addQueryForDescriptors: (NSArray *)descriptors
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)removeQueryForDescriptors: (NSArray *)descriptors
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue