C# Class Handbrake.Controls.Subtitles

The Subtitles Tab
Inheritance: System.Windows.Forms.UserControl
Show file Open project: golgol7777/HandBrakeWinSource

Public Methods

Method Description
AutomaticSubtitleSelection ( ) : void

Automatic Subtitle Selection based on user preferences.

Clear ( ) : void

Clear the Subtitle List

RequiresM4V ( ) : bool

Checks of the current settings will require the m4v file extension

SetSubtitleTrackAuto ( object subs ) : void

Automatically setup the subtitle tracks. This handles the automatic setup of subitles which the user can control from the program options

Subtitles ( ) : System

Initializes a new instance of the Subtitles class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BtnSrtAddClick ( object sender, EventArgs e ) : void

Import an SRT Subtitle Track

CheckBurnedCheckedChanged ( object sender, EventArgs e ) : void

Burned in subtitles checkbox changed

CheckDefaultCheckedChanged ( object sender, EventArgs e ) : void

Default Subitle track check changed

CheckForcedCheckedChanged ( object sender, EventArgs e ) : void

Foreced Subtitles checkbox changed

DrpSubtitleTracksSelectedIndexChanged ( object sender, EventArgs e ) : void

Handle the Subtitle track dropdown changed event

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LbSubListSelectedIndexChanged ( object sender, EventArgs e ) : void

The Subtitle List selected index has changed

MnuMovedownClick ( object sender, EventArgs e ) : void

Move an item in the subtitle list down

MnuMoveupClick ( object sender, EventArgs e ) : void

Move an item in the subtitle list up

MnuRemoveClick ( object sender, EventArgs e ) : void

Remove a selected subtitle track.

RemoveSelectedTrack ( ) : void

Remove a selected track

SetBurnedToOffForAllTracks ( ) : void

Set all tracks to Burned = No

SetDefaultToOffForAllSRTTracks ( ) : void

Set all subtitle tracks so that they have no default.

SetDefaultToOffForAllTracks ( ) : void

Set all Non SRT tracks to Default = NO

SrtCharcodeSelectedIndexChanged ( object sender, EventArgs e ) : void

The SRT Charcode changed

SrtLangSelectedIndexChanged ( object sender, EventArgs e ) : void

The Srt Language code changed

SrtOffsetValueChanged ( object sender, EventArgs e ) : void

Srt Offset Numeric Control Changed

btn_RemoveTrack_Click ( object sender, EventArgs e ) : void

Remvoe a track

btn_addSubtitleTrack_Click ( object sender, EventArgs e ) : void

Add a subtitle Track

mnu_AddAllCC_Click ( object sender, EventArgs e ) : void

Add all closed caption tracks

mnu_AddAll_Click ( object sender, EventArgs e ) : void

Add all audio tracks.

mnu_ClearAll_Click ( object sender, EventArgs e ) : void

Clear all tracks.

Method Details

AutomaticSubtitleSelection() public method

Automatic Subtitle Selection based on user preferences.
public AutomaticSubtitleSelection ( ) : void
return void

Clear() public method

Clear the Subtitle List
public Clear ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

RequiresM4V() public method

Checks of the current settings will require the m4v file extension
public RequiresM4V ( ) : bool
return bool

SetSubtitleTrackAuto() public method

Automatically setup the subtitle tracks. This handles the automatic setup of subitles which the user can control from the program options
public SetSubtitleTrackAuto ( object subs ) : void
subs object List of Subtitles
return void

Subtitles() public method

Initializes a new instance of the Subtitles class.
public Subtitles ( ) : System
return System