|
|
@@ -72,6 +72,17 @@
|
|
|
Width="12" />
|
|
|
</MenuItem.Icon>
|
|
|
</MenuItem>
|
|
|
+ <Separator />
|
|
|
+ <MenuItem Header="{CompiledBinding Translation.Close}" x:Name="CloseItem">
|
|
|
+ <MenuItem.Icon>
|
|
|
+ <Path
|
|
|
+ Data="{StaticResource CloseGeometry}"
|
|
|
+ Fill="{DynamicResource MainTextColor}"
|
|
|
+ Height="12"
|
|
|
+ Stretch="Fill"
|
|
|
+ Width="12" />
|
|
|
+ </MenuItem.Icon>
|
|
|
+ </MenuItem>
|
|
|
</ContextMenu>
|
|
|
</UserControl.ContextMenu>
|
|
|
|
|
|
@@ -84,367 +95,360 @@
|
|
|
x:Name="SpinWaiter" />
|
|
|
|
|
|
<StackPanel Width="500" x:Name="ParentContainer">
|
|
|
- <Expander IsExpanded="True" Margin="0,15,0,10">
|
|
|
- <Expander.Header>
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
|
|
|
+ FontSize="14"
|
|
|
+ Margin="0,15,0,10"
|
|
|
+ Padding="10,5"
|
|
|
+ Text="{CompiledBinding Translation.Lighting}" />
|
|
|
+ <StackPanel Margin="15,20">
|
|
|
+
|
|
|
+ <!-- Brightness -->
|
|
|
+ <Panel>
|
|
|
<TextBlock
|
|
|
Classes="txt"
|
|
|
- FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
|
|
|
- FontSize="14"
|
|
|
- Padding="10,5"
|
|
|
- Text="{CompiledBinding Translation.Lighting}" />
|
|
|
- </Expander.Header>
|
|
|
- <StackPanel Margin="15,20">
|
|
|
-
|
|
|
- <!-- Brightness -->
|
|
|
- <Panel>
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.Brightness}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
-
|
|
|
- <Rectangle
|
|
|
- Fill="{DynamicResource MainBorderColor}"
|
|
|
- Height="20"
|
|
|
- HorizontalAlignment="Center"
|
|
|
- Margin="0,0,122,-10"
|
|
|
- Stroke="{DynamicResource MainBorderColor}"
|
|
|
- StrokeThickness="1"
|
|
|
- Width="2" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- LargeChange="5"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="100"
|
|
|
- Minimum="-85"
|
|
|
- SmallChange="1"
|
|
|
- Theme="{StaticResource SetBg}"
|
|
|
- TickFrequency="1"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="BrightnessSlider">
|
|
|
- <customControls:CustomSlider.Background>
|
|
|
- <LinearGradientBrush EndPoint="100%,50%" StartPoint="0%,50%">
|
|
|
- <GradientStop Color="#111111" Offset="0" />
|
|
|
- <GradientStop Color="White" Offset="1" />
|
|
|
- </LinearGradientBrush>
|
|
|
- </customControls:CustomSlider.Background>
|
|
|
- </customControls:CustomSlider>
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=BrightnessSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=BrightnessSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=BrightnessSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetBrightnessBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!-- Contrast -->
|
|
|
- <Panel>
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.Contrast}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
-
|
|
|
- <Rectangle
|
|
|
- Fill="{DynamicResource MainBorderColor}"
|
|
|
- Height="20"
|
|
|
- HorizontalAlignment="Center"
|
|
|
- Margin="0,0,122,-10"
|
|
|
- Stroke="{DynamicResource MainBorderColor}"
|
|
|
- StrokeThickness="1"
|
|
|
- Width="2" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- LargeChange="5"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="100"
|
|
|
- Minimum="-85"
|
|
|
- SmallChange="1"
|
|
|
- Theme="{StaticResource SetBg}"
|
|
|
- TickFrequency="1"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="ContrastSlider">
|
|
|
- <customControls:CustomSlider.Background>
|
|
|
- <LinearGradientBrush EndPoint="100%,50%" StartPoint="0%,50%">
|
|
|
- <GradientStop Color="#06FF0000" Offset="0" />
|
|
|
- <GradientStop Color="#40FF7F00" Offset="0.17" />
|
|
|
- <GradientStop Color="#60FFFF00" Offset="0.33" />
|
|
|
- <GradientStop Color="#8000FF00" Offset="0.5" />
|
|
|
- <GradientStop Color="#A00000FF" Offset="0.67" />
|
|
|
- <GradientStop Color="#C04B0082" Offset="0.83" />
|
|
|
- <GradientStop Color="#FF8F00FF" Offset="1" />
|
|
|
- </LinearGradientBrush>
|
|
|
- </customControls:CustomSlider.Background>
|
|
|
- </customControls:CustomSlider>
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=ContrastSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=ContrastSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=ContrastSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetContrastBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.Brightness}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+
|
|
|
+ <Rectangle
|
|
|
+ Fill="{DynamicResource MainBorderColor}"
|
|
|
+ Height="20"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ Margin="0,0,122,-10"
|
|
|
+ Stroke="{DynamicResource MainBorderColor}"
|
|
|
+ StrokeThickness="1"
|
|
|
+ Width="2" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ LargeChange="5"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="100"
|
|
|
+ Minimum="-85"
|
|
|
+ SmallChange="1"
|
|
|
+ Theme="{StaticResource SetBg}"
|
|
|
+ TickFrequency="1"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="BrightnessSlider">
|
|
|
+ <customControls:CustomSlider.Background>
|
|
|
+ <LinearGradientBrush EndPoint="100%,50%" StartPoint="0%,50%">
|
|
|
+ <GradientStop Color="#111111" Offset="0" />
|
|
|
+ <GradientStop Color="White" Offset="1" />
|
|
|
+ </LinearGradientBrush>
|
|
|
+ </customControls:CustomSlider.Background>
|
|
|
+ </customControls:CustomSlider>
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=BrightnessSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=BrightnessSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=BrightnessSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetBrightnessBtn" />
|
|
|
+ </StackPanel>
|
|
|
|
|
|
+ <!-- Contrast -->
|
|
|
+ <Panel>
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.Contrast}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+
|
|
|
+ <Rectangle
|
|
|
+ Fill="{DynamicResource MainBorderColor}"
|
|
|
+ Height="20"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ Margin="0,0,122,-10"
|
|
|
+ Stroke="{DynamicResource MainBorderColor}"
|
|
|
+ StrokeThickness="1"
|
|
|
+ Width="2" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ LargeChange="5"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="100"
|
|
|
+ Minimum="-85"
|
|
|
+ SmallChange="1"
|
|
|
+ Theme="{StaticResource SetBg}"
|
|
|
+ TickFrequency="1"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="ContrastSlider">
|
|
|
+ <customControls:CustomSlider.Background>
|
|
|
+ <LinearGradientBrush EndPoint="100%,50%" StartPoint="0%,50%">
|
|
|
+ <GradientStop Color="#06FF0000" Offset="0" />
|
|
|
+ <GradientStop Color="#40FF7F00" Offset="0.17" />
|
|
|
+ <GradientStop Color="#60FFFF00" Offset="0.33" />
|
|
|
+ <GradientStop Color="#8000FF00" Offset="0.5" />
|
|
|
+ <GradientStop Color="#A00000FF" Offset="0.67" />
|
|
|
+ <GradientStop Color="#C04B0082" Offset="0.83" />
|
|
|
+ <GradientStop Color="#FF8F00FF" Offset="1" />
|
|
|
+ </LinearGradientBrush>
|
|
|
+ </customControls:CustomSlider.Background>
|
|
|
+ </customControls:CustomSlider>
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=ContrastSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=ContrastSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=ContrastSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetContrastBtn" />
|
|
|
</StackPanel>
|
|
|
|
|
|
- </Expander>
|
|
|
|
|
|
- <Expander IsExpanded="True" Margin="0,0,0,10">
|
|
|
- <Expander.Header>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
|
|
|
+ FontSize="14"
|
|
|
+ Margin="0,0,0,10"
|
|
|
+ Padding="10,5"
|
|
|
+ Text="{CompiledBinding Translation.Effects}" />
|
|
|
+ <StackPanel Margin="15,0">
|
|
|
+
|
|
|
+ <!-- Blur -->
|
|
|
+ <Panel Margin="0,10,0,5">
|
|
|
<TextBlock
|
|
|
Classes="txt"
|
|
|
- FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
|
|
|
- FontSize="14"
|
|
|
- Padding="10,5"
|
|
|
- Text="{CompiledBinding Translation.Effects}" />
|
|
|
- </Expander.Header>
|
|
|
- <StackPanel Margin="15,0">
|
|
|
-
|
|
|
- <!-- Blur -->
|
|
|
- <Panel Margin="0,10,0,5">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.Blur}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="100"
|
|
|
- Minimum="0"
|
|
|
- SmallChange="1"
|
|
|
- TickFrequency="1"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="BlurSlider" />
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=BlurSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=BlurSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=BlurSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetBlurBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!-- Pencil Sketch -->
|
|
|
- <Panel Margin="0,10,0,5">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.PencilSketch}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- LargeChange="1"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="6"
|
|
|
- Minimum="0"
|
|
|
- SmallChange="1"
|
|
|
- TickFrequency="1"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="PencilSketchSlider" />
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=PencilSketchSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=PencilSketchSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=PencilSketchSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetPencilSketchBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!-- Posterize -->
|
|
|
- <Panel Margin="0,10,0,5">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.Posterize}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- LargeChange="1"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="8"
|
|
|
- Minimum="0"
|
|
|
- SmallChange="1"
|
|
|
- TickFrequency="1"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="PosterizeSlider" />
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=PosterizeSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=PosterizeSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=PosterizeSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetPosterizeBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- <!-- Solarize -->
|
|
|
- <Panel Margin="0,10,0,5">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.Solarize}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </Panel>
|
|
|
-
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
-
|
|
|
- <customControls:CustomSlider
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Height="30"
|
|
|
- IsSnapToTickEnabled="True"
|
|
|
- LargeChange="10"
|
|
|
- Margin="0,1,10,1"
|
|
|
- Maximum="95"
|
|
|
- Minimum="0"
|
|
|
- SmallChange="5"
|
|
|
- TickFrequency="10"
|
|
|
- Value="0"
|
|
|
- Width="376"
|
|
|
- x:Name="SolarizeSlider" />
|
|
|
- <NumericUpDown
|
|
|
- Maximum="{Binding Path=Maximum, ElementName=SolarizeSlider}"
|
|
|
- Minimum="{Binding Path=Minimum, ElementName=SolarizeSlider}"
|
|
|
- Value="{Binding Path=Value, ElementName=SolarizeSlider}" />
|
|
|
- <customControls:IconButton
|
|
|
- Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
- BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
- BorderThickness="1"
|
|
|
- Classes="hover"
|
|
|
- Foreground="{DynamicResource MainTextColor}"
|
|
|
- Icon="{StaticResource UndoImage}"
|
|
|
- IconHeight="12"
|
|
|
- IconWidth="12"
|
|
|
- Margin="5,0,0,0"
|
|
|
- Width="30"
|
|
|
- x:Name="ResetSolarizeBtn" />
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
-
|
|
|
- <!-- Black/White -->
|
|
|
- <ToggleButton
|
|
|
- Background="Transparent"
|
|
|
- Classes="altHover"
|
|
|
- Margin="0,5,0,0"
|
|
|
- x:Name="BlackAndWhiteToggleButton">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.BlackAndWhite}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </ToggleButton>
|
|
|
-
|
|
|
- <!-- Negative Colors -->
|
|
|
- <ToggleButton
|
|
|
- Background="Transparent"
|
|
|
- Classes="altHover"
|
|
|
- x:Name="NegativeToggleButton">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.NegativeColors}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </ToggleButton>
|
|
|
-
|
|
|
- <!-- Old Movie -->
|
|
|
- <ToggleButton
|
|
|
- Background="Transparent"
|
|
|
- Classes="altHover"
|
|
|
- x:Name="OldMovieToggleButton">
|
|
|
- <TextBlock
|
|
|
- Classes="txt"
|
|
|
- HorizontalAlignment="Left"
|
|
|
- Text="{CompiledBinding Translation.OldMovie}"
|
|
|
- VerticalAlignment="Center" />
|
|
|
- </ToggleButton>
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.Blur}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="100"
|
|
|
+ Minimum="0"
|
|
|
+ SmallChange="1"
|
|
|
+ TickFrequency="1"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="BlurSlider" />
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=BlurSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=BlurSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=BlurSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetBlurBtn" />
|
|
|
+ </StackPanel>
|
|
|
|
|
|
+ <!-- Pencil Sketch -->
|
|
|
+ <Panel Margin="0,10,0,5">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.PencilSketch}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ LargeChange="1"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="6"
|
|
|
+ Minimum="0"
|
|
|
+ SmallChange="1"
|
|
|
+ TickFrequency="1"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="PencilSketchSlider" />
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=PencilSketchSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=PencilSketchSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=PencilSketchSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetPencilSketchBtn" />
|
|
|
+ </StackPanel>
|
|
|
|
|
|
+ <!-- Posterize -->
|
|
|
+ <Panel Margin="0,10,0,5">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.Posterize}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ LargeChange="1"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="8"
|
|
|
+ Minimum="0"
|
|
|
+ SmallChange="1"
|
|
|
+ TickFrequency="1"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="PosterizeSlider" />
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=PosterizeSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=PosterizeSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=PosterizeSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetPosterizeBtn" />
|
|
|
</StackPanel>
|
|
|
|
|
|
- </Expander>
|
|
|
+ <!-- Solarize -->
|
|
|
+ <Panel Margin="0,10,0,5">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.Solarize}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </Panel>
|
|
|
+
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+
|
|
|
+ <customControls:CustomSlider
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Height="30"
|
|
|
+ IsSnapToTickEnabled="True"
|
|
|
+ LargeChange="10"
|
|
|
+ Margin="0,1,10,1"
|
|
|
+ Maximum="95"
|
|
|
+ Minimum="0"
|
|
|
+ SmallChange="5"
|
|
|
+ TickFrequency="10"
|
|
|
+ Value="0"
|
|
|
+ Width="376"
|
|
|
+ x:Name="SolarizeSlider" />
|
|
|
+ <NumericUpDown
|
|
|
+ Maximum="{Binding Path=Maximum, ElementName=SolarizeSlider}"
|
|
|
+ Minimum="{Binding Path=Minimum, ElementName=SolarizeSlider}"
|
|
|
+ Value="{Binding Path=Value, ElementName=SolarizeSlider}" />
|
|
|
+ <customControls:IconButton
|
|
|
+ Background="{DynamicResource MainButtonBackgroundColor}"
|
|
|
+ BorderBrush="{DynamicResource MainBorderColor}"
|
|
|
+ BorderThickness="1"
|
|
|
+ Classes="hover"
|
|
|
+ Foreground="{DynamicResource MainTextColor}"
|
|
|
+ Icon="{StaticResource UndoImage}"
|
|
|
+ IconHeight="12"
|
|
|
+ IconWidth="12"
|
|
|
+ Margin="5,0,0,0"
|
|
|
+ Width="30"
|
|
|
+ x:Name="ResetSolarizeBtn" />
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- Black/White -->
|
|
|
+ <ToggleButton
|
|
|
+ Background="Transparent"
|
|
|
+ Classes="altHover"
|
|
|
+ Margin="0,5,0,0"
|
|
|
+ x:Name="BlackAndWhiteToggleButton">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.BlackAndWhite}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </ToggleButton>
|
|
|
+
|
|
|
+ <!-- Negative Colors -->
|
|
|
+ <ToggleButton
|
|
|
+ Background="Transparent"
|
|
|
+ Classes="altHover"
|
|
|
+ x:Name="NegativeToggleButton">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.NegativeColors}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </ToggleButton>
|
|
|
+
|
|
|
+ <!-- Old Movie -->
|
|
|
+ <ToggleButton
|
|
|
+ Background="Transparent"
|
|
|
+ Classes="altHover"
|
|
|
+ x:Name="OldMovieToggleButton">
|
|
|
+ <TextBlock
|
|
|
+ Classes="txt"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ Text="{CompiledBinding Translation.OldMovie}"
|
|
|
+ VerticalAlignment="Center" />
|
|
|
+ </ToggleButton>
|
|
|
+
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
|
|
|
</StackPanel>
|
|
|
</Panel>
|