diff options
author | sr55 <[email protected]> | 2021-01-30 17:20:03 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-01-30 17:20:03 +0000 |
commit | 64e15a878106652f723bd0d72c3a32a3e7e184c8 (patch) | |
tree | 77f888ce0bd1510723e5612298bc1193aeb48084 /win/CS/HandBrakeWPF/Views | |
parent | 15cad9f2092ece526ea245b9600fd57de0d0561c (diff) |
WinGui: Add support for the colourspace filter.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/FiltersView.xaml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/FiltersView.xaml b/win/CS/HandBrakeWPF/Views/FiltersView.xaml index 5a14d9f8f..a164c9ac9 100644 --- a/win/CS/HandBrakeWPF/Views/FiltersView.xaml +++ b/win/CS/HandBrakeWPF/Views/FiltersView.xaml @@ -41,6 +41,7 @@ <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
@@ -191,8 +192,25 @@ <TextBox Width="240" Margin="0" Text="{Binding DeblockFilter.CustomDeblock, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" MinHeight="22" />
</StackPanel>
+
+
+ <!-- Colourspace -->
+ <TextBlock Text="{x:Static Properties:Resources.FiltersView_ColourSpace}" Grid.Row="6" Grid.Column="0" VerticalAlignment="Center" Margin="0,10,0,10" />
+ <ComboBox Width="120" Grid.Row="6" Grid.Column="1" Margin="0,10,0,10"
+ ItemsSource="{Binding ColourSpaceFilter.Presets}" DisplayMemberPath="DisplayName"
+ SelectedItem="{Binding ColourSpaceFilter.SelectedPreset}"
+ AutomationProperties.Name="{x:Static Properties:Resources.FiltersView_ColourSpace}"
+ HorizontalAlignment="Left" VerticalAlignment="Center"
+ ToolTip="{x:Static Properties:ResourcesTooltips.FiltersView_ColourSpace}" />
+
+
+ <StackPanel Orientation="Horizontal" Visibility="{Binding ColourSpaceFilter.ShowColourspaceCustom, Converter={StaticResource boolToVisConverter}}" Grid.Row="6" Grid.Column="2" Margin="0,10,0,10" >
+ <TextBlock Text="{x:Static Properties:Resources.FiltersView_Custom}" Margin="5,0,5,0" VerticalAlignment="Center" />
+ <TextBox Width="240" Margin="0" Text="{Binding ColourSpaceFilter.CustomColourspace, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" MinHeight="22" />
+ </StackPanel>
+
<!-- Grayscale -->
- <CheckBox Content="{x:Static Properties:Resources.FiltersView_Grayscale}" IsChecked="{Binding GrayscaleFilter.Grayscale}" Grid.Row="6" Grid.Column="1" Margin="0,10,0,10"
+ <CheckBox Content="{x:Static Properties:Resources.FiltersView_Grayscale}" IsChecked="{Binding GrayscaleFilter.Grayscale}" Grid.Row="7" Grid.Column="1" Margin="0,10,0,10"
ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_Grayscale}" HorizontalAlignment="Left" />
</Grid>
|