aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Framework/MASKeyCodes.h2
-rw-r--r--Framework/MASShortcutView.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Framework/MASKeyCodes.h b/Framework/MASKeyCodes.h
index b89cd3c..4c000b1 100644
--- a/Framework/MASKeyCodes.h
+++ b/Framework/MASKeyCodes.h
@@ -3,7 +3,7 @@
#import "MASKeyMasks.h"
// These glyphs are missed in Carbon.h
-enum {
+typedef NS_ENUM(unsigned short, kMASShortcutGlyph) {
kMASShortcutGlyphEject = 0x23CF,
kMASShortcutGlyphClear = 0x2715,
kMASShortcutGlyphDeleteLeft = 0x232B,
diff --git a/Framework/MASShortcutView.h b/Framework/MASShortcutView.h
index 656f4e4..75d4eb3 100644
--- a/Framework/MASShortcutView.h
+++ b/Framework/MASShortcutView.h
@@ -2,12 +2,12 @@
extern NSString *const MASShortcutBinding;
-typedef enum {
+typedef NS_ENUM(NSInteger, MASShortcutViewStyle) {
MASShortcutViewStyleDefault = 0, // Height = 19 px
MASShortcutViewStyleTexturedRect, // Height = 25 px
MASShortcutViewStyleRounded, // Height = 43 px
MASShortcutViewStyleFlat
-} MASShortcutViewStyle;
+};
@interface MASShortcutView : NSView