2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
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.
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 JVFontPreviewField
, JVFontPreviewField
;
21 @interface AIListLayoutWindowController
: AIWindowController
{
22 IBOutlet NSPopUpButton
*popUp_contactTextAlignment
;
23 IBOutlet NSPopUpButton
*popUp_groupTextAlignment
;
24 IBOutlet NSPopUpButton
*popUp_extendedStatusStyle
;
25 IBOutlet NSPopUpButton
*popUp_extendedStatusPosition
;
26 IBOutlet NSPopUpButton
*popUp_userIconPosition
;
27 IBOutlet NSPopUpButton
*popUp_statusIconPosition
;
28 IBOutlet NSPopUpButton
*popUp_serviceIconPosition
;
30 IBOutlet NSButton
*checkBox_userIconVisible
;
31 IBOutlet NSButton
*checkBox_extendedStatusVisible
;
32 IBOutlet NSButton
*checkBox_statusIconsVisible
;
33 IBOutlet NSButton
*checkBox_serviceIconsVisible
;
35 IBOutlet NSSlider
*slider_userIconSize
;
36 IBOutlet NSTextField
*textField_userIconSize
;
37 IBOutlet NSSlider
*slider_contactSpacing
;
38 IBOutlet NSTextField
*textField_contactSpacing
;
39 IBOutlet NSSlider
*slider_groupTopSpacing
;
40 IBOutlet NSTextField
*textField_groupTopSpacing
;
41 IBOutlet NSSlider
*slider_contactLeftIndent
;
42 IBOutlet NSTextField
*textField_contactLeftIndent
;
43 IBOutlet NSSlider
*slider_contactRightIndent
;
44 IBOutlet NSTextField
*textField_contactRightIndent
;
46 IBOutlet JVFontPreviewField
*fontField_contact
;
47 IBOutlet JVFontPreviewField
*fontField_status
;
48 IBOutlet JVFontPreviewField
*fontField_group
;
50 IBOutlet NSTabView
*tabView_preferences
;
52 //Advanced contact bubble options
53 IBOutlet NSTabViewItem
*tabViewItem_advancedContactBubbles
;
54 IBOutlet NSButton
*checkBox_outlineBubbles
;
55 IBOutlet NSButton
*checkBox_drawContactBubblesWithGraadient
;
56 IBOutlet NSButton
*checkBox_showGroupBubbles
;
57 IBOutlet NSSlider
*slider_outlineWidth
;
58 IBOutlet NSTextField
*textField_outlineWidthIndicator
;
64 + (id
)editListLayoutWithName
:(NSString
*)inName onWindow
:(NSWindow
*)parentWindow notifyingTarget
:(id
)inTarget
;
65 - (IBAction
)cancel
:(id
)sender
;
66 - (IBAction
)okay
:(id
)sender
;
67 - (void)preferenceChanged
:(id
)sender
;
71 @interface
NSObject (AIListLayoutWindowTarget
)
72 - (void)listLayoutEditorWillCloseWithChanges
:(BOOL
)changes forLayoutNamed
:(NSString
*)name
;