2 // ShortcutRecorderPalette.m
5 // Copyright 2006 Contributors. All rights reserved.
13 // 2006-03-19 Created.
15 #import "ShortcutRecorderPalette.h"
17 @implementation ShortcutRecorderPalette
19 - (void)finishInstantiate
21 [super finishInstantiate];
26 @implementation SRRecorderControl (ShortcutRecorderPaletteInspector)
28 - (NSString *)inspectorClassName
30 return @"ShortcutRecorderInspector";
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
54 @implementation SRRecorderCell (SRRecorderCellIBAdditions)
58 // We don't want to save in IB...
63 // ...and neither load the combo.