Refactored to NS_ENUM and NS_OPTION

This commit is contained in:
michael starke
2013-06-13 23:31:19 +02:00
parent 90f1b9641b
commit cc58ec3770
17 changed files with 91 additions and 107 deletions

View File

@@ -8,11 +8,11 @@
#import <Cocoa/Cocoa.h>
typedef enum {
MPShadowTop = 1 << 0,
MPShadowBottom = 1 << 1,
MPShadowTopAndBottom = MPShadowTop | MPShadowBottom
} MPShadowDisplay;
typedef NS_OPTIONS(NSUInteger, MPShadowDisplay) {
MPShadowTop = (1<<0),
MPShadowBottom = (1<<1),
MPShadowTopAndBottom = MPShadowTop | MPShadowBottom
};
@interface MPShadowBox : NSView