root/tags/2C10/JVAppearancePreferences.h

Revision 1823, 1.8 kB (checked in by timothy, 4 years ago)

Moved Colloquy to a pre-compiled header. Removed all #imports that are part of the Cocoa, WebKit? and AGRegex frameworks. Removed all @class declarations that are part of the Cocoa frameworks.

Line 
1 #import "NSPreferences.h"
2
3 @class JVFontPreviewField;
4 @class JVStyle;
5
6 @interface JVAppearancePreferences : NSPreferencesModule {
7         IBOutlet WebView *preview;
8         IBOutlet NSPopUpButton *styles;
9         IBOutlet NSPopUpButton *emoticons;
10         IBOutlet JVFontPreviewField *standardFont;
11         IBOutlet NSTextField *minimumFontSize;
12         IBOutlet NSStepper *minimumFontSizeStepper;
13         IBOutlet NSTextField *baseFontSize;
14         IBOutlet NSStepper *baseFontSizeStepper;
15         IBOutlet NSButton *useStyleFont;
16         IBOutlet NSDrawer *optionsDrawer;
17         IBOutlet NSTableView *optionsTable;
18         IBOutlet NSPanel *newVariantPanel;
19         IBOutlet NSTextField *newVariantName;
20         BOOL _variantLocked;
21         BOOL _alertDisplayed;
22         JVStyle *_style;
23         NSSet *_emoticonBundles;
24         NSMutableArray *_styleOptions;
25         NSString *_userStyle;
26 }
27 - (void) selectStyleWithIdentifier:(NSString *) identifier;
28 - (void) selectEmoticonsWithIdentifier:(NSString *) identifier;
29
30 - (void) setStyle:(JVStyle *) style;
31
32 - (void) changePreferences;
33
34 - (IBAction) changeBaseFontSize:(id) sender;
35 - (IBAction) changeMinimumFontSize:(id) sender;
36
37 - (IBAction) changeDefaultChatStyle:(id) sender;
38
39 - (IBAction) noGraphicEmoticons:(id) sender;
40 - (IBAction) changeDefaultEmoticons:(id) sender;
41
42 - (IBAction) changeUseStyleFont:(id) sender;
43
44 - (IBAction) showOptions:(id) sender;
45
46 - (void) updateChatStylesMenu;
47 - (void) updateEmoticonsMenu;
48 - (void) updatePreview;
49 - (void) updateVariant;
50
51 - (void) parseStyleOptions;
52 - (NSString *) valueOfProperty:(NSString *) property forSelector:(NSString *) selector inStyle:(NSString *) style;
53 - (void) setStyleProperty:(NSString *) property forSelector:(NSString *) selector toValue:(NSString *) value;
54 - (void) setUserStyle:(NSString *) style;
55 - (void) saveStyleOptions;
56
57 - (void) showNewVariantSheet;
58 - (IBAction) closeNewVariantSheet:(id) sender;
59 - (IBAction) createNewVariant:(id) sender;
60 @end
Note: See TracBrowser for help on using the browser.