fa3d4c19b2
- gestione fotografie con scalatura pixel di MapaScan - riportate le modifiche di OmagCUT per rotazione grezzi in Split & Move - correzioni in posizionamento fotografia.
99 lines
4.2 KiB
XML
99 lines
4.2 KiB
XML
<UserControl x:Class="MoveRawModeV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5">
|
|
|
|
<StackPanel IsEnabled="{Binding MoveRawModeIsEnabled}">
|
|
|
|
<Grid HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,0,5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="5"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="5"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Button Grid.Column="2" Grid.Row="0"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding UpCommand}">
|
|
<Image Source="/Resources/NestingTab/UpArrow.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Grid.Column="0" Grid.Row="2"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding LeftCommand}"
|
|
Visibility="{Binding LRArrowVisibility}">
|
|
<Image Source="/Resources/NestingTab/LeftArrow.png"/>
|
|
</Button>
|
|
|
|
<EgtWPFLib5:EgtTextBox Grid.Column="2" Grid.Row="2" Width="40"
|
|
Text="{Binding MoveStep}"
|
|
VerticalAlignment="Center"
|
|
HorizontalContentAlignment="Right"/>
|
|
|
|
<Button Grid.Column="4" Grid.Row="2"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding RightCommand}"
|
|
Visibility="{Binding LRArrowVisibility}">
|
|
<Image Source="/Resources/NestingTab/RightArrow.png"/>
|
|
</Button>
|
|
|
|
<Button Grid.Column="2" Grid.Row="4"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding DownCommand}">
|
|
<Image Source="/Resources/NestingTab/DownArrow.png"/>
|
|
</Button>
|
|
|
|
<Button Grid.Column="0" Grid.Row="6"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding CcwRotCommand}"
|
|
Visibility="{Binding RotationVisibility}">
|
|
<Image Source="/Resources/NestingTab/CounterClockwiseRotate.png"
|
|
Width="64" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
<Grid Name="RotationAngle" Grid.Column="2" Grid.Row="6"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
Visibility="{Binding RotationVisibility}">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding RotationStep}" Width="40"/>
|
|
<TextBlock Grid.Column="1" FontSize="30" Margin="2,-5,0,0"
|
|
Text="°"/>
|
|
</Grid>
|
|
|
|
<Button Grid.Column="4" Grid.Row="6"
|
|
Style="{StaticResource OptionPanel_NestingButton}"
|
|
Command="{Binding CwRotCommand}"
|
|
Visibility="{Binding RotationVisibility}">
|
|
<Image Source="/Resources/NestingTab/ClockwiseRotate.png"
|
|
Width="65" Height="65" HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
<Button Grid.Column="2" Grid.Row="4"
|
|
Content="{Binding RemoveMsg}"
|
|
Style="{StaticResource OptionPanel_TextButton}"
|
|
Command="{Binding RemovePartCommand}"
|
|
Margin="0,0,0,5"/>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|