diff options
author | ritsuka <[email protected]> | 2014-07-15 18:30:51 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-07-15 18:30:51 +0000 |
commit | 31283b442713147dc5edb5135cb6dbcbb95635e8 (patch) | |
tree | a779647bf655c11b4ba5d1c0a3839202cf17a2a4 /macosx/HBAdvancedController.h | |
parent | 076704ec10c392851673856eeaf071eb79f90075 (diff) |
MacGUI: Refactored the controller code for the video/audio/subtitles/chapters view:
Added a xib file and a NSViewController subclass for each tab of the main HandBrake window.
Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes.
Converted the modified .xibs to the Xcode 5.1 format.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.h')
-rw-r--r-- | macosx/HBAdvancedController.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/macosx/HBAdvancedController.h b/macosx/HBAdvancedController.h index 3845df911..cf077b448 100644 --- a/macosx/HBAdvancedController.h +++ b/macosx/HBAdvancedController.h @@ -6,13 +6,16 @@ #import <Cocoa/Cocoa.h> -@interface HBAdvancedController : NSObject +/** + * HBAdvancedController + */ +@interface HBAdvancedController : NSViewController { /* Advanced Tab for opts fX264optView*/ - NSBox * fOptionsBox; + IBOutlet NSBox * fOptionsBox; IBOutlet NSView * fX264optView; - IBOutlet NSView * fEmptyView; + IBOutlet NSView * fFFmpegView; IBOutlet NSTextField * fX264optViewTitleLabel; IBOutlet NSTextField * fDisplayX264OptionsLabel; IBOutlet NSTextField * fDisplayX264Options; @@ -61,8 +64,7 @@ } // x264 Advanced Panel Methods -- (void) setView: (NSBox *) box; -- (BOOL) loadMyNibFile; + - (NSString *) optionsString; - (NSString *) optionsStringLavc; - (void) setOptions: (NSString *)string; |