summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture+UIAdditions.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPicture+UIAdditions.h')
-rw-r--r--macosx/HBPicture+UIAdditions.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/macosx/HBPicture+UIAdditions.h b/macosx/HBPicture+UIAdditions.h
new file mode 100644
index 000000000..367127870
--- /dev/null
+++ b/macosx/HBPicture+UIAdditions.h
@@ -0,0 +1,29 @@
+/* HBPicture+UIAdditions.h $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#import <Foundation/Foundation.h>
+#import "HBPicture.h"
+
+@interface HBPicture (UIAdditions)
+
+/**
+ * UI enabled bindings
+ */
+@property (nonatomic, readonly) NSString *info;
+
+@property (nonatomic, readonly) int maxWidth;
+@property (nonatomic, readonly) int maxHeight;
+
+@property (nonatomic, readonly) int maxVerticalCrop;
+@property (nonatomic, readonly) int maxHorizontalCrop;
+
+@property (nonatomic, readonly, getter=isWidthEditable) BOOL widthEditable;
+@property (nonatomic, readonly, getter=isHeightEditable) BOOL heightEditable;
+
+@property (nonatomic, readonly, getter=isKeepDisplayAspect) BOOL keepDisplayAspectEditable;
+@property (nonatomic, readonly, getter=isCustomAnamorphicEnabled) BOOL customAnamorphicEnabled;
+
+@end