From f3fcc49085f080ad5f075da4a87bbaff47f92572 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 13 Jan 2013 17:51:42 +0000 Subject: 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 --- win/CS/HandBrakeWPF/Model/OptionsTab.cs | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 win/CS/HandBrakeWPF/Model/OptionsTab.cs (limited to 'win/CS/HandBrakeWPF/Model') 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 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// A enum representing each tab on the options screen. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Model +{ + using System.ComponentModel.DataAnnotations; + + /// + /// A enum representing each tab on the options screen. + /// + 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, + } +} -- cgit v1.2.3