summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-06 14:14:19 +0000
committersr55 <[email protected]>2010-06-06 14:14:19 +0000
commit833e294b1339e9843a3f82fe1b6779be9f7c7093 (patch)
treef2e8fc2276e26365c16519ba29b62baba1ab908e /win/C#/Controls
parent62d42d9f7a808d0f5f5432b26f88f977f13269dc (diff)
WinGui:
- Some changes / improvements to the current models / parsing models. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3359 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls')
-rw-r--r--win/C#/Controls/PictureSettings.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/win/C#/Controls/PictureSettings.cs b/win/C#/Controls/PictureSettings.cs
index b9a0bf040..333bec3b0 100644
--- a/win/C#/Controls/PictureSettings.cs
+++ b/win/C#/Controls/PictureSettings.cs
@@ -97,10 +97,10 @@ namespace Handbrake.Controls
// Set the Recommended Cropping values, but only if a preset doesn't have hard set picture settings.
if ((CurrentlySelectedPreset != null && CurrentlySelectedPreset.PictureSettings == false) || CurrentlySelectedPreset == null)
{
- crop_top.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions[0]);
- crop_bottom.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions[1]);
- crop_left.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions[2]);
- crop_right.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions[3]);
+ crop_top.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions.Top);
+ crop_bottom.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions.Bottom);
+ crop_left.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions.Left);
+ crop_right.Value = GetCropMod2Clean(sourceTitle.AutoCropDimensions.Right);
}
SetPresetCropWarningLabel(CurrentlySelectedPreset);
@@ -424,10 +424,10 @@ namespace Handbrake.Controls
if (Source != null)
{
- crop_top.Value = Source.AutoCropDimensions[0];
- crop_bottom.Value = Source.AutoCropDimensions[1];
- crop_left.Value = Source.AutoCropDimensions[2];
- crop_right.Value = Source.AutoCropDimensions[3];
+ crop_top.Value = Source.AutoCropDimensions.Top;
+ crop_bottom.Value = Source.AutoCropDimensions.Bottom;
+ crop_left.Value = Source.AutoCropDimensions.Left;
+ crop_right.Value = Source.AutoCropDimensions.Right;
}
}