Changed controlKey display character, per Alex's request.
[ITKit.git] / ITKeyComboPanel.h
1 /*
2  *      ITKit
3  *      ITKeyComboPanel.h
4  *
5  *      Copyright (c) 2005 by iThink Software.
6  *      All Rights Reserved.
7  *
8  *      $Id$
9  *
10  */
11
12 #import <Cocoa/Cocoa.h>
13
14 @class ITKeyBroadcaster;
15 @class ITKeyCombo;
16 @class ITHotKey;
17
18 @interface ITKeyComboPanel : NSWindowController {
19         IBOutlet NSTextField *mTitleField;
20         IBOutlet NSTextField *mComboField;
21         IBOutlet ITKeyBroadcaster *mKeyBcaster;
22         NSString *mKeyName;
23         ITKeyCombo *mKeyCombo;
24 }
25
26 + (id)sharedPanel;
27
28 - (int)runModal;
29 - (void)runModalForHotKey:(ITHotKey *)hotKey;
30
31 - (void)setKeyCombo:(ITKeyCombo *)combo;
32 - (ITKeyCombo *)keyCombo;
33
34 - (void)setKeyBindingName:(NSString *)name;
35 - (NSString *)keyBindingName;
36
37 - (IBAction)ok:(id)sender;
38 - (IBAction)cancel:(id)sender;
39 - (IBAction)clear:(id)sender;
40
41 @end