diff options
author | sr55 <[email protected]> | 2009-06-22 20:02:09 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-22 20:02:09 +0000 |
commit | 0c52900e6f5ed363b15313f6f0735b1fd51e18f8 (patch) | |
tree | f62c3b6ca6474bc8eace715c8c9903a62da7f5ee /win/C#/frmMain.cs | |
parent | df3b0eed16765ee555a4a18b80a51da0699cf5d6 (diff) |
WinGui:
- Combine all the Filters controls and widgets onto 1 panel. Replaces 12 files by 3.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2598 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 55da10ae3..29622cb0a 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -751,7 +751,7 @@ namespace Handbrake private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)
{
// Reset some values on the form
- pictureSettings.lbl_Aspect.Text = "Select a Title";
+ PictureSettings.lbl_Aspect.Text = "Select a Title";
//lbl_RecomendedCrop.Text = "Select a Title";
drop_chapterStart.Items.Clear();
drop_chapterFinish.Items.Clear();
@@ -762,7 +762,7 @@ namespace Handbrake {
selectedTitle = drp_dvdtitle.SelectedItem as Parsing.Title;
lbl_duration.Text = selectedTitle.Duration.ToString();
- pictureSettings.setComponentsAfterScan(selectedTitle); // Setup Picture Settings Tab Control
+ PictureSettings.setComponentsAfterScan(selectedTitle); // Setup Picture Settings Tab Control
// Populate the Angles dropdown
drop_angle.Items.Clear();
@@ -793,7 +793,7 @@ namespace Handbrake drop_chapterFinish.Text = drop_chapterFinish.Items[drop_chapterFinish.Items.Count - 1].ToString();
// Populate the Audio Channels Dropdown
- audioPanel.setTrackList(selectedTitle);
+ AudioSettings.setTrackList(selectedTitle);
// Populate the Subtitles dropdown
Subtitles.drp_subtitleTracks.Items.Clear();
@@ -983,7 +983,7 @@ namespace Handbrake else if (drop_format.SelectedIndex == 2)
setExtension(".mkv");
- audioPanel.setAudioByContainer(drop_format.Text);
+ AudioSettings.setAudioByContainer(drop_format.Text);
Subtitles.setContainer(drop_format.SelectedIndex);
string oldval;
@@ -1179,24 +1179,6 @@ namespace Handbrake }
}
- // Filter Tab
- private void ctl_decomb_changed(object sender, EventArgs e)
- {
- if (ctl_decomb.getDropValue != "Off")
- if (ctl_deinterlace.getDropValue != "None")
- ctl_deinterlace.setOption("None");
- }
- private void ctl_deinterlace_changed(object sender, EventArgs e)
- {
- if (ctl_detelecine.getDropValue != "None")
- if (ctl_decomb.getDropValue != "Off")
- ctl_decomb.setOption("Off");
- }
- private void slider_deblock_Scroll(object sender, EventArgs e)
- {
- lbl_deblockVal.Text = slider_deblock.Value == 4 ? "Off" : slider_deblock.Value.ToString();
- }
-
// Chapter Marker Tab
private void Check_ChapterMarkers_CheckedChanged(object sender, EventArgs e)
{
@@ -1420,8 +1402,8 @@ namespace Handbrake drop_chapterFinish.Items.Clear();
drop_chapterFinish.Text = "Auto";
lbl_duration.Text = "Select a Title";
- pictureSettings.lbl_src_res.Text = "Select a Title";
- pictureSettings.lbl_Aspect.Text = "Select a Title";
+ PictureSettings.lbl_src_res.Text = "Select a Title";
+ PictureSettings.lbl_Aspect.Text = "Select a Title";
text_source.Text = "Click 'Source' to continue";
text_destination.Text = "";
thisDVD = null;
@@ -1596,7 +1578,6 @@ namespace Handbrake }
#endregion
-
// This is the END of the road ****************************************
}
}
\ No newline at end of file |