aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASKeyCodes.h
diff options
context:
space:
mode:
authorTomáš Znamenáček2014-08-05 15:16:59 +0200
committerTomáš Znamenáček2015-01-07 15:05:12 +0100
commit88392d1a6963cca5009b9b0c20b054ad9e911b6c (patch)
tree92ecc9ec75e38b0b2e6efd0ba63c375e6afbaa7a /Framework/MASKeyCodes.h
parent42daeb6f1298c800b3d42a6b746e2e6ef6b0670e (diff)
downloadMASShortcut-88392d1a6963cca5009b9b0c20b054ad9e911b6c.tar.bz2
Introduced a separate header file for keycode definitions.
Diffstat (limited to 'Framework/MASKeyCodes.h')
-rw-r--r--Framework/MASKeyCodes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Framework/MASKeyCodes.h b/Framework/MASKeyCodes.h
new file mode 100644
index 0000000..69b2a97
--- /dev/null
+++ b/Framework/MASKeyCodes.h
@@ -0,0 +1,23 @@
+#import <Carbon/Carbon.h>
+
+// These glyphs are missed in Carbon.h
+enum {
+ kMASShortcutGlyphEject = 0x23CF,
+ kMASShortcutGlyphClear = 0x2715,
+ kMASShortcutGlyphDeleteLeft = 0x232B,
+ kMASShortcutGlyphDeleteRight = 0x2326,
+ kMASShortcutGlyphLeftArrow = 0x2190,
+ kMASShortcutGlyphRightArrow = 0x2192,
+ kMASShortcutGlyphUpArrow = 0x2191,
+ kMASShortcutGlyphDownArrow = 0x2193,
+ kMASShortcutGlyphEscape = 0x238B,
+ kMASShortcutGlyphHelp = 0x003F,
+ kMASShortcutGlyphPageDown = 0x21DF,
+ kMASShortcutGlyphPageUp = 0x21DE,
+ kMASShortcutGlyphTabRight = 0x21E5,
+ kMASShortcutGlyphReturn = 0x2305,
+ kMASShortcutGlyphReturnR2L = 0x21A9,
+ kMASShortcutGlyphPadClear = 0x2327,
+ kMASShortcutGlyphNorthwestArrow = 0x2196,
+ kMASShortcutGlyphSoutheastArrow = 0x2198,
+} MASShortcutGlyph;