summaryrefslogtreecommitdiff
path: root/macosx/HotkeyController.h
blob: baf539d555a3b9f19e2efbc7979bc5d08dd7ea21 (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
31
/**
 * 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;
    IBOutlet NSTextField *FrameLimit;
}

@property (assign) NSInteger configInput;

- (void) initialize;
- (BOOL) handleMouseDown:(NSEvent *)mouseEvent;
- (IBAction) hotkeySet:(id)sender;
- (void) hotkeyCancel;

@end