diff options
| author | Vadim Shpakovski | 2012-08-31 01:00:09 +0300 | 
|---|---|---|
| committer | Vadim Shpakovski | 2012-08-31 01:00:09 +0300 | 
| commit | 20a94672f8a2b11b2af2276c1dd3d5caf296efcb (patch) | |
| tree | a7e37c6bcb66c4441e4d069e82c69c1f59975c19 /MASShortcutView.h | |
| parent | 11dd71d546a15a8418176f0c0f245833be8d1fa2 (diff) | |
| download | MASShortcut-1.0.tar.bz2 | |
Introduces appearance property with a new style: Textured Rect.1.0
Diffstat (limited to 'MASShortcutView.h')
| -rw-r--r-- | MASShortcutView.h | 6 | 
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 | 
