Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITKeyComboPanel.h
1 /*
2  *      ITKit
3  *      ITKeyComboPanel.h
4  *
5  *      Copyright (c) 2005 iThink Software
6  *
7  */
8
9 #import <Cocoa/Cocoa.h>
10
11 @class ITKeyBroadcaster;
12 @class ITKeyCombo;
13 @class ITHotKey;
14
15 @interface ITKeyComboPanel : NSWindowController {
16         IBOutlet NSTextField *mTitleField;
17         IBOutlet NSTextField *mComboField;
18         IBOutlet ITKeyBroadcaster *mKeyBcaster;
19         NSString *mKeyName;
20         ITKeyCombo *mKeyCombo;
21 }
22
23 + (id)sharedPanel;
24
25 - (int)runModal;
26 - (void)runModalForHotKey:(ITHotKey *)hotKey;
27
28 - (void)setKeyCombo:(ITKeyCombo *)combo;
29 - (ITKeyCombo *)keyCombo;
30
31 - (void)setKeyBindingName:(NSString *)name;
32 - (NSString *)keyBindingName;
33
34 - (IBAction)ok:(id)sender;
35 - (IBAction)cancel:(id)sender;
36 - (IBAction)clear:(id)sender;
37
38 @end