summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-12-26 17:02:32 +0000
committersr55 <[email protected]>2013-12-26 17:02:32 +0000
commit840cb1e3448867a3d56bafc980dce39189d4814f (patch)
tree2d96e373fa47eddcdce08283f0fffd19c3c1dd30 /win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
parent9c2f166bc71277e98ced2d39eb56aa88ff5452af (diff)
WinGui: Some more minor tweaks to the new source menu and tidyup on the options screen.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5941 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
index e0fdee4e2..7e717c20e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
@@ -379,6 +379,11 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
private bool addForeignAudioScanTrack;
+ /// <summary>
+ /// The is cl scaling.
+ /// </summary>
+ private bool isClScaling;
+
#endregion
#region Constructors and Destructors
@@ -1485,6 +1490,7 @@ namespace HandBrakeWPF.ViewModels
set
{
this.selectedScalingMode = value;
+ this.IsClScaling = value == VideoScaler.BicubicCl;
}
}
@@ -1509,6 +1515,27 @@ namespace HandBrakeWPF.ViewModels
return new BindingList<VideoScaler>(EnumHelper<VideoScaler>.GetEnumList().ToList());
}
}
+
+ /// <summary>
+ /// Gets or sets a value indicating whether is cl scaling.
+ /// </summary>
+ public bool IsClScaling
+ {
+ get
+ {
+ return this.isClScaling;
+ }
+ set
+ {
+ if (value.Equals(this.isClScaling))
+ {
+ return;
+ }
+ this.isClScaling = value;
+ this.NotifyOfPropertyChange(() => this.IsClScaling);
+ }
+ }
+
#endregion
#endregion