Revision 2, 0.6 KB
(checked in by jon, 16 years ago)
|
Initial commit of skeletal project.
|
Line | |
---|
1 | // From Colloquy (http://colloquy.info/) |
---|
2 | |
---|
3 | #import <AppKit/NSTextField.h> |
---|
4 | |
---|
5 | @class NSFont; |
---|
6 | |
---|
7 | @interface JVFontPreviewField : NSTextField { |
---|
8 | NSFont *_actualFont; |
---|
9 | BOOL _showPointSize; |
---|
10 | BOOL _showFontFace; |
---|
11 | |
---|
12 | BOOL shouldDrawFocusRing; |
---|
13 | NSResponder *lastResp; |
---|
14 | } |
---|
15 | - (IBAction)chooseFontWithFontPanel:(id)sender; |
---|
16 | - (void)setShowPointSize:(BOOL)show; |
---|
17 | - (void)setShowFontFace:(BOOL)show; |
---|
18 | @end |
---|
19 | |
---|
20 | @interface NSObject (JVFontPreviewFieldDelegate) |
---|
21 | - (BOOL)fontPreviewField:(JVFontPreviewField *)field shouldChangeToFont:(NSFont *)font; |
---|
22 | - (void)fontPreviewField:(JVFontPreviewField *)field didChangeToFont:(NSFont *)font; |
---|
23 | @end |
---|