mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:26:31 +00:00
4780e8c61c
fix schema migrator for enums
59 lines
2.6 KiB
XML
59 lines
2.6 KiB
XML
<UserControl x:Class="Azaion.Common.Controls.DetectionLabelPanel"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
mc:Ignorable="d">
|
|
|
|
<UserControl.Resources>
|
|
<!-- Friendly (Light Blue Square) -->
|
|
<DrawingImage x:Key="Friendly">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M0,0 V320 H320 V0 H0 Z">
|
|
<GeometryDrawing Brush="LightBlue" Geometry="M25,50 l150,0 0,100 -150,0 z">
|
|
<GeometryDrawing.Pen>
|
|
<Pen Brush="Black" Thickness="8"/>
|
|
</GeometryDrawing.Pen>
|
|
</GeometryDrawing>
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
|
|
<!-- Hostile (Red Diamond) -->
|
|
<DrawingImage x:Key="Hostile">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M0,0 V320 H320 V0 H0 Z">
|
|
<GeometryDrawing Brush="Red" Geometry="M 100,28 L172,100 100,172 28,100 100,28 Z">
|
|
<GeometryDrawing.Pen>
|
|
<Pen Brush="Black" Thickness="8"/>
|
|
</GeometryDrawing.Pen>
|
|
</GeometryDrawing>
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
|
|
<!-- Unknown (Yellow Quatrefoil) -->
|
|
<DrawingImage x:Key="Unknown">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M0,0 V320 H320 V0 H0 Z">
|
|
<GeometryDrawing Brush="Yellow" Geometry="M63,63 C63,20 137,20 137,63 C180,63 180,137 137,137 C137,180
|
|
63,180 63,137 C20,137 20,63 63,63 Z">
|
|
<GeometryDrawing.Pen>
|
|
<Pen Brush="Black" Thickness="8"/>
|
|
</GeometryDrawing.Pen>
|
|
</GeometryDrawing>
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
</UserControl.Resources>
|
|
|
|
<Grid x:Name="DetectionGrid">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="2"></ColumnDefinition>
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Image Grid.Column="0" x:Name="AffiliationImage">
|
|
</Image>
|
|
<Label Grid.Column="1" x:Name="DetectionClassName" FontSize="16"></Label>
|
|
</Grid>
|
|
</UserControl> |