summaryrefslogtreecommitdiff
path: root/redo/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-11 11:52:10 -0400
committerPietro Gagliardi <[email protected]>2014-08-11 11:52:10 -0400
commitbb8603ed4e169cc4a9666e462cc5cd4f341ad100 (patch)
treead7310294dbb5997aa7463e87ab3931881515de7 /redo/objc_darwin.h
parent5a67a81e0bf7e91635546597dfb1a15d28dca593 (diff)
Moved Mac OS X modifier flags constants to the Objective-C side for maximum safety.
Diffstat (limited to 'redo/objc_darwin.h')
-rw-r--r--redo/objc_darwin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/redo/objc_darwin.h b/redo/objc_darwin.h
index 99089fc..dd5ff9d 100644
--- a/redo/objc_darwin.h
+++ b/redo/objc_darwin.h
@@ -102,6 +102,10 @@ extern struct xalignment alignmentInfoFrame(id);
extern Class getAreaClass(void);
extern id newArea(void *);
extern BOOL drawImage(void *, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t);
+extern const uintptr_t cNSShiftKeyMask;
+extern const uintptr_t cNSControlKeyMask;
+extern const uintptr_t cNSAlternateKeyMask;
+extern const uintptr_t cNSCommandKeyMask;
extern uintptr_t modifierFlags(id);
extern struct xpoint getTranslatedEventPoint(id, id);
extern intptr_t buttonNumber(id);