summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.h
blob: 23c8ed16994931713d0dfb3fc3e68b07f2bebe60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* $Id: PictureController.h,v 1.6 2005/04/14 20:40:05 titer Exp $

   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 <Cocoa/Cocoa.h>
#include "hb.h"

@protocol HBPictureControllerDelegate <NSObject>

- (void) pictureSettingsDidChange;

@end

@interface HBPictureController : NSWindowController <NSWindowDelegate>

@property (nonatomic, readwrite) NSInteger detelecine;
@property (nonatomic, readwrite, copy) NSString *detelecineCustomString;

@property (nonatomic, readwrite) NSInteger deinterlace;
@property (nonatomic, readwrite, copy) NSString *deinterlaceCustomString;

@property (nonatomic, readwrite) NSInteger decomb;
@property (nonatomic, readwrite, copy) NSString *decombCustomString;

@property (nonatomic, readwrite) NSInteger denoise;
@property (nonatomic, readwrite, copy) NSString *denoiseCustomString;

@property (nonatomic, readwrite) NSInteger deblock;
@property (nonatomic, readwrite) NSInteger grayscale;

@property (nonatomic, readwrite) BOOL autoCrop;
@property (nonatomic, readwrite) NSInteger useDecomb;

@property (nonatomic, readwrite, assign) id <HBPictureControllerDelegate> delegate;

- (void) setHandle:(hb_handle_t *) handle;
- (void) setTitle:(hb_title_t *) title;

- (IBAction) showPictureWindow: (id)sender;
- (IBAction) showPreviewWindow: (id)sender;

- (NSString *) pictureSizeInfoString;

@end