diff options
author | sr55 <[email protected]> | 2012-06-14 09:46:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-06-14 09:46:46 +0000 |
commit | 9be558d961413ee242da53dfc18a7c819b0faf41 (patch) | |
tree | 713c1334d99293dd3959d48f22dbee799491eeea /win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | |
parent | 62733781aff54e2f1eff95268d575bdee0c13335 (diff) |
WinGui: Initial layout changes to the options screen.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4729 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 706009107..ff402a9ed 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -310,6 +310,11 @@ namespace HandBrakeWPF.ViewModels /// </summary>
private bool clearQueueOnEncodeCompleted;
+ /// <summary>
+ /// The options tab that is selected.
+ /// </summary>
+ private string selectedTab;
+
#endregion
#region Constructors and Destructors
@@ -332,8 +337,41 @@ namespace HandBrakeWPF.ViewModels this.userSettingService = userSettingService;
this.shellViewModel = shellViewModel;
this.OnLoad();
+
+ this.SelectedTab = "General";
+ }
+
+ #endregion
+
+ #region Window Properties
+
+ /// <summary>
+ /// Gets OptionTabs.
+ /// </summary>
+ public IEnumerable<string> OptionTabs
+ {
+ get
+ {
+ return new List<string> { "General", "Output Files", "Language", "Advanced" };
+ }
}
+ /// <summary>
+ /// Gets or sets SelectedTab.
+ /// </summary>
+ public string SelectedTab
+ {
+ get
+ {
+ return this.selectedTab;
+ }
+
+ set
+ {
+ this.selectedTab = value;
+ this.NotifyOfPropertyChange(() => this.SelectedTab);
+ }
+ }
#endregion
#region Properties
|