From 8fc8275d2b78f5212be0caf83f2a96bffa486817 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 16 Feb 2013 20:12:16 +0000 Subject: WinGui: Split out the advanced tab code into separate panels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5253 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Views/AdvancedView.xaml | 544 +-------------------- win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml | 28 ++ .../HandBrakeWPF/Views/EncoderOptionsView.xaml.cs | 27 + win/CS/HandBrakeWPF/Views/OptionsView.xaml | 3 - win/CS/HandBrakeWPF/Views/X264View.xaml | 539 ++++++++++++++++++++ win/CS/HandBrakeWPF/Views/X264View.xaml.cs | 27 + 6 files changed, 625 insertions(+), 543 deletions(-) create mode 100644 win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml create mode 100644 win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml.cs create mode 100644 win/CS/HandBrakeWPF/Views/X264View.xaml create mode 100644 win/CS/HandBrakeWPF/Views/X264View.xaml.cs (limited to 'win/CS/HandBrakeWPF/Views') diff --git a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml index b0b7698d2..99d05b099 100644 --- a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml +++ b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml @@ -3,29 +3,12 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Converters="clr-namespace:HandBrakeWPF.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:Helpers="clr-namespace:HandBrakeWPF.Helpers" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:Properties="clr-namespace:HandBrakeWPF.Properties" - xmlns:controls="clr-namespace:HandBrakeWPF.Controls" x:Name="advancedView" mc:Ignorable="d" > - - - - - - @@ -33,533 +16,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - \ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml b/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml new file mode 100644 index 000000000..c4e64d6a8 --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml @@ -0,0 +1,28 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml.cs b/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml.cs new file mode 100644 index 000000000..003d8274e --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/EncoderOptionsView.xaml.cs @@ -0,0 +1,27 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Interaction logic for EncoderOptionsView.xaml +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Views +{ + using System.Windows.Controls; + + /// + /// Interaction logic for AdvancedView.xaml + /// + public partial class EncoderOptionsView : UserControl + { + /// + /// Initializes a new instance of the class. + /// + public EncoderOptionsView() + { + InitializeComponent(); + } + } +} diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index 389a80791..83735e414 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -88,8 +88,6 @@ - - @@ -291,7 +289,6 @@ - diff --git a/win/CS/HandBrakeWPF/Views/X264View.xaml b/win/CS/HandBrakeWPF/Views/X264View.xaml new file mode 100644 index 000000000..b1c97e592 --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/X264View.xaml @@ -0,0 +1,539 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/X264View.xaml.cs b/win/CS/HandBrakeWPF/Views/X264View.xaml.cs new file mode 100644 index 000000000..7c7f9bea3 --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/X264View.xaml.cs @@ -0,0 +1,27 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Interaction logic for AdvancedView.xaml +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Views +{ + using System.Windows.Controls; + + /// + /// Interaction logic for AdvancedView.xaml + /// + public partial class X264View : UserControl + { + /// + /// Initializes a new instance of the class. + /// + public X264View() + { + InitializeComponent(); + } + } +} -- cgit v1.2.3