File: PQFontDocument.h

package info (click to toggle)
fontmanager.app 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 564 kB
  • sloc: objc: 1,618; makefile: 19
file content (48 lines) | stat: -rwxr-xr-x 984 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * PQFontDocument.h - Font Manager
 *
 * Class which represents a font document.
 *
 * Copyright 2007 Isaiah Beerbower.
 *
 * Author: Isaiah Beerbower
 * Created: 11/30/07
 * License: 3-Clause BSD license (see file COPYING)
 */

#import <AppKit/AppKit.h>
#ifdef GNUSTEP
#import <GNUstepGUI/GSFontInfo.h>
#else
#import <CoreServices/CoreServices.h>
#endif
#import "PQCharactersController.h"
#import "PQSampleController.h"

@interface PQFontDocument : NSDocument
{
  NSButton *installButton;
  NSButton *installAllButton;
	NSPopUpButton *facePopUpButton;
  NSTableView *infoView;
  NSTabView *tabView;
	NSString *fontName;
	
	PQSampleController *sampleController;
	PQCharactersController *charactersController;
	
	NSMutableDictionary *fontInfo;
	NSMutableArray *fontInfoIndex;
	
#ifndef GNUSTEP
	ATSFontContainerRef fontContainer;
#endif
}

- (void) install: (id)sender;
- (void) installAll: (id)sender;
- (void) selectFace: (id)sender;

- (void) setFont: (NSString *)newFont;

@end