summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-03-14 09:50:42 +0100
committerDamiano Galassi <[email protected]>2016-03-14 09:50:50 +0100
commitd961c289a20d9e2e84fd8c763baa1c6abdb4b414 (patch)
tree0a39d5d4208cf3bf9a1e5e6d137d661a2296725d /macosx/HBPicture.h
parentee4ae6d3a0aa6d06b7a5aedec7e88570c868b8a8 (diff)
MacGui: added some enum to HBJob model to make things nicer in swift, plus two methods to convert from iso code to english language.
Diffstat (limited to 'macosx/HBPicture.h')
-rw-r--r--macosx/HBPicture.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/macosx/HBPicture.h b/macosx/HBPicture.h
index ee0fa99f5..74830139f 100644
--- a/macosx/HBPicture.h
+++ b/macosx/HBPicture.h
@@ -11,6 +11,13 @@
NS_ASSUME_NONNULL_BEGIN
+typedef NS_ENUM(NSUInteger, HBPictureAnarmophicMode) {
+ HBPictureAnarmophicModeNone,
+ HBPictureAnarmophicModeStrict,
+ HBPictureAnarmophicModeLoose,
+ HBPictureAnarmophicModeCustom
+};
+
extern NSString * const HBPictureChangedNotification;
/**
@@ -24,7 +31,7 @@ extern NSString * const HBPictureChangedNotification;
@property (nonatomic, readwrite) int height;
@property (nonatomic, readwrite) BOOL keepDisplayAspect;
-@property (nonatomic, readwrite) int anamorphicMode;
+@property (nonatomic, readwrite) HBPictureAnarmophicMode anamorphicMode;
@property (nonatomic, readwrite) int modulus;
/**