diff options
author | dynaflash <[email protected]> | 2009-07-16 18:36:08 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-07-16 18:36:08 +0000 |
commit | 8bb7d25bba2dc06e8541f07583897c4030a1bc3c (patch) | |
tree | ea0073de04a728eaed1cb5f2fc43b4abe172601a /macosx/Controller.h | |
parent | a13d7753343d914e2e25ac32ca756b3025b48de2 (diff) |
MacGui: srt subtitle support initial implementation
- Allows adding an external srt sub file as a subtitle source.
-- Adds fields for srt language, char code and offset in ms.
- Known issues: adding the srt file to the sources list also adds a new subtitle track for that source, however to "set" it you have to click on it.
- srt subtitles do not seem to work in preview even if set to default.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2699 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index f1432b4ed..07a027231 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -139,7 +139,7 @@ BOOL fIsDragging; IBOutlet NSTableView * fSubtitlesTable; HBSubtitles * fSubtitlesDelegate; - //NSMutableArray * subtitleArray; + IBOutlet NSButton * fBrowseSrtFileButton; /* Audio box */ @@ -304,10 +304,14 @@ BOOL fIsDragging; returnCode: (int) returnCode contextInfo: (void *) contextInfo; - (IBAction) videoMatrixChanged: (id) sender; + - (IBAction) qualitySliderChanged: (id) sender; - (void) setupQualitySlider; - (IBAction) audioDRCSliderChanged: (id) sender; +- (IBAction) browseImportSrtFile: (id) sender; +- (void) browseImportSrtFileDone: (NSSavePanel *) sheet + returnCode: (int) returnCode contextInfo: (void *) contextInfo; - (IBAction) showPicturePanel: (id) sender; - (void) picturePanelFullScreen; |