|
@@ -44,8 +44,8 @@
|
|
<Grid Name="mainGrid" Margin="5">
|
|
<Grid Name="mainGrid" Margin="5">
|
|
<Grid.ColumnDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="37*"/>
|
|
<ColumnDefinition Width="37*"/>
|
|
- <ColumnDefinition Width="1416*"/>
|
|
|
|
- <ColumnDefinition Width="147*"/>
|
|
|
|
|
|
+ <ColumnDefinition Width="1263*"/>
|
|
|
|
+ <ColumnDefinition Width="290"/>
|
|
</Grid.ColumnDefinitions>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="35*"/>
|
|
<RowDefinition Height="35*"/>
|
|
@@ -148,9 +148,9 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</ItemsControl>
|
|
- <Rectangle Stroke="#7F8ECAFF" Height="{Binding ActiveSelection.VisualHeight}" Width="{Binding ActiveSelection.VisualWidth}"
|
|
|
|
- Canvas.Left="{Binding ActiveSelection.VisualCanvasLeft}" Canvas.Top="{Binding ActiveSelection.VisualCanvasTop}" Visibility="{Binding ActiveSelection.Visibility}"
|
|
|
|
- Fill="#7F8ECAFF" StrokeThickness="0" SnapsToDevicePixels="True"/>
|
|
|
|
|
|
+ <Image Source="{Binding ActiveSelection.SelectionLayer.LayerBitmap}"
|
|
|
|
+ RenderOptions.BitmapScalingMode="NearestNeighbor" Stretch="Uniform"
|
|
|
|
+ Width="{Binding ActiveSelection.SelectionLayer.Width}" Height="{Binding ActiveSelection.SelectionLayer.Height}"/>
|
|
</Canvas>
|
|
</Canvas>
|
|
</vws:MainDrawingPanel.Item>
|
|
</vws:MainDrawingPanel.Item>
|
|
</vws:MainDrawingPanel>
|
|
</vws:MainDrawingPanel>
|
|
@@ -177,26 +177,26 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
<DockPanel Grid.Column="2" Background="#404040" Margin="0,30,0,0" Grid.RowSpan="3">
|
|
<DockPanel Grid.Column="2" Background="#404040" Margin="0,30,0,0" Grid.RowSpan="3">
|
|
- <Grid DockPanel.Dock="Top" HorizontalAlignment="Center" Width="100" Margin="0,20,0,0" Height="100">
|
|
|
|
- <Rectangle Height="70" Width="70" HorizontalAlignment="Left" VerticalAlignment="Top" Stroke="Black" StrokeThickness="1" Panel.ZIndex="1">
|
|
|
|
|
|
+ <Grid DockPanel.Dock="Top" HorizontalAlignment="Center" Width="70" Margin="0,20,0,0" Height="70">
|
|
|
|
+ <Rectangle Height="40" Width="40" HorizontalAlignment="Left" VerticalAlignment="Top" Stroke="Black" StrokeThickness="1" Panel.ZIndex="1">
|
|
<Rectangle.Fill>
|
|
<Rectangle.Fill>
|
|
<SolidColorBrush Color="{Binding PrimaryColor, Mode=OneWay}"/>
|
|
<SolidColorBrush Color="{Binding PrimaryColor, Mode=OneWay}"/>
|
|
</Rectangle.Fill>
|
|
</Rectangle.Fill>
|
|
</Rectangle>
|
|
</Rectangle>
|
|
- <xctk:ColorPicker Width="70" Panel.ZIndex="2" Height="70" VerticalAlignment="Top" HorizontalAlignment="Left" UsingAlphaChannel="True" AvailableColorsSortingMode="Alphabetical" ShowDropDownButton="False" Background="Transparent" BorderThickness="0" ShowRecentColors="True" SelectedColor="{Binding PrimaryColor, Mode=TwoWay}"></xctk:ColorPicker>
|
|
|
|
|
|
+ <xctk:ColorPicker Width="40" Panel.ZIndex="2" Height="40" VerticalAlignment="Top" HorizontalAlignment="Left" UsingAlphaChannel="True" AvailableColorsSortingMode="Alphabetical" ShowDropDownButton="False" Background="Transparent" BorderThickness="0" ShowRecentColors="True" SelectedColor="{Binding PrimaryColor, Mode=TwoWay}"></xctk:ColorPicker>
|
|
<Button Opacity="0.3" ToolTip="Swap colors (X)" Command="{Binding SwapColorsCommand}" Width="25" Height="25" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0 0 0 3" Style="{StaticResource ImageButtonStyle}">
|
|
<Button Opacity="0.3" ToolTip="Swap colors (X)" Command="{Binding SwapColorsCommand}" Width="25" Height="25" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0 0 0 3" Style="{StaticResource ImageButtonStyle}">
|
|
<Button.Background>
|
|
<Button.Background>
|
|
<ImageBrush ImageSource="/Images/SwapArrows.png" Stretch="Fill"/>
|
|
<ImageBrush ImageSource="/Images/SwapArrows.png" Stretch="Fill"/>
|
|
</Button.Background>
|
|
</Button.Background>
|
|
</Button>
|
|
</Button>
|
|
- <Rectangle Height="70" Width="70" HorizontalAlignment="Right" VerticalAlignment="Bottom" Stroke="Black" StrokeThickness="1" Margin="0,0,4,5">
|
|
|
|
|
|
+ <Rectangle Height="40" Width="40" HorizontalAlignment="Right" VerticalAlignment="Bottom" Stroke="Black" StrokeThickness="1" Margin="0,0,4,5">
|
|
<Rectangle.Fill>
|
|
<Rectangle.Fill>
|
|
<SolidColorBrush Color="{Binding SecondaryColor, Mode=OneWay}"/>
|
|
<SolidColorBrush Color="{Binding SecondaryColor, Mode=OneWay}"/>
|
|
</Rectangle.Fill>
|
|
</Rectangle.Fill>
|
|
</Rectangle>
|
|
</Rectangle>
|
|
- <xctk:ColorPicker Width="70" Height="70" HorizontalAlignment="Right" VerticalAlignment="Bottom" UsingAlphaChannel="True" AvailableColorsSortingMode="Alphabetical" ShowDropDownButton="False" Background="Transparent" BorderThickness="0" ShowRecentColors="True" Margin="0,0,4,5" SelectedColor="{Binding SecondaryColor, Mode=TwoWay}"/>
|
|
|
|
|
|
+ <xctk:ColorPicker Width="40" Height="40" HorizontalAlignment="Right" VerticalAlignment="Bottom" UsingAlphaChannel="True" AvailableColorsSortingMode="Alphabetical" ShowDropDownButton="False" Background="Transparent" BorderThickness="0" ShowRecentColors="True" Margin="0,0,4,5" SelectedColor="{Binding SecondaryColor, Mode=TwoWay}"/>
|
|
</Grid>
|
|
</Grid>
|
|
-
|
|
|
|
|
|
+ <vws:ColorPicker Grid.Column="2" Grid.Row="1" DockPanel.Dock="Top"/>
|
|
<xcad:DockingManager Grid.Column="2" Grid.Row="1" DockPanel.Dock="Top">
|
|
<xcad:DockingManager Grid.Column="2" Grid.Row="1" DockPanel.Dock="Top">
|
|
<xcad:DockingManager.Style>
|
|
<xcad:DockingManager.Style>
|
|
<Style TargetType="xcad:DockingManager">
|
|
<Style TargetType="xcad:DockingManager">
|