diff options
| author | Tomáš Znamenáček | 2014-08-06 18:38:51 +0200 |
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-07 15:42:21 +0100 |
| commit | f9f48f5ca83f7723eabdd16d0c95195092a8a514 (patch) | |
| tree | 7f0442c909d5e9bd182099bfbd94d377ee5eac0f /Framework/MASShortcutView.h | |
| parent | 444d1bccb9770738fa4ea40383c23f44a55089c2 (diff) | |
| download | MASShortcut-f9f48f5ca83f7723eabdd16d0c95195092a8a514.tar.bz2 | |
Removed explicit @synthesize and renamed “appearance” to “style”.
The “appearance” property didn’t play nice with auto-synthesizing,
not really sure why.
Diffstat (limited to 'Framework/MASShortcutView.h')
| -rw-r--r-- | Framework/MASShortcutView.h | 12 |
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; |
