From 9297c8f803c220c58b0cb187be8c584643ac3418 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Tue, 23 Dec 2014 10:26:39 +0000 Subject: 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 --- macosx/PictureController.m | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) (limited to 'macosx/PictureController.m') 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: . 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; } -- cgit v1.2.3