root/tags/2D9/JVAppearancePreferences.h

Revision 2543, 1.7 kB (checked in by timothy, 3 years ago)
  • Transparant chat areas make a return now that 10.3.9 is out and Safari 1.3 is final. Set the alpha on the background color in your variants to use transparancy.
  • Attempts to fix the AppleScript? by removed depricated commands, and ditchign the buggy .r file.
  • Other stuff I'm sure...
Line 
1 #import "NSPreferences.h"
2
3 @class JVFontPreviewField;
4 @class JVStyle;
5 @class JVStyleView;
6
7 @interface JVAppearancePreferences : NSPreferencesModule {
8         IBOutlet JVStyleView *preview;
9         IBOutlet NSPopUpButton *styles;
10         IBOutlet NSPopUpButton *emoticons;
11         IBOutlet JVFontPreviewField *standardFont;
12         IBOutlet NSTextField *minimumFontSize;
13         IBOutlet NSStepper *minimumFontSizeStepper;
14         IBOutlet NSTextField *baseFontSize;
15         IBOutlet NSStepper *baseFontSizeStepper;
16         IBOutlet NSButton *useStyleFont;
17         IBOutlet NSDrawer *optionsDrawer;
18         IBOutlet NSTableView *optionsTable;
19         IBOutlet NSPanel *newVariantPanel;
20         IBOutlet NSTextField *newVariantName;
21         BOOL _variantLocked;
22         BOOL _alertDisplayed;
23         JVStyle *_style;
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 - (IBAction) changeDefaultEmoticons:(id) sender;
39
40 - (IBAction) changeUseStyleFont:(id) sender;
41
42 - (IBAction) showOptions:(id) sender;
43
44 - (void) updateChatStylesMenu;
45 - (void) updateEmoticonsMenu;
46 - (void) updatePreview;
47 - (void) updateVariant;
48
49 - (void) parseStyleOptions;
50 - (NSString *) valueOfProperty:(NSString *) property forSelector:(NSString *) selector inStyle:(NSString *) style;
51 - (void) setStyleProperty:(NSString *) property forSelector:(NSString *) selector toValue:(NSString *) value;
52 - (void) setUserStyle:(NSString *) style;
53 - (void) saveStyleOptions;
54
55 - (void) showNewVariantSheet;
56 - (IBAction) closeNewVariantSheet:(id) sender;
57 - (IBAction) createNewVariant:(id) sender;
58 @end
Note: See TracBrowser for help on using the browser.