summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-03-13 16:44:49 +0000
committersr55 <[email protected]>2011-03-13 16:44:49 +0000
commitb6a5d4eba610711d15ed99dc5f2e9e126ce06086 (patch)
treee72eb5be161c3ac9b01bbc3b3efcd4ab8f91e06c /win/CS/HandBrakeWPF/Views
parent38f64c238720fe0524f99b380fbb1a8c795a7586 (diff)
Rename Direction C# to CS
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3846 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r--win/CS/HandBrakeWPF/Views/AboutView.xaml28
-rw-r--r--win/CS/HandBrakeWPF/Views/AboutView.xaml.cs15
-rw-r--r--win/CS/HandBrakeWPF/Views/AddPresetView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/AddPresetView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml102
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml.cs27
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/ActivityWindow.pngbin0 -> 1277 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.pngbin0 -> 3490 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/AddToQueue.pngbin0 -> 1913 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/AddToQueue_small.pngbin0 -> 829 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/ErrorX.pngbin0 -> 10369 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/General Preferences.pngbin0 -> 1490 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Help16.pngbin0 -> 3499 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Movies.pngbin0 -> 2258 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Output_Small.pngbin0 -> 3232 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Pause.pngbin0 -> 1715 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Play.pngbin0 -> 1792 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Play_small.pngbin0 -> 1166 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Pref_Small.pngbin0 -> 3353 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Queue.pngbin0 -> 1676 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/Queue_Small.pngbin0 -> 3573 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/copy.pngbin0 -> 3291 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/disc_small.pngbin0 -> 3575 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/download.pngbin0 -> 4569 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/folder.pngbin0 -> 463 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/hb16.pngbin0 -> 3746 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/hb32.pngbin0 -> 5935 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/info16.pngbin0 -> 3495 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/logo128.pngbin0 -> 31046 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/logo64.pngbin0 -> 11967 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/picture.pngbin0 -> 698 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/save.pngbin0 -> 3115 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/stop.pngbin0 -> 1341 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/Images/window.pngbin0 -> 935 bytes
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml194
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml.cs23
-rw-r--r--win/CS/HandBrakeWPF/Views/OptionsView.xaml8
-rw-r--r--win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs26
-rw-r--r--win/CS/HandBrakeWPF/Views/PreviewView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/PreviewView.xaml.cs15
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueView.xaml.cs15
56 files changed, 779 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AboutView.xaml b/win/CS/HandBrakeWPF/Views/AboutView.xaml
new file mode 100644
index 000000000..7316ab49a
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/AboutView.xaml
@@ -0,0 +1,28 @@
+<Window x:Class="HandBrakeWPF.Views.AboutView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:PresentationFramework="clr-namespace:Caliburn.PresentationFramework;assembly=Caliburn.PresentationFramework" xmlns:RoutedMessaging="clr-namespace:Caliburn.PresentationFramework.RoutedMessaging;assembly=Caliburn.PresentationFramework" Title="AboutView" Height="268" Width="511">
+
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/logo64.png" Width="64" Height="64" SnapsToDevicePixels="True" Margin="10,10,10,10" HorizontalAlignment="Left" VerticalAlignment="Top" />
+
+ <StackPanel Orientation="Vertical">
+ <Label Content="HandBrake WPF Demo App" FontWeight="Bold" FontSize="14" Margin="0,10,0,0" />
+ <Label Content="Copyright 2003-2011 HandBrake Team" />
+
+ <Label Content="License:" />
+ <TextBox Width="380" Height="100" IsReadOnly="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" Margin="10,0,10,10">
+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ </TextBox>
+
+ <Button Content="OK" RoutedMessaging:Message.Attach="[Event Click] = [Action Close]"
+ HorizontalAlignment="Right" Padding="10,2" Margin="0,0,10,10" />
+
+ </StackPanel>
+
+
+ </StackPanel>
+</Window>
diff --git a/win/CS/HandBrakeWPF/Views/AboutView.xaml.cs b/win/CS/HandBrakeWPF/Views/AboutView.xaml.cs
new file mode 100644
index 000000000..22de6967b
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/AboutView.xaml.cs
@@ -0,0 +1,15 @@
+namespace HandBrakeWPF.Views
+{
+ using System.Windows;
+
+ /// <summary>
+ /// Interaction logic for AboutView.xaml
+ /// </summary>
+ public partial class AboutView : Window
+ {
+ public AboutView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
new file mode 100644
index 000000000..74d79f0c8
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.AddPresetView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml.cs b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml.cs
new file mode 100644
index 000000000..b99e48b26
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for VideoView.xaml
+ /// </summary>
+ public partial class AddPresetView : UserControl
+ {
+ public AddPresetView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml
new file mode 100644
index 000000000..3adb82821
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.AdvancedView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs
new file mode 100644
index 000000000..b7ad6ef86
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for AdvancedView.xaml
+ /// </summary>
+ public partial class AdvancedView : UserControl
+ {
+ public AdvancedView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
new file mode 100644
index 000000000..6087c7d07
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.AudioView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml.cs
new file mode 100644
index 000000000..3518eea56
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/AudioView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for AudioView.xaml
+ /// </summary>
+ public partial class AudioView : UserControl
+ {
+ public AudioView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml b/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml
new file mode 100644
index 000000000..ac39a7062
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.ChaptersView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml.cs
new file mode 100644
index 000000000..f61b201c9
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/ChaptersView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for ChaptersView.xaml
+ /// </summary>
+ public partial class ChaptersView : UserControl
+ {
+ public ChaptersView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml b/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml
new file mode 100644
index 000000000..6ac8f5a10
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.FiltersView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml.cs
new file mode 100644
index 000000000..27f38be95
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/FiltersView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for VideoFilters.xaml
+ /// </summary>
+ public partial class FiltersView : UserControl
+ {
+ public FiltersView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml b/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml
new file mode 100644
index 000000000..80b82c52f
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml
@@ -0,0 +1,102 @@
+<UserControl x:Class="HandBrakeWPF.Views.PictureSettingsView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:Controls="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
+ >
+
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+
+ <!-- Size Panel-->
+ <StackPanel Name="SizePanel" Orientation="Vertical" >
+ <Label Content="Size" FontWeight="Bold" />
+
+ <!-- Row 1-->
+ <StackPanel Orientation="Horizontal" Margin="5,0,5,0">
+ <Label Content="Source" Grid.Row="0" Grid.Column="0" />
+ <Label Content="---" Name="sourceResolution" Grid.Row="0" Grid.Column="1" />
+ </StackPanel>
+
+ <!-- Row 2-->
+ <StackPanel Orientation="Horizontal" Margin="5,0,5,0">
+ <Label Content="Width:" Grid.Row="1" Grid.Column="0" />
+ <Controls:NumericUpDown Name="width" Minimum="0" Grid.Row="1" Grid.Column="1" Width="45" />
+ <Label Content="Height:" Grid.Row="1" Grid.Column="2" />
+ <Controls:NumericUpDown Name="height" Minimum="0" Grid.Row="1" Grid.Column="3" Width="45" />
+ <CheckBox Content="Keep Aspect Ratio" VerticalAlignment="Center" Margin="5,0,0,0" />
+ </StackPanel>
+
+ <!-- Row 3-->
+ <Grid Margin="5,15,5,0">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ </Grid.RowDefinitions>
+
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ </Grid.ColumnDefinitions>
+
+ <Label Content="Anamorphic:" Grid.Row="0" Grid.Column="0" />
+ <Label Content="Modulus:" Grid.Row="1" Grid.Column="0" />
+ <Label Content="Display Width:" Grid.Row="2" Grid.Column="0" />
+ <Label Content="PAR Width:" Grid.Row="3" Grid.Column="0" />
+ <Label Content="PAR Height:" Grid.Row="4" Grid.Column="0" />
+ <Label Content="Display Size:" Grid.Row="5" Grid.Column="0" />
+
+ <ComboBox Width="110" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <ComboBox Width="110" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Label Content="---" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ </Grid>
+ </StackPanel>
+
+
+ <StackPanel Name="CropPanel" Margin="50,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <Label Content="Cropping" FontWeight="Bold" />
+ <RadioButton Content="Automatic" Margin="10,0,0,0"/>
+ <RadioButton Content="Custom" Margin="10,0,0,0" />
+
+ <Grid Margin="0,10,0,0">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ </Grid.RowDefinitions>
+
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ </Grid.ColumnDefinitions>
+
+ <Label Content="Top" Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" />
+ <Label Content="Bottom" Grid.Row="4" Grid.Column="2" VerticalAlignment="Center" />
+ <Label Content="Left" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" />
+ <Label Content="Right" Grid.Row="2" Grid.Column="4" HorizontalAlignment="Center" />
+
+ <Controls:NumericUpDown Width="45" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="3" Grid.Column="2" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <Controls:NumericUpDown Width="45" Grid.Row="2" Grid.Column="3" HorizontalAlignment="Left" Margin="0,0,0,5" />
+
+ </Grid>
+
+
+ </StackPanel>
+
+
+ </StackPanel>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml.cs
new file mode 100644
index 000000000..9401168dc
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/PictureSettingsView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for PictureSettingsView.xaml
+ /// </summary>
+ public partial class PictureSettingsView : UserControl
+ {
+ public PictureSettingsView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml b/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml
new file mode 100644
index 000000000..694dcd8df
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.QueryEditorView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml.cs
new file mode 100644
index 000000000..d67b7eb5c
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/QueryEditorView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for QueryEditorView.xaml
+ /// </summary>
+ public partial class QueryEditorView : UserControl
+ {
+ public QueryEditorView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml b/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml
new file mode 100644
index 000000000..4594f62b5
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.SubtitlesView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml.cs
new file mode 100644
index 000000000..589462c40
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/SubtitlesView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for SubtitlesView.xaml
+ /// </summary>
+ public partial class SubtitlesView : UserControl
+ {
+ public SubtitlesView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml b/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml
new file mode 100644
index 000000000..72ab1f67c
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.VideoView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml.cs
new file mode 100644
index 000000000..f59435f02
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Controls/VideoView.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for VideoView.xaml
+ /// </summary>
+ public partial class VideoView : UserControl
+ {
+ public VideoView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png
new file mode 100644
index 000000000..315e0fa17
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png
new file mode 100644
index 000000000..916b6ef4a
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/AddToQueue.png b/win/CS/HandBrakeWPF/Views/Images/AddToQueue.png
new file mode 100644
index 000000000..8eb079b3d
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/AddToQueue.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/AddToQueue_small.png b/win/CS/HandBrakeWPF/Views/Images/AddToQueue_small.png
new file mode 100644
index 000000000..5bb08184f
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/AddToQueue_small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/ErrorX.png b/win/CS/HandBrakeWPF/Views/Images/ErrorX.png
new file mode 100644
index 000000000..75c63c08a
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/ErrorX.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/General Preferences.png b/win/CS/HandBrakeWPF/Views/Images/General Preferences.png
new file mode 100644
index 000000000..9814afcc1
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/General Preferences.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Help16.png b/win/CS/HandBrakeWPF/Views/Images/Help16.png
new file mode 100644
index 000000000..bb5ef99ce
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Help16.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Movies.png b/win/CS/HandBrakeWPF/Views/Images/Movies.png
new file mode 100644
index 000000000..ec03eb576
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Movies.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Output_Small.png b/win/CS/HandBrakeWPF/Views/Images/Output_Small.png
new file mode 100644
index 000000000..a1017d6fb
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Output_Small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Pause.png b/win/CS/HandBrakeWPF/Views/Images/Pause.png
new file mode 100644
index 000000000..a20833967
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Pause.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Play.png b/win/CS/HandBrakeWPF/Views/Images/Play.png
new file mode 100644
index 000000000..23fce8283
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Play.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Play_small.png b/win/CS/HandBrakeWPF/Views/Images/Play_small.png
new file mode 100644
index 000000000..3e4647a15
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Play_small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Pref_Small.png b/win/CS/HandBrakeWPF/Views/Images/Pref_Small.png
new file mode 100644
index 000000000..a28fb5b27
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Pref_Small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Queue.png b/win/CS/HandBrakeWPF/Views/Images/Queue.png
new file mode 100644
index 000000000..51962a1b0
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Queue.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/Queue_Small.png b/win/CS/HandBrakeWPF/Views/Images/Queue_Small.png
new file mode 100644
index 000000000..02c7391a9
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/Queue_Small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/copy.png b/win/CS/HandBrakeWPF/Views/Images/copy.png
new file mode 100644
index 000000000..c11c6a753
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/copy.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/disc_small.png b/win/CS/HandBrakeWPF/Views/Images/disc_small.png
new file mode 100644
index 000000000..dca0ad228
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/disc_small.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/download.png b/win/CS/HandBrakeWPF/Views/Images/download.png
new file mode 100644
index 000000000..c3206626b
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/download.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/folder.png b/win/CS/HandBrakeWPF/Views/Images/folder.png
new file mode 100644
index 000000000..a54316ea6
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/folder.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/hb16.png b/win/CS/HandBrakeWPF/Views/Images/hb16.png
new file mode 100644
index 000000000..a9f720775
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/hb16.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/hb32.png b/win/CS/HandBrakeWPF/Views/Images/hb32.png
new file mode 100644
index 000000000..5054264d3
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/hb32.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/info16.png b/win/CS/HandBrakeWPF/Views/Images/info16.png
new file mode 100644
index 000000000..6b6b9f01f
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/info16.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/logo128.png b/win/CS/HandBrakeWPF/Views/Images/logo128.png
new file mode 100644
index 000000000..69d76459d
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/logo128.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/logo64.png b/win/CS/HandBrakeWPF/Views/Images/logo64.png
new file mode 100644
index 000000000..12808f636
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/logo64.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/picture.png b/win/CS/HandBrakeWPF/Views/Images/picture.png
new file mode 100644
index 000000000..0072ccfb6
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/picture.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/save.png b/win/CS/HandBrakeWPF/Views/Images/save.png
new file mode 100644
index 000000000..40885d2d3
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/save.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/stop.png b/win/CS/HandBrakeWPF/Views/Images/stop.png
new file mode 100644
index 000000000..c544b5ee4
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/stop.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/Images/window.png b/win/CS/HandBrakeWPF/Views/Images/window.png
new file mode 100644
index 000000000..48a14a35b
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/Images/window.png
Binary files differ
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
new file mode 100644
index 000000000..496afc4ee
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -0,0 +1,194 @@
+<Window x:Class="HandBrakeWPF.Views.MainView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:Views="clr-namespace:HandBrakeWPF.Views"
+ xmlns:Data="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
+ xmlns:RoutedMessaging="clr-namespace:Caliburn.PresentationFramework.RoutedMessaging;assembly=Caliburn.PresentationFramework"
+ Title="{Data:Binding Path=WindowTitle}" Height="655" Width="1015" FontSize="11">
+
+ <Grid>
+ <StackPanel Orientation="Vertical" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <!-- Menu and Taskbar-->
+ <StackPanel Orientation="Vertical" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <!-- Main Menu -->
+ <Menu Height="23" VerticalAlignment="Top" HorizontalAlignment="Stretch">
+ <MenuItem Header="File">
+ <MenuItem Header="Cancel Scan" />
+ <MenuItem Header="Exit" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ </MenuItem>
+
+ <MenuItem Header="Tools">
+ <MenuItem Header="Show Queue" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <MenuItem Header="Activity Window" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ </MenuItem>
+
+ <MenuItem Header="Presets">
+ <MenuItem Header="Reset Built-in Presets" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <MenuItem Header="Delete Built-in Presets" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <Separator />
+ <MenuItem Header="Save As New Preset" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <MenuItem Header="Import" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <MenuItem Header="Export" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <MenuItem Header="Set as Default" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ </MenuItem>
+
+ <MenuItem Header="Help">
+ <MenuItem Header="HandBrake User Guide" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <Separator />
+ <MenuItem Header="Check for Updates" RoutedMessaging:Message.Attach="[Event Click] = [Action ExitApplication]" />
+ <Separator />
+ <MenuItem Header="About..." RoutedMessaging:Message.Attach="[Event Click] = [Action AboutApplication]" />
+ </MenuItem>
+ </Menu>
+
+ <!-- ToolBar -->
+ <ToolBar Name="mainToolBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" SnapsToDevicePixels="False">
+
+ <Button Name="Source">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/Movies.png" Height="32" Width="32" />
+ <Label Content="Source" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+
+ <Separator />
+
+ <Button Name="Start">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/Play.png" Height="32" Width="32" />
+ <Label Content="Start" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+ <Button Name="AddToQueue">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/AddToQueue.png" Height="32" Width="32" />
+ <Label Content="Add To Queue" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+
+ <Button Name="ShowQueue">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/Queue.png" Height="32" Width="32" />
+ <Label Content="Show Queue" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+
+ <Separator />
+
+ <Button Name="Preview">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/window.png" Height="32" Width="32" />
+ <Label Content="Preview" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+ <Button Name="ActivityWindow">
+ <StackPanel Orientation="Horizontal">
+ <Image Source="Images/ActivityWindow.png" Height="32" Width="32" />
+ <Label Content="Activity Window" Margin="8,0,0,0" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+ </ToolBar>
+ </StackPanel>
+
+ <!-- Main Body-->
+ <StackPanel Orientation="Horizontal">
+
+ <!-- Main Controls-->
+ <StackPanel Orientation="Vertical">
+ <!-- Source -->
+ <StackPanel Margin="10,5,10,5" MaxWidth="725" Width="725" HorizontalAlignment="Left">
+ <StackPanel Orientation="Horizontal">
+ <Label Content="Source" FontWeight="Bold" />
+ <Label Content="{Binding Path=SourceLabel}" />
+ </StackPanel>
+
+ <StackPanel Orientation="Horizontal">
+ <Label Content="Title" Margin="8,0,0,0" />
+ <ComboBox Name="Titles" Margin="8,0,0,0" MinWidth="100" SelectedItem="{Binding Path=CurrentTask.Title}" />
+
+ <Label Content="Angle" Margin="8,0,0,0" />
+ <ComboBox Name="Angles" Margin="8,0,0,0" MinWidth="60" SelectedItem="{Binding Path=CurrentTask.Angle}"/>
+
+ <ComboBox Name="PointToPointMode" Margin="8,0,0,0" MinWidth="80" SelectedItem="{Binding Path=CurrentTask.PointToPointMode}" />
+ <ComboBox Name="StartPoint" Margin="8,0,0,0" MinWidth="60" SelectedItem="{Binding Path=CurrentTask.StartPoint}" />
+ <Label Content="through" Margin="8,0,0,0" />
+ <ComboBox Name="EndPoint" Margin="8,0,0,0" MinWidth="60" SelectedItem="{Binding Path=CurrentTask.EndPoint}" />
+ <Label Content="Duration" Margin="8,0,0,0" />
+ <Label Content="--:--:--" Margin="8,0,0,0" />
+ </StackPanel>
+ </StackPanel>
+
+ <!-- Destination -->
+ <StackPanel Margin="10,5,10,5" MaxWidth="725" Width="725" HorizontalAlignment="Left">
+ <Label Content="Destination" FontWeight="Bold" />
+ <StackPanel Orientation="Horizontal">
+ <Label Content="File" Margin="8,0,0,0" />
+ <TextBox Name="Destination" Margin="8,0,0,0" Width="600" Text="{}" />
+ <Button Name="DestinationBrowser" Margin="8,0,0,0" Padding="8,0,8,0" Content="Browse" />
+ </StackPanel>
+ </StackPanel>
+
+ <!-- Output Options -->
+ <StackPanel Margin="10,5,10,5" MaxWidth="725" Width="725" HorizontalAlignment="Left">
+ <Label Content="Output Settings (Preset: None)" FontWeight="Bold" />
+ <StackPanel Orientation="Horizontal">
+ <Label Content="Container" Margin="8,0,0,0" />
+ <ComboBox Name="Container" Margin="8,0,0,0" MinWidth="100" SelectedItem="{Binding Path=CurrentTask.OutputFormat}" />
+
+ <CheckBox Name="LargeFileMp4" Content="Large File Size" IsChecked="{Binding Path=CurrentTask.LargeFile}" VerticalAlignment="Center" Margin="8,0,0,0" />
+ <CheckBox Name="WebOptimized" Content="Web Optimized" IsChecked="{Binding Path=CurrentTask.OptimizeMP4}" VerticalAlignment="Center" Margin="8,0,0,0" />
+ <CheckBox Name="iPod5G" Content="iPod 5G Support" IsChecked="{Binding Path=CurrentTask.IPod5GSupport}" VerticalAlignment="Center" Margin="8,0,0,0" />
+ </StackPanel>
+ </StackPanel>
+
+ <!-- Tab Control -->
+ <TabControl HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="725" Height="330" Margin="10,10,10,10" Name="tabControl" >
+ <TabItem Header="Picture" Name="pictureTab">
+ <Views:PictureSettingsView x:Name="pictureSettingsView"></Views:PictureSettingsView>
+ </TabItem>
+ <TabItem Header="Video Filters" Name="filtersTab">
+ <Views:FiltersView></Views:FiltersView>
+ </TabItem>
+ <TabItem Header="Video" Name="videoTab">
+ <Views:VideoView></Views:VideoView>
+ </TabItem>
+ <TabItem Header="Audio" Name="audioTab">
+ <Views:AudioView></Views:AudioView>
+ </TabItem>
+ <TabItem Header="Chapters" Name="chaptersTab">
+ <Views:ChaptersView></Views:ChaptersView>
+ </TabItem>
+ <TabItem Header="Advanced" Name="advancedTab">
+ <Views:AdvancedView></Views:AdvancedView>
+ </TabItem>
+ </TabControl>
+
+ </StackPanel>
+
+ <!-- Presets -->
+ <StackPanel Margin="5,5,5,5" Orientation="Vertical">
+ <GroupBox Header="Presets" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <StackPanel Orientation="Vertical">
+ <TreeView ItemsSource="{Binding Presets}" Width="240" Height="460" >
+
+ </TreeView>
+
+ <StackPanel Orientation="Horizontal">
+ <Button Content="Add" Margin="5,5,5,5" />
+ <Button Content="Remove" Margin="5,5,5,5" />
+ <Button Content="Set Default" Margin="5,5,5,5" />
+ </StackPanel>
+ </StackPanel>
+ </GroupBox>
+ </StackPanel>
+
+ </StackPanel>
+
+ <!-- Status Bar -->
+ <StatusBar Grid.Row="6" Height="30" Grid.ColumnSpan="2" VerticalAlignment="Bottom">
+ <Label Content="{Binding Path=ProgramStatusLabel}" FontSize="10" VerticalAlignment="Center" />
+ </StatusBar>
+
+ </StackPanel>
+ </Grid>
+</Window>
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs
new file mode 100644
index 000000000..efb3e7d6e
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs
@@ -0,0 +1,23 @@
+/* MainView.xaml.cs $
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+namespace HandBrakeWPF.Views
+{
+ using System.Windows;
+
+ /// <summary>
+ /// Interaction logic for MainView.xaml
+ /// </summary>
+ public partial class MainView : Window
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="MainView"/> class.
+ /// </summary>
+ public MainView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
new file mode 100644
index 000000000..7573415b7
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
@@ -0,0 +1,8 @@
+<Window x:Class="HandBrakeWPF.Views.OptionsView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ Title="OptionsView" Height="300" Width="300">
+ <Grid>
+
+ </Grid>
+</Window>
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs b/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs
new file mode 100644
index 000000000..9d0fc947c
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace HandBrakeWPF.Views
+{
+ /// <summary>
+ /// Interaction logic for OptionsView.xaml
+ /// </summary>
+ public partial class OptionsView : Window
+ {
+ public OptionsView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/PreviewView.xaml b/win/CS/HandBrakeWPF/Views/PreviewView.xaml
new file mode 100644
index 000000000..e3bd0be52
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/PreviewView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.PreviewView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/PreviewView.xaml.cs b/win/CS/HandBrakeWPF/Views/PreviewView.xaml.cs
new file mode 100644
index 000000000..0bbf84b0a
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/PreviewView.xaml.cs
@@ -0,0 +1,15 @@
+namespace HandBrakeWPF.Views
+{
+ using System.Windows.Controls;
+
+ /// <summary>
+ /// Interaction logic for VideoView.xaml
+ /// </summary>
+ public partial class PreviewView : UserControl
+ {
+ public PreviewView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml b/win/CS/HandBrakeWPF/Views/QueueView.xaml
new file mode 100644
index 000000000..f3fae9b26
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml
@@ -0,0 +1,11 @@
+<UserControl x:Class="HandBrakeWPF.Views.QueueView"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="300">
+ <Grid Background="Beige">
+
+ </Grid>
+</UserControl>
diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs b/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs
new file mode 100644
index 000000000..ae0743166
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml.cs
@@ -0,0 +1,15 @@
+namespace HandBrakeWPF.Views
+{
+ using System.Windows.Controls;
+
+ /// <summary>
+ /// Interaction logic for VideoView.xaml
+ /// </summary>
+ public partial class QueueView : UserControl
+ {
+ public QueueView()
+ {
+ InitializeComponent();
+ }
+ }
+}