OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / macosx / HBAdvancedController.h
1 /* HBAdvancedController
2
3     This file is part of the HandBrake source code.
4     Homepage: <http://handbrake.fr/>.
5     It may be used under the terms of the GNU General Public License. */
6
7 #import <Cocoa/Cocoa.h>
8
9 @interface HBAdvancedController : NSObject
10 {
11     /* Advanced Tab for opts fX264optView*/
12     NSBox                       * fOptionsBox;
13     
14     IBOutlet NSView             * fX264optView;
15     IBOutlet NSView             * fEmptyView;
16     IBOutlet NSTextField        * fX264optViewTitleLabel;
17     IBOutlet NSTextField        * fDisplayX264OptionsLabel;
18     IBOutlet NSTextField        * fDisplayX264Options;
19     IBOutlet NSTextField        * fX264optBframesLabel;
20     IBOutlet NSPopUpButton      * fX264optBframesPopUp;
21     IBOutlet NSTextField        * fX264optRefLabel;
22     IBOutlet NSPopUpButton      * fX264optRefPopUp;
23     IBOutlet NSButton           * fX264optWeightPSwitch;
24     IBOutlet NSTextField        * fX264optWeightPLabel;
25     IBOutlet NSTextField        * fX264optNodctdcmtLabel;
26     IBOutlet NSButton           * fX264optNodctdcmtSwitch;
27     IBOutlet NSTextField        * fX264optSubmeLabel;
28     IBOutlet NSPopUpButton      * fX264optSubmePopUp;
29     IBOutlet NSTextField        * fX264optTrellisLabel;
30     IBOutlet NSPopUpButton      * fX264optTrellisPopUp;
31     IBOutlet NSTextField        * fX264optMotionEstLabel;
32     IBOutlet NSPopUpButton      * fX264optMotionEstPopUp;
33     IBOutlet NSTextField        * fX264optMERangeLabel;
34     IBOutlet NSPopUpButton      * fX264optMERangePopUp;
35     IBOutlet NSTextField        * fX264optBPyramidLabel;
36     IBOutlet NSPopUpButton      * fX264optBPyramidPopUp;
37     IBOutlet NSTextField        * fX264optDirectPredLabel;
38     IBOutlet NSPopUpButton      * fX264optDirectPredPopUp;
39     IBOutlet NSTextField        * fX264optDeblockLabel;
40     IBOutlet NSPopUpButton      * fX264optAlphaDeblockPopUp;
41     IBOutlet NSPopUpButton      * fX264optBetaDeblockPopUp;
42     IBOutlet NSTextField        * fX264optAnalyseLabel;
43     IBOutlet NSPopUpButton      * fX264optAnalysePopUp;
44     IBOutlet NSTextField        * fX264opt8x8dctLabel;
45     IBOutlet NSButton           * fX264opt8x8dctSwitch;
46     IBOutlet NSTextField        * fX264optCabacLabel;
47     IBOutlet NSButton           * fX264optCabacSwitch;
48     IBOutlet NSSlider           * fX264optAqSlider;
49     IBOutlet NSTextField        * fX264optAqLabel;
50     IBOutlet NSSlider           * fX264optPsyRDSlider;
51     IBOutlet NSTextField        * fX264optPsyRDLabel;
52     IBOutlet NSSlider           * fX264optPsyTrellisSlider;
53     IBOutlet NSTextField        * fX264optPsyTrellisLabel;
54     IBOutlet NSPopUpButton      * fX264optBAdaptPopUp;
55     IBOutlet NSTextField        * fX264optBAdaptLabel;
56 }
57
58 // x264 Advanced Panel Methods
59 - (void) setView: (NSBox *) box;
60 - (BOOL) loadMyNibFile;
61 - (NSString *) optionsString;
62 - (void) setOptions: (NSString *)string;
63 - (void) enableUI: (bool) b;
64 - (void) setHidden: (BOOL) hide;
65 - (IBAction) X264AdvancedOptionsAnimate: (id) sender;
66 - (IBAction) X264AdvancedOptionsSet: (id) sender;
67 - (IBAction) X264AdvancedOptionsStandardizeOptString: (id) sender;
68 - (IBAction) X264AdvancedOptionsSetCurrentSettings: (id) sender;
69 - (NSString *)  X264AdvancedOptionsStandardizeOptNames:(NSString *) cleanOptNameString;
70 - (NSString *)  X264AdvancedOptionsOptIDToString: (id) sender;
71 - (NSString *)  X264AdvancedOptionsWidgetToString: (NSString *) optName withID: (id) sender;
72 - (BOOL) X264AdvancedOptionsIsOpt: (NSString *) optNameToChange inString: (NSString *) currentOptString;
73 - (IBAction) X264AdvancedOptionsChanged: (id) sender;
74
75 @end