Minor improvements to the localization updating script to hand a missing Scripts...
[adiumx.git] / Source / AIListThemeWindowController.h
blob9f83cde32b3a45f4fa2adce31b5e8ad20e2521ac
1 /*
2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
4 *
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11 * Public License for more details.
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #import <Adium/AIWindowController.h>
19 @class AITextColorPreviewView;
21 @interface AIListThemeWindowController : AIWindowController {
22 IBOutlet NSTextField *textField_themeName;
24 IBOutlet NSButton *checkBox_signedOff;
25 IBOutlet NSColorWell *colorWell_signedOff;
26 IBOutlet NSColorWell *colorWell_signedOffLabel;
27 IBOutlet AITextColorPreviewView *preview_signedOff;
29 IBOutlet NSButton *checkBox_signedOn;
30 IBOutlet NSColorWell *colorWell_signedOn;
31 IBOutlet NSColorWell *colorWell_signedOnLabel;
32 IBOutlet AITextColorPreviewView *preview_signedOn;
34 IBOutlet NSButton *checkBox_away;
35 IBOutlet NSColorWell *colorWell_away;
36 IBOutlet NSColorWell *colorWell_awayLabel;
37 IBOutlet AITextColorPreviewView *preview_away;
39 IBOutlet NSButton *checkBox_idle;
40 IBOutlet NSColorWell *colorWell_idle;
41 IBOutlet NSColorWell *colorWell_idleLabel;
42 IBOutlet AITextColorPreviewView *preview_idle;
44 IBOutlet NSButton *checkBox_typing;
45 IBOutlet NSColorWell *colorWell_typing;
46 IBOutlet NSColorWell *colorWell_typingLabel;
47 IBOutlet AITextColorPreviewView *preview_typing;
49 IBOutlet NSButton *checkBox_unviewedContent;
50 IBOutlet NSColorWell *colorWell_unviewedContent;
51 IBOutlet NSColorWell *colorWell_unviewedContentLabel;
52 IBOutlet AITextColorPreviewView *preview_unviewedContent;
54 IBOutlet NSButton *checkBox_online;
55 IBOutlet NSColorWell *colorWell_online;
56 IBOutlet NSColorWell *colorWell_onlineLabel;
57 IBOutlet AITextColorPreviewView *preview_online;
59 IBOutlet NSButton *checkBox_idleAndAway;
60 IBOutlet NSColorWell *colorWell_idleAndAway;
61 IBOutlet NSColorWell *colorWell_idleAndAwayLabel;
62 IBOutlet AITextColorPreviewView *preview_idleAndAway;
64 IBOutlet NSButton *checkBox_offline;
65 IBOutlet NSColorWell *colorWell_offline;
66 IBOutlet NSColorWell *colorWell_offlineLabel;
67 IBOutlet AITextColorPreviewView *preview_offline;
69 IBOutlet NSButton *checkBox_useBackgroundImage;
70 IBOutlet NSButton *button_setBackgroundImage;
71 IBOutlet NSTextField *textField_backgroundImagePath;
72 IBOutlet NSSlider *slider_backgroundFade;
73 IBOutlet NSTextField *textField_backgroundFade;
74 IBOutlet NSPopUpButton *popUp_displayImageStyle;
76 IBOutlet NSColorWell *colorWell_background;
77 IBOutlet AITextColorPreviewView *preview_background;
78 IBOutlet NSColorWell *colorWell_customHighlight;
79 IBOutlet AITextColorPreviewView *preview_customHighlight;
80 IBOutlet NSButton *checkBox_drawCustomHighlight;
81 IBOutlet NSColorWell *colorWell_grid;
82 IBOutlet AITextColorPreviewView *preview_grid;
83 IBOutlet NSButton *checkBox_drawGrid;
84 IBOutlet NSButton *checkBox_backgroundAsStatus;
85 IBOutlet NSButton *checkBox_backgroundAsEvents;
86 IBOutlet NSColorWell *colorWell_statusText;
87 IBOutlet NSButton *checkBox_fadeOfflineImages;
89 IBOutlet NSButton *checkBox_groupGradient;
90 IBOutlet NSButton *checkBox_groupShadow;
91 IBOutlet NSColorWell *colorWell_groupText;
92 IBOutlet NSColorWell *colorWell_groupShadow;
93 IBOutlet NSColorWell *colorWell_groupBackground;
94 IBOutlet NSColorWell *colorWell_groupBackgroundGradient;
95 IBOutlet AITextColorPreviewView *preview_group;
97 id target;
98 NSString *themeName;
101 + (id)editListThemeWithName:(NSString *)inName onWindow:(NSWindow *)parentWindow notifyingTarget:(id)inTarget;
102 - (IBAction)cancel:(id)sender;
103 - (IBAction)okay:(id)sender;
104 - (void)preferenceChanged:(id)sender;
105 - (IBAction)selectBackgroundImage:(id)sender;
107 @end
109 @interface NSObject (AIListThemeWindowTarget)
110 - (void)listThemeEditorWillCloseWithChanges:(BOOL)changes forThemeNamed:(NSString *)name;
111 @end