aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/MASShortcutView.h')
-rw-r--r--Framework/MASShortcutView.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Framework/MASShortcutView.h b/Framework/MASShortcutView.h
index 8cff0ca..166be44 100644
--- a/Framework/MASShortcutView.h
+++ b/Framework/MASShortcutView.h
@@ -3,11 +3,11 @@
extern NSString *const MASShortcutBinding;
typedef enum {
- MASShortcutViewAppearanceDefault = 0, // Height = 19 px
- MASShortcutViewAppearanceTexturedRect, // Height = 25 px
- MASShortcutViewAppearanceRounded, // Height = 43 px
- MASShortcutViewAppearanceFlat
-} MASShortcutViewAppearance;
+ MASShortcutViewStyleDefault = 0, // Height = 19 px
+ MASShortcutViewStyleTexturedRect, // Height = 25 px
+ MASShortcutViewStyleRounded, // Height = 43 px
+ MASShortcutViewStyleFlat
+} MASShortcutViewStyle;
@interface MASShortcutView : NSView
@@ -16,7 +16,7 @@ typedef enum {
@property (nonatomic, getter = isRecording) BOOL recording;
@property (nonatomic, getter = isEnabled) BOOL enabled;
@property (nonatomic, copy) void (^shortcutValueChange)(MASShortcutView *sender);
-@property (nonatomic) MASShortcutViewAppearance appearance;
+@property (nonatomic, assign) MASShortcutViewStyle style;
/// Returns custom class for drawing control.
+ (Class)shortcutCellClass;