summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-01-08 17:42:20 +0000
committersr55 <[email protected]>2008-01-08 17:42:20 +0000
commit40d71aae36694353d60b074e0bcdc921d58321ab (patch)
treefb960894b3eca02d5d03c9ce85d67ca25589f14b /win
parentdd2fb22560796e89d3349a3ad790efed8d7ac092 (diff)
WinGui:
- Gray out the resolution boxes when Anamorphic is enabled. (Long overdue) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1175 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/frmMain.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index bd6d57208..295d19ea7 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -681,9 +681,19 @@ namespace Handbrake
{
check_lAnamorphic.Enabled = false;
check_lAnamorphic.Checked = false;
+ text_height.BackColor = Color.LightGray;
+ text_width.BackColor = Color.LightGray;
+ text_height.Enabled = false;
+ text_width.Enabled = false;
}
else
+ {
check_lAnamorphic.Enabled = true;
+ text_height.BackColor = Color.White;
+ text_width.BackColor = Color.White;
+ text_height.Enabled = true;
+ text_width.Enabled = true;
+ }
}
private void check_lAnamorphic_CheckedChanged(object sender, EventArgs e)