-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVRLocatorHUDWPF.xaml
27 lines (26 loc) · 2.61 KB
/
VRLocatorHUDWPF.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<UserControl x:Class="SRVTracker.VRLocatorHUDWPF"
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"
xmlns:local="clr-namespace:SRVTracker"
mc:Ignorable="d"
d:DesignHeight="320
" d:DesignWidth="800">
<DockPanel LastChildFill="False">
<Image x:Name="BearingArrow" DockPanel.Dock="Top" Height="100" Width="100" Source="/Silver arrow.bmp" AutomationProperties.Name="BearingArrow"/>
<GroupBox DockPanel.Dock="Left" Header="Target" HorizontalAlignment="Left" Height="80" Margin="12,1,0,0" BorderThickness="1" VerticalAlignment="Top" Width="255" AutomationProperties.Name="Target" Foreground="White" BorderBrush="White" FontSize="20">
<Label x:Name="labelTarget" Content="Not set" HorizontalAlignment="Center" Margin="10,0,10,6" VerticalAlignment="Center" Foreground="White" AutomationProperties.Name="labelTarget"/>
</GroupBox>
<GroupBox DockPanel.Dock="Left" Header="Target Bearing" HorizontalAlignment="Left" Height="80" Margin="12,1,0,0" BorderThickness="1" VerticalAlignment="Top" Width="175
" AutomationProperties.Name="BearingToTarget" Foreground="White" BorderBrush="White" FontSize="20">
<Label x:Name="labelBearing" Content="0°" HorizontalAlignment="Center" Margin="10,0,10,6" VerticalAlignment="Center" Foreground="White" AutomationProperties.Name="labelBearing"/>
</GroupBox>
<GroupBox DockPanel.Dock="Left" Header="Target Distance" HorizontalAlignment="Left" Height="80" Margin="12,1,0,0" BorderThickness="1" VerticalAlignment="Top" Width="175" AutomationProperties.Name="DistanceToTarget" Foreground="White" BorderBrush="White" FontSize="20">
<Label x:Name="labelDistance" Content="0km" HorizontalAlignment="Center" Margin="10,0,10,6" VerticalAlignment="Center" Foreground="White" AutomationProperties.Name="labelDistance"/>
</GroupBox>
<GroupBox DockPanel.Dock="Left" Header="Speed" HorizontalAlignment="Left" Height="80" Margin="12,1,0,0" BorderThickness="1" VerticalAlignment="Top" Width="100" AutomationProperties.Name="Speed" Foreground="White" BorderBrush="White" FontSize="20">
<Label x:Name="labelSpeed" Content="0" HorizontalAlignment="Center" Margin="10,0,10,6" VerticalAlignment="Center" Foreground="White" AutomationProperties.Name="labelSpeed"/>
</GroupBox>
</DockPanel>
</UserControl>