summaryrefslogtreecommitdiff
path: root/macosx/HotkeyController.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-15 21:07:55 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-15 21:07:55 +0000
commitbe3d963074ee8adf5da0371761e090488b3681d3 (patch)
tree24ac0f45405136899584fe3ef2c022c148bfb352 /macosx/HotkeyController.h
parentc0cba1977a8cac317af37c3004c53417fbce31bc (diff)
downloadpcsxr-be3d963074ee8adf5da0371761e090488b3681d3.tar.gz
Mac Patch 13437.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81770 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/HotkeyController.h')
-rw-r--r--macosx/HotkeyController.h30
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