summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model/OptionsTab.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-01-13 17:51:42 +0000
committersr55 <[email protected]>2013-01-13 17:51:42 +0000
commitf3fcc49085f080ad5f075da4a87bbaff47f92572 (patch)
tree2b483848c6111e73958d4f69af03e790a8abadc3 /win/CS/HandBrakeWPF/Model/OptionsTab.cs
parentb62992bfb1623ae6c0930c41e00c2b150ea780d9 (diff)
WinGui: Options screen refactoring.
Help -> Check for updates now takes the user to the options screen update tab. Help -> About now takes the user to the options screen about tab. Saves popping up annoying window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5169 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Model/OptionsTab.cs')
-rw-r--r--win/CS/HandBrakeWPF/Model/OptionsTab.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/OptionsTab.cs b/win/CS/HandBrakeWPF/Model/OptionsTab.cs
new file mode 100644
index 000000000..93692d13d
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Model/OptionsTab.cs
@@ -0,0 +1,37 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="OptionsTab.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// A enum representing each tab on the options screen.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Model
+{
+ using System.ComponentModel.DataAnnotations;
+
+ /// <summary>
+ /// A enum representing each tab on the options screen.
+ /// </summary>
+ public enum OptionsTab
+ {
+ [Display(Name = "General")]
+ General = 0,
+
+ [Display(Name = "Output Files")]
+ OutputFiles,
+
+ [Display(Name = "Audio and Subtitles")]
+ AudioAndSubtitles,
+
+ [Display(Name = "Advanced")]
+ Advanced,
+
+ [Display(Name = "Updates")]
+ Updates,
+
+ [Display(Name = "About HandBrake")]
+ About,
+ }
+}