From 88392d1a6963cca5009b9b0c20b054ad9e911b6c Mon Sep 17 00:00:00 2001 From: Tomáš Znamenáček Date: Tue, 5 Aug 2014 15:16:59 +0200 Subject: Introduced a separate header file for keycode definitions. --- Framework/MASShortcut.h | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'Framework/MASShortcut.h') diff --git a/Framework/MASShortcut.h b/Framework/MASShortcut.h index c9081a2..f1e489c 100644 --- a/Framework/MASShortcut.h +++ b/Framework/MASShortcut.h @@ -1,4 +1,4 @@ -#import +#import "MASKeyCodes.h" #import #define MASShortcutChar(char) [NSString stringWithFormat:@"%C", (unsigned short)(char)] @@ -9,27 +9,6 @@ (cocoaFlags & NSControlKeyMask ? controlKey : 0) | \ (cocoaFlags & NSShiftKeyMask ? shiftKey : 0)) -// 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; @interface MASShortcut : NSObject -- cgit v1.2.3