aboutsummaryrefslogtreecommitdiffstats
path: root/MASShortcutView.h
diff options
context:
space:
mode:
authorVadim Shpakovski2012-08-31 01:00:09 +0300
committerVadim Shpakovski2012-08-31 01:00:09 +0300
commit20a94672f8a2b11b2af2276c1dd3d5caf296efcb (patch)
treea7e37c6bcb66c4441e4d069e82c69c1f59975c19 /MASShortcutView.h
parent11dd71d546a15a8418176f0c0f245833be8d1fa2 (diff)
downloadMASShortcut-20a94672f8a2b11b2af2276c1dd3d5caf296efcb.tar.bz2
Introduces appearance property with a new style: Textured Rect.1.0
Diffstat (limited to 'MASShortcutView.h')
-rw-r--r--MASShortcutView.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/MASShortcutView.h b/MASShortcutView.h
index 2565d6c..707a1e9 100644
--- a/MASShortcutView.h
+++ b/MASShortcutView.h
@@ -1,10 +1,16 @@
@class MASShortcut;
+typedef enum {
+ MASShortcutViewAppearanceDefault = 0,
+ MASShortcutViewAppearanceTexturedRect
+} MASShortcutViewAppearance;
+
@interface MASShortcutView : NSView
@property (nonatomic, strong) MASShortcut *shortcutValue;
@property (nonatomic, getter = isRecording) BOOL recording;
@property (nonatomic, getter = isEnabled) BOOL enabled;
@property (nonatomic, copy) void (^shortcutValueChange)(MASShortcutView *sender);
+@property (nonatomic) MASShortcutViewAppearance appearance;
@end