summaryrefslogtreecommitdiff
path: root/macosx/Source/HotkeyController.h
blob: d24a921cfa0f3f7644dd6cdfc84cbab744d75fe1 (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
/**
 * HotkeyController 
 * Nicolas Pépin-Perreault - npepinpe - 2012
 */

#import <Cocoa/Cocoa.h>

@interface HotkeyController : NSView

@property (weak) IBOutlet NSTextField *FastForward;
@property (weak) IBOutlet NSTextField *SaveState;
@property (weak) IBOutlet NSTextField *LoadState;
@property (weak) IBOutlet NSTextField *NextState;
@property (weak) IBOutlet NSTextField *PrevState;
@property (weak) IBOutlet NSTextField *FrameLimit;


@property NSInteger configInput;

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

@end