summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-04-24 15:25:02 +0000
committersr55 <[email protected]>2008-04-24 15:25:02 +0000
commitc9fd9179ac5c296609da5dc414819202ef992b98 (patch)
tree35a2360cafe2631e92740e5e82c74e7271b263f7 /win/C#/Functions
parentee6bd3bd354cd235d49f91a0616f197d61743dd5 (diff)
WinGui:
- Move some code that sets the available audio bit-rates into functions instead of just repeating the code. - Fixed some issues with the Audio panel. All tracks are now visible by default, however they will remain disabled if a previous track is not selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1433 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/Common.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs
index b1408bb02..4cd18b5d0 100644
--- a/win/C#/Functions/Common.cs
+++ b/win/C#/Functions/Common.cs
@@ -334,15 +334,6 @@ namespace Handbrake.Functions
mainWindow.drp_audbit_3.Enabled = false;
mainWindow.trackBar3.Enabled = false;
- mainWindow.drp_track3Audio.Visible = false;
- mainWindow.drp_audsr_3.Visible = false;
- mainWindow.drp_audmix_3.Visible = false;
- mainWindow.drp_audenc_3.Visible = false;
- mainWindow.drp_audbit_3.Visible = false;
- mainWindow.trackBar3.Visible = false;
- mainWindow.lbl_drc3.Visible = false;
- mainWindow.lbl_t3.Visible = false;
-
mainWindow.drp_track3Audio.Text = "None";
mainWindow.drp_audsr_3.Text = "";
mainWindow.drp_audmix_3.Text = "Automatic";
@@ -359,15 +350,6 @@ namespace Handbrake.Functions
mainWindow.drp_audenc_3.Enabled = true;
mainWindow.drp_audbit_3.Enabled = true;
mainWindow.trackBar3.Enabled = true;
-
- mainWindow.drp_track3Audio.Visible = true;
- mainWindow.drp_audsr_3.Visible = true;
- mainWindow.drp_audmix_3.Visible = true;
- mainWindow.drp_audenc_3.Visible = true;
- mainWindow.drp_audbit_3.Visible = true;
- mainWindow.trackBar3.Visible = true;
- mainWindow.lbl_drc3.Visible = true;
- mainWindow.lbl_t3.Visible = true;
}
// Handle Track 4
@@ -380,15 +362,6 @@ namespace Handbrake.Functions
mainWindow.drp_audbit_4.Enabled = false;
mainWindow.trackBar4.Enabled = false;
- mainWindow.drp_track4Audio.Visible = false;
- mainWindow.drp_audsr_4.Visible = false;
- mainWindow.drp_audmix_4.Visible = false;
- mainWindow.drp_audenc_4.Visible = false;
- mainWindow.drp_audbit_4.Visible = false;
- mainWindow.trackBar4.Visible = false;
- mainWindow.lbl_drc4.Visible = false;
- mainWindow.lbl_t4.Visible = false;
-
mainWindow.drp_track4Audio.Text = "None";
mainWindow.drp_audsr_4.Text = "";
mainWindow.drp_audmix_4.Text = "Automatic";
@@ -404,15 +377,6 @@ namespace Handbrake.Functions
mainWindow.drp_audenc_4.Enabled = true;
mainWindow.drp_audbit_4.Enabled = true;
mainWindow.trackBar4.Enabled = true;
-
- mainWindow.drp_track4Audio.Visible = true;
- mainWindow.drp_audsr_4.Visible = true;
- mainWindow.drp_audmix_4.Visible = true;
- mainWindow.drp_audenc_4.Visible = true;
- mainWindow.drp_audbit_4.Visible = true;
- mainWindow.trackBar4.Visible = true;
- mainWindow.lbl_drc4.Visible = true;
- mainWindow.lbl_t4.Visible = true;
}
// Now lets start setting stuff