diff options
Diffstat (limited to 'macosx/HotkeyController.h')
| -rw-r--r-- | macosx/HotkeyController.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/macosx/HotkeyController.h b/macosx/HotkeyController.h new file mode 100644 index 00000000..59492c79 --- /dev/null +++ b/macosx/HotkeyController.h @@ -0,0 +1,30 @@ +/** + * HotkeyController + * Nicolas Pépin-Perreault - npepinpe - 2012 + */ + +#import <Cocoa/Cocoa.h> + +@interface HotkeyController : NSView +{ + NSButton *lastConfigButton; + NSInteger configInput; + NSMutableDictionary *hotkeysList; + NSDictionary *keyNameTable; + NSMutableDictionary *hotkeyOutlets; + + IBOutlet NSTextField *FastForward; + IBOutlet NSTextField *SaveState; + IBOutlet NSTextField *LoadState; + IBOutlet NSTextField *NextState; + IBOutlet NSTextField *PrevState; +} + +@property (assign) NSInteger configInput; + +- (void) initialize; +- (BOOL) handleMouseDown:(NSEvent *)mouseEvent; +- (IBAction) hotkeySet:(id)sender; +- (void) hotkeyCancel; + +@end |
