diff options
Diffstat (limited to 'UVtools.WPF/MainWindow.axaml')
-rw-r--r-- | UVtools.WPF/MainWindow.axaml | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/UVtools.WPF/MainWindow.axaml b/UVtools.WPF/MainWindow.axaml index 50fd61d..89f1090 100644 --- a/UVtools.WPF/MainWindow.axaml +++ b/UVtools.WPF/MainWindow.axaml @@ -982,7 +982,7 @@ </Border> <Grid - RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto" + RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto" ColumnDefinitions="Auto,10,130,5,40"> <TextBlock @@ -1063,46 +1063,64 @@ Grid.Row="12" Grid.Column="0" VerticalAlignment="Center" - Text="Remove pixel brightness:" /> + Text="Rotation angle:" /> <NumericUpDown Grid.Row="12" Grid.Column="2" + FormatString="F2" + Minimum="-360" + Maximum="360" + Value="{Binding DrawingPixelText.Angle}"/> + <TextBlock + Grid.Row="12" + Grid.Column="4" + VerticalAlignment="Center" + Text="ยบ" /> + + <TextBlock + Grid.Row="14" + Grid.Column="0" + VerticalAlignment="Center" + Text="Remove pixel brightness:" /> + <NumericUpDown + Grid.Row="14" + Grid.Column="2" Minimum="0" Maximum="255" Value="{Binding DrawingPixelText.RemovePixelBrightness}"/> <TextBlock - Grid.Row="12" + Grid.Row="14" Grid.Column="4" VerticalAlignment="Center" Text="{Binding DrawingPixelText.RemovePixelBrightnessPercent, StringFormat=\{0:0\}%}" /> <TextBlock - Grid.Row="14" + Grid.Row="16" Grid.Column="0" VerticalAlignment="Center" Text="Add pixel brightness:" /> <NumericUpDown - Grid.Row="14" + Grid.Row="16" Grid.Column="2" Minimum="1" Maximum="255" Value="{Binding DrawingPixelText.PixelBrightness}"/> <TextBlock - Grid.Row="14" + Grid.Row="16" Grid.Column="4" VerticalAlignment="Center" Text="{Binding DrawingPixelText.PixelBrightnessPercent, StringFormat=\{0:0\}%}" /> <TextBlock - Grid.Row="16" + Grid.Row="18" Grid.Column="0" VerticalAlignment="Center" Text="Layers depth below:" /> <NumericUpDown - Grid.Row="16" + Grid.Row="18" Grid.Column="2" Grid.ColumnSpan="3" Minimum="0" @@ -1111,12 +1129,12 @@ <TextBlock - Grid.Row="18" + Grid.Row="20" Grid.Column="0" VerticalAlignment="Center" Text="Layers depth above:" /> <NumericUpDown - Grid.Row="18" + Grid.Row="20" Grid.Column="2" Grid.ColumnSpan="3" Minimum="0" @@ -1824,6 +1842,10 @@ <CheckBox IsChecked="{Binding ShowLayerOutlineEdgeDetection}" Content="Edge detection"/> + <CheckBox + IsChecked="{Binding ShowLayerOutlineSkeletonize}" + IsEnabled="{Binding !ShowLayerOutlineEdgeDetection}" + Content="Skeletonize"/> </ContextMenu> </Button.ContextMenu> <StackPanel Orientation="Horizontal"> |