From 840cb1e3448867a3d56bafc980dce39189d4814f Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 26 Dec 2013 17:02:32 +0000 Subject: 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 --- win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs') 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 /// private bool addForeignAudioScanTrack; + /// + /// The is cl scaling. + /// + 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(EnumHelper.GetEnumList().ToList()); } } + + /// + /// Gets or sets a value indicating whether is cl scaling. + /// + public bool IsClScaling + { + get + { + return this.isClScaling; + } + set + { + if (value.Equals(this.isClScaling)) + { + return; + } + this.isClScaling = value; + this.NotifyOfPropertyChange(() => this.IsClScaling); + } + } + #endregion #endregion -- cgit v1.2.3