mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 07:19:30 +00:00
Refactored to NS_ENUM and NS_OPTION
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user