X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/4f3da8543caacbaf1ce219e547e24a5490bee090..f62f46dfa394f35899b21f2b2cf793e8c651d9bb:/ITKeyComboPanel.h?ds=sidebyside diff --git a/ITKeyComboPanel.h b/ITKeyComboPanel.h old mode 100755 new mode 100644 index 85806d4..e1725f4 --- a/ITKeyComboPanel.h +++ b/ITKeyComboPanel.h @@ -1,50 +1,38 @@ /* * ITKit - * ITKeyComboPanel + * ITKeyComboPanel.h * - * Original Author : Quentin Carnicelli <...> - * Responsibility : Kent Sutherland - * Responsibility : Matthew Judy - * - * Copyright (c) 2002 - 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 iThink Software * */ - -#import - +#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; +@interface ITKeyComboPanel : NSWindowController { + IBOutlet NSTextField *mTitleField; + IBOutlet NSTextField *mComboField; + IBOutlet ITKeyBroadcaster *mKeyBcaster; + NSString *mKeyName; + ITKeyCombo *mKeyCombo; } + (id)sharedPanel; - (int)runModal; -- (void)runModalForHotKey: (ITHotKey*)hotKey; - -- (void)setKeyCombo: (ITKeyCombo*)combo; -- (ITKeyCombo*)keyCombo; +- (void)runModalForHotKey:(ITHotKey *)hotKey; -- (void)setKeyBindingName: (NSString*)name; -- (NSString*)keyBindingName; +- (void)setKeyCombo:(ITKeyCombo *)combo; +- (ITKeyCombo *)keyCombo; -- (IBAction)ok: (id)sender; -- (IBAction)cancel: (id)sender; -- (IBAction)clear: (id)sender; +- (void)setKeyBindingName:(NSString *)name; +- (NSString *)keyBindingName; +- (IBAction)ok:(id)sender; +- (IBAction)cancel:(id)sender; +- (IBAction)clear:(id)sender; -@end +@end \ No newline at end of file