|
199 | 199 | <Button x:Name="btnScrollRight" Click="OnScrollButtonRightClicked" Content=">" HorizontalAlignment="Left" Margin="415,262,0,0" VerticalAlignment="Top" Width="24"/>
|
200 | 200 | <Button x:Name="btnFlipX" Click="OnFlipXButtonDown" Content="FlipX" HorizontalAlignment="Left" Margin="365,316,0,0" VerticalAlignment="Top" Width="32"/>
|
201 | 201 | <Button x:Name="btnFlipY" Click="OnFlipYButtonDown" Content="FlipY" HorizontalAlignment="Left" Margin="402,316,0,0" VerticalAlignment="Top" Width="32"/>
|
202 |
| - <Button x:Name="btnLoadPalette" Click="OnLoadPaletteButton" Content="Load Palette" HorizontalAlignment="Left" Margin="10,321,0,0" VerticalAlignment="Top" Width="71"/> |
| 202 | + <Button x:Name="btnLoadPalette" Click="OnLoadPaletteButton" Content="Load Palette" HorizontalAlignment="Left" Margin="10,324,0,0" VerticalAlignment="Top" Width="71"/> |
203 | 203 | </Grid>
|
204 | 204 | <CheckBox x:Name="chkOutline" Content="Outline" HorizontalAlignment="Left" Margin="638,50,0,0" VerticalAlignment="Top" Width="64" Click="chkOutline_Click"/>
|
205 |
| - <Rectangle x:Name="rectCurrentColor" Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="28" Margin="10,276,0,0" Stroke="Black" VerticalAlignment="Top" Width="28"/> |
| 205 | + <Rectangle x:Name="rectCurrentColor" Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="28" Margin="10,256,0,0" Stroke="Black" VerticalAlignment="Top" Width="28"/> |
206 | 206 | <CheckBox x:Name="chkMirrorX" Content="Symmetry X" HorizontalAlignment="Left" Margin="638,71,0,0" VerticalAlignment="Top" Width="93"/>
|
207 |
| - <Rectangle x:Name="rectSecondaryColor" Fill="Black" HorizontalAlignment="Left" Height="28" Margin="47,276,0,0" Stroke="Black" VerticalAlignment="Top" Width="28"/> |
| 207 | + <Rectangle x:Name="rectSecondaryColor" Fill="Black" HorizontalAlignment="Left" Height="28" Margin="47,256,0,0" Stroke="Black" VerticalAlignment="Top" Width="28"/> |
208 | 208 |
|
209 | 209 | <!-- https://stackoverflow.com/a/32514853/5452781 -->
|
210 | 210 | <Rectangle x:Name="tempRect" Width="200" Height="200" Margin="459,130,0,0" SnapsToDevicePixels="True" HorizontalAlignment="Left" VerticalAlignment="Top" UseLayoutRounding="False" Fill="Black" />
|
|
221 | 221 | </Rectangle>
|
222 | 222 | <Line x:Name="lineCurrentHueLine" X1="91" Y1="312" X2="91" Y2="334" Stroke="Red" StrokeThickness="1" />
|
223 | 223 | </Grid>
|
| 224 | + <Rectangle x:Name="rectGetTransparent" HorizontalAlignment="Left" Height="28" Margin="10,289,0,0" Stroke="Black" VerticalAlignment="Top" Width="28" MouseDown="OnGetTransparentColorButton"> |
| 225 | + <Rectangle.Fill> |
| 226 | + <ImageBrush ImageSource="Resources/Images/transparentbg.png"/> |
| 227 | + </Rectangle.Fill> |
| 228 | + </Rectangle> |
224 | 229 |
|
225 | 230 | </Grid>
|
226 | 231 | </Window>
|
0 commit comments