Now, groups can retrieve a list of the contacts in that group. I probably should...
[adiumx.git] / Frameworks / ShortcutRecorder / Palette / ShortcutRecorderPalette.m
blob30c078e5516a52bfbc3e09294c25fa712ef1d5dd
1 //
2 //  ShortcutRecorderPalette.m
3 //  ShortcutRecorder
4 //
5 //  Copyright 2006 Contributors. All rights reserved.
6 //
7 //  License: BSD
8 //
9 //  Contributors:
10 //      David Dauer
12 //  Revisions:
13 //      2006-03-19 Created.
15 #import "ShortcutRecorderPalette.h"
17 @implementation ShortcutRecorderPalette
19 - (void)finishInstantiate
20 {       
21         [super finishInstantiate];
24 @end
26 @implementation SRRecorderControl (ShortcutRecorderPaletteInspector)
28 - (NSString *)inspectorClassName
30     return @"ShortcutRecorderInspector";
33 @end
35 @implementation SRRecorderControl (SRRecorderIBAdditions)
37 - (NSSize)minimumFrameSizeFromKnobPosition:(IBKnobPosition)position
39         return NSMakeSize(SRMinWidth, SRMaxHeight); // Limit width and height
42 - (NSSize)maximumFrameSizeFromKnobPosition:(IBKnobPosition)knobPosition
44         return NSMakeSize(IB_BIG_SIZE, SRMaxHeight); // Allow maximum width but limit height
47 - (BOOL)allowsAltDragging
49         return NO; // Since current cell implementation seems to be buggy
52 @end
54 @implementation SRRecorderCell (SRRecorderCellIBAdditions)
56 - (void)_saveKeyCombo
58         // We don't want to save in IB...
61 - (void)_loadKeyCombo
63         // ...and neither load the combo.
66 @end