mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:06:30 +00:00
add map support for gps denied
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpf="clr-namespace:LibVLCSharp.WPF;assembly=LibVLCSharp.WPF" xmlns:controls="clr-namespace:Azaion.Annotator.Controls"
|
||||
xmlns:wpf="clr-namespace:LibVLCSharp.WPF;assembly=LibVLCSharp.WPF"
|
||||
xmlns:controls="clr-namespace:Azaion.Annotator.Controls"
|
||||
xmlns:controls1="clr-namespace:Azaion.Common.Controls;assembly=Azaion.Common"
|
||||
xmlns:controls2="clr-namespace:Azaion.Annotator.Controls;assembly=Azaion.Common"
|
||||
mc:Ignorable="d"
|
||||
@@ -54,9 +55,11 @@
|
||||
ShowGridLines="False"
|
||||
Background="Black">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
<RowDefinition Height="28"></RowDefinition>
|
||||
<RowDefinition Height="32"></RowDefinition>
|
||||
<RowDefinition Height="*" Name="DetectionSection" />
|
||||
<RowDefinition Height="0" Name="GpsSplitterRow" />
|
||||
<RowDefinition Height="0" Name="GpsSectionRow"/>
|
||||
<RowDefinition Height="28" Name="ProgressBarSection"/>
|
||||
<RowDefinition Height="32" Name="ButtonsSection"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid
|
||||
@@ -280,9 +283,25 @@
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
|
||||
<GridSplitter
|
||||
Name="GpsSplitter"
|
||||
Background="DarkGray"
|
||||
ResizeDirection="Rows"
|
||||
Grid.Row="1"
|
||||
ResizeBehavior="PreviousAndNext"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Visibility="Collapsed" />
|
||||
|
||||
<controls:MapMatcher
|
||||
x:Name="MapMatcherComponent"
|
||||
Grid.Column="0"
|
||||
Grid.Row="2"
|
||||
/>
|
||||
|
||||
<controls2:UpdatableProgressBar x:Name="VideoSlider"
|
||||
Grid.Column="0"
|
||||
Grid.Row="1"
|
||||
Grid.Row="3"
|
||||
Background="#252525"
|
||||
Foreground="LightBlue">
|
||||
</controls2:UpdatableProgressBar>
|
||||
@@ -290,7 +309,7 @@
|
||||
<!-- Buttons -->
|
||||
<Grid
|
||||
Name="Buttons"
|
||||
Grid.Row="2"
|
||||
Grid.Row="4"
|
||||
Background="Black"
|
||||
>
|
||||
<Grid.ColumnDefinitions>
|
||||
@@ -306,7 +325,9 @@
|
||||
<ColumnDefinition Width="56" /> <!-- 9 -->
|
||||
<ColumnDefinition Width="28" /> <!-- 10 -->
|
||||
<ColumnDefinition Width="28" /> <!-- 11 -->
|
||||
<ColumnDefinition Width="*" /> <!-- 12-->
|
||||
<ColumnDefinition Width="28" /> <!-- 12 -->
|
||||
<ColumnDefinition Width="0" /> <!-- 13 -->
|
||||
<ColumnDefinition Width="*" /> <!-- 14-->
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button Grid.Column="0" Padding="5" ToolTip="Включити програвання" Background="Black" BorderBrush="Black"
|
||||
Click="PlayClick">
|
||||
@@ -484,7 +505,6 @@
|
||||
Maximum="100" Minimum="0">
|
||||
</controls2:UpdatableProgressBar>
|
||||
|
||||
|
||||
<Button
|
||||
x:Name="AIDetectBtn"
|
||||
Grid.Column="10"
|
||||
@@ -518,7 +538,29 @@
|
||||
21.333 5.494 5.493 13.058 8.907 21.343 8.907h223.368c8.273 0 15.833-3.421 21.326-8.914s8.915-13.053
|
||||
8.915-21.326V141.338c0-8.283-3.414-15.848-8.908-21.341v-.049c-5.454-5.456-13.006-8.851-21.333-8.851z" />
|
||||
</Button>
|
||||
<Button Grid.Column="11"
|
||||
<Button Grid.Column="11" Padding="2" Width="25" Height="25" ToolTip="Показати GPS. Клавіша: [M]" Background="Black" BorderBrush="Black"
|
||||
Click="SwitchGpsPanel">
|
||||
<Image>
|
||||
<Image.Source>
|
||||
<DrawingImage>
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V520 H580 V0 H0 Z">
|
||||
<GeometryDrawing Brush="LightGray" Geometry="M307.1,311.97c-12.55-14-22.75-31.86-32.9-47.68c-10.23-15.94-19.78-32.43-27.3-49.83c-7.03-16.28-12.48-33.08-9.25-50.97
|
||||
c2.87-15.93,11.75-31.29,23.84-42.03c22.3-19.8,57.81-22.55,82.67-5.98c29.17,19.45,39.48,55.06,27.59,87.55
|
||||
c-6.8,18.59-16.41,36.14-27.02,52.8C332.76,274.63,320.84,294.45,307.1,311.97z M307.01,143.45c-38.65-0.46-39.68,59.79-0.95,60.47
|
||||
c16.47,0.29,30.83-13.34,31-29.9C337.22,157.75,323.24,143.65,307.01,143.45z" />
|
||||
<GeometryDrawing Brush="LightGray" Geometry="M367.34,310.68c10.09,2.5,23.61,4.83,31.46,12.19c11.05,10.35-5.42,18.17-14.21,21.43c-24.55,9.11-53.52,10.41-79.44,10.11
|
||||
c-25.7-0.3-54.62-1.23-78.68-11.19c-7.68-3.18-21.53-10.2-12.52-19.47c8.26-8.49,23.33-11.42,34.5-12.94
|
||||
c-5.15,1.98-16.18,5.12-17.07,11.49c-1,7.13,9.78,10.81,15.02,12.59c18.28,6.22,38.72,7.58,57.89,7.73
|
||||
c18.91,0.15,38.85-0.72,57.13-5.92c5.72-1.63,18.65-4.74,20.7-11.49c2.28-7.47-9.8-11.66-15.04-13.71
|
||||
C367.18,311.22,367.26,310.95,367.34,310.68z" />
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
</Image.Source>
|
||||
</Image>
|
||||
</Button>
|
||||
<Button Grid.Column="12"
|
||||
Padding="2"
|
||||
Width="25"
|
||||
Height="25"
|
||||
@@ -571,8 +613,7 @@
|
||||
</Image.Source>
|
||||
</Image>
|
||||
</Button>
|
||||
|
||||
<StatusBar Grid.Column="12"
|
||||
<StatusBar Grid.Column="14"
|
||||
Background="#252525"
|
||||
Foreground="White">
|
||||
<StatusBar.ItemsPanel>
|
||||
|
||||
Reference in New Issue
Block a user