X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/29eb1a7ef6ff49cace92432b1813845fd3a7d1e9..d9649564199a7220e70716aa0999c6fddb0efadc:/ITKeyComboPanel.h diff --git a/ITKeyComboPanel.h b/ITKeyComboPanel.h new file mode 100755 index 0000000..fbe18aa --- /dev/null +++ b/ITKeyComboPanel.h @@ -0,0 +1,40 @@ +// +// ITKeyComboPanel.h + +// +// Created by Quentin Carnicelli on Sun Aug 03 2003. +// Copyright (c) 2003 iThink Software. All rights reserved. +// + +#import + +@class ITKeyBroadcaster; +@class ITKeyCombo; +@class ITHotKey; + +@interface ITKeyComboPanel : NSWindowController +{ + IBOutlet NSTextField* mTitleField; + IBOutlet NSTextField* mComboField; + IBOutlet ITKeyBroadcaster* mKeyBcaster; + + NSString* mTitleFormat; + NSString* mKeyName; + ITKeyCombo* mKeyCombo; +} + ++ (id)sharedPanel; + +- (int)runModal; +- (void)runModalForHotKey: (ITHotKey*)hotKey; + +- (void)setKeyCombo: (ITKeyCombo*)combo; +- (ITKeyCombo*)keyCombo; + +- (void)setKeyBindingName: (NSString*)name; +- (NSString*)keyBindingName; + +- (IBAction)ok: (id)sender; +- (IBAction)cancel: (id)sender; +- (IBAction)clear: (id)sender; +@end