summaryrefslogtreecommitdiff
path: root/macosx/HotkeyController.h
blob: 59492c795a5ffa6108b1792f4c4661d442756d09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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