summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-01-27 18:06:52 +0000
committersr55 <[email protected]>2008-01-27 18:06:52 +0000
commit3da2999d6e99abecc485af5d7d0a9028638af0a1 (patch)
tree5d544e75fa33c1e2f3d2296d9e5353623d19d391 /win/C#/frmMain.cs
parent4010478bebaa2a8a704fd2757bd67f39e8749421 (diff)
WinGui:
- Few tweaks to the iPod Atom Checkbox and Optimise MP4 Checkbox - Removal of x264b30 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1237 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs18
1 files changed, 12 insertions, 6 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 76d9552b8..c2109795b 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -748,24 +748,32 @@ namespace Handbrake
private void check_iPodAtom_CheckedChanged(object sender, EventArgs e)
{
- if (!text_destination.Text.Contains(".mp4"))
+ if ((!text_destination.Text.Contains(".mp4")) && (!text_destination.Text.Contains(".m4v")))
{
- lbl_ipodAtom.Visible = true;
+ text_destination.BackColor = Color.LightCoral;
+ check_iPodAtom.BackColor = Color.LightCoral;
check_iPodAtom.CheckState = CheckState.Unchecked;
}
else
- lbl_ipodAtom.Visible = false;
+ {
+ check_iPodAtom.BackColor = Color.Transparent;
+ text_destination.BackColor = Color.White;
+ }
}
private void check_optimiseMP4_CheckedChanged(object sender, EventArgs e)
{
- if (!text_destination.Text.Contains(".mp4"))
+ if ((!text_destination.Text.Contains(".mp4")) && (!text_destination.Text.Contains(".m4v")))
{
check_optimiseMP4.BackColor = Color.LightCoral;
+ text_destination.BackColor = Color.LightCoral;
check_optimiseMP4.CheckState = CheckState.Unchecked;
}
else
+ {
check_optimiseMP4.BackColor = Color.Transparent;
+ text_destination.BackColor = Color.White;
+ }
}
private void drp_dvdtitle_Click(object sender, EventArgs e)
@@ -897,7 +905,6 @@ namespace Handbrake
rtf_h264advanced.Text = "";
check_iPodAtom.Enabled = false;
check_iPodAtom.Checked = false;
- lbl_ipodAtom.Visible = false;
check_optimiseMP4.Enabled = false;
check_lAnamorphic.Enabled = false;
check_lAnamorphic.Checked = false;
@@ -909,7 +916,6 @@ namespace Handbrake
h264Tab.Enabled = true;
check_iPodAtom.Enabled = true;
- lbl_ipodAtom.Visible = false;
check_optimiseMP4.Enabled = true;
check_lAnamorphic.Enabled = true;
}