summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-23 10:26:39 +0000
committerritsuka <[email protected]>2014-12-23 10:26:39 +0000
commit9297c8f803c220c58b0cb187be8c584643ac3418 (patch)
treebd88e8e632a3121d6232eeb9d8b342e19657bb6e /macosx/PictureController.m
parenta66b692e29674de9c444fd54f0493d03b4900abc (diff)
MacGui: remove some unused #import. Move again more things in HBController to HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6644 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.m')
-rw-r--r--macosx/PictureController.m33
1 files changed, 3 insertions, 30 deletions
diff --git a/macosx/PictureController.m b/macosx/PictureController.m
index c1a813ae5..7d65d5664 100644
--- a/macosx/PictureController.m
+++ b/macosx/PictureController.m
@@ -4,36 +4,9 @@
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
-#import "Controller.h"
#import "PictureController.h"
-#import "HBPreviewController.h"
-
-#import "HBTitle.h"
-
-@interface HBCustomFilterTransformer : NSValueTransformer
-@end
-
-@implementation HBCustomFilterTransformer
-
-+ (Class)transformedValueClass
-{
- return [NSNumber class];
-}
-
-- (id)transformedValue:(id)value
-{
- if ([value intValue] == 1)
- return @NO;
- else
- return @YES;
-}
-
-+ (BOOL)allowsReverseTransformation
-{
- return NO;
-}
-
-@end
+#import "HBFilters.h"
+#import "HBPicture.h"
static void *HBPictureControllerContext = &HBPictureControllerContext;
@@ -308,7 +281,7 @@ static void *HBPictureControllerContext = &HBPictureControllerContext;
NSSize pictureCropBoxSize = [fPictureCropBox frame].size;
NSPoint fPictureCropBoxOrigin = [fPictureCropBox frame].origin;
- if ([fAnamorphicPopUp indexOfSelectedItem] == HB_ANAMORPHIC_CUSTOM)
+ if ([fAnamorphicPopUp indexOfSelectedItem] == 3)
{ // custom / power user jamboree
pictureSizingBoxSize.width = 350;
}