Rev 2318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2318 | Rev 2324 | ||
---|---|---|---|
Line 662... | Line 662... | ||
662 | 662 | ||
663 | </Grid> |
663 | </Grid> |
664 | </TabItem> |
664 | </TabItem> |
665 | </TabControl> |
665 | </TabControl> |
666 | </Grid> |
666 | </Grid> |
667 | <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0" Visibility="Collapsed"> |
667 | <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0"> |
668 | <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="2,0,0,0"> |
668 | <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="2,0,0,0"> |
669 | <TabItem Header="General" Margin="0,0,-0.237,0"> |
669 | <TabItem Header="General" Margin="0,0,-0.237,0"> |
670 | <Grid x:Name="TabGridGeneral"> |
670 | <Grid x:Name="TabGridGeneral"> |
671 | <local:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
671 | <local:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
Line 794... | Line 794... | ||
794 | <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,287,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
794 | <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,287,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
795 | </Grid> |
795 | </Grid> |
796 | </TabItem> |
796 | </TabItem> |
797 | <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="7.193,0,-17.257,0"> |
797 | <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="7.193,0,-17.257,0"> |
798 | <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
798 | <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
799 | <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,516,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/> |
799 | <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="7,533,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/> |
800 | <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,432,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/> |
800 | <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,422,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/> |
801 | <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/> |
801 | <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/> |
802 | <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/> |
802 | <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/> |
803 | <Button Height="27" Margin="0,136,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="71" Content="Reload"/> |
803 | <Button Height="27" Margin="0,136,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="71" Content="Reload"/> |
804 | <TextBox Margin="6,87,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
804 | <TextBox Margin="6,87,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
805 | <TextBox Margin="6,111,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
805 | <TextBox Margin="6,111,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
Line 812... | Line 812... | ||
812 | <Label HorizontalAlignment="Right" Margin="0,167,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="Map provider"/> |
812 | <Label HorizontalAlignment="Right" Margin="0,167,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="Map provider"/> |
813 | <ComboBox FontSize="12" Height="25" Margin="6,234,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" /> |
813 | <ComboBox FontSize="12" Height="25" Margin="6,234,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" /> |
814 | <Label Height="32" HorizontalAlignment="Right" Margin="0,210,128,0" x:Name="label5" VerticalAlignment="Top" Width="91" Foreground="White" Content="Caching Mode"/> |
814 | <Label Height="32" HorizontalAlignment="Right" Margin="0,210,128,0" x:Name="label5" VerticalAlignment="Top" Width="91" Foreground="White" Content="Caching Mode"/> |
815 | <Button x:Name="buttonPrefetch" Content="Prefetch cache" HorizontalAlignment="Left" Margin="6,261,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonPrefetch_Click"/> |
815 | <Button x:Name="buttonPrefetch" Content="Prefetch cache" HorizontalAlignment="Left" Margin="6,261,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonPrefetch_Click"/> |
816 | <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="Geocoding location"/> |
816 | <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="Geocoding location"/> |
817 | <TextBox Margin="6,373,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" /> |
817 | <TextBox Margin="6,368,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" /> |
818 | <TextBox Margin="6,397,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" /> |
818 | <TextBox Margin="6,392,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" /> |
819 | <Label Height="23" HorizontalAlignment="Right" Margin="0,373,4,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
819 | <Label Height="23" HorizontalAlignment="Right" Margin="0,368,4,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
820 | <Label Height="29" HorizontalAlignment="Right" Margin="0,394,4,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
820 | <Label Height="29" HorizontalAlignment="Right" Margin="0,389,4,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
821 | <Label HorizontalAlignment="Right" Margin="0,349,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="Current position" Height="28" VerticalAlignment="Top"/> |
821 | <Label HorizontalAlignment="Right" Margin="0,344,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="Current position" Height="28" VerticalAlignment="Top"/> |
822 | <Slider x:Name="sliderMapZoom" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Margin="10,319,0,0" Width="206" Maximum="24" SmallChange="1" Value="0" IsSnapToTickEnabled="True" ValueChanged="sliderMapZoom_ValueChanged" Height="29" VerticalAlignment="Top"/> |
822 | <Slider x:Name="sliderMapZoom" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Margin="10,319,0,0" Width="206" Maximum="24" SmallChange="1" Value="0" IsSnapToTickEnabled="True" ValueChanged="sliderMapZoom_ValueChanged" Height="29" VerticalAlignment="Top"/> |
823 | <Label Height="23" HorizontalAlignment="Right" Margin="0,291,139,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="Zoomlevel"/> |
823 | <Label Height="23" HorizontalAlignment="Right" Margin="0,291,139,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="Zoomlevel"/> |
824 | <Label Height="23" HorizontalAlignment="Right" Margin="0,291,101,0" x:Name="labelZoom" VerticalAlignment="Top" Width="49" VerticalContentAlignment="Center" Foreground="White" Content="{Binding Value,ElementName=sliderMapZoom}" HorizontalContentAlignment="Center"/> |
824 | <Label Height="23" HorizontalAlignment="Right" Margin="0,291,101,0" x:Name="labelZoom" VerticalAlignment="Top" Width="49" VerticalContentAlignment="Center" Foreground="White" Content="{Binding Value,ElementName=sliderMapZoom}" HorizontalContentAlignment="Center"/> |
825 | <Button x:Name="btnSetHP" Content="set Home" Margin="7,428,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top"/> |
825 | <Button x:Name="btnSetHP" Content="set Home" Margin="7,420,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top"/> |
826 | <Button x:Name="btnClearHP" Content="clear Home" Margin="7,452,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6"/> |
826 | <Button x:Name="btnClearHP" Content="clear Home" Margin="7,444,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6"/> |
827 | <Button x:Name="btnGotoHP" Content="goto Home" Margin="7,477,139,0" Click="btnGotoHP_Click" Height="24" VerticalAlignment="Top"/> |
827 | <Button x:Name="btnGotoHP" Content="goto Home" Margin="92,444,54,0" Click="btnGotoHP_Click" Height="25" VerticalAlignment="Top"/> |
- | 828 | <CheckBox x:Name="checkBoxGPXLog" Content="GPX-Log" HorizontalAlignment="Left" Margin="8,487,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered" Click="checkBoxGPXLog_Click"/> |
|
- | 829 | <Rectangle HorizontalAlignment="Left" Width="72" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="128,477,0,0" Height="39" VerticalAlignment="Top"> |
|
- | 830 | <Rectangle.Style> |
|
- | 831 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 832 | <Style.Triggers> |
|
- | 833 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadGPXLog}" Value="True"> |
|
- | 834 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 835 | </DataTrigger> |
|
- | 836 | </Style.Triggers> |
|
- | 837 | </Style> |
|
- | 838 | </Rectangle.Style> |
|
- | 839 | </Rectangle> |
|
- | 840 | <Button x:Name="btnLoadGPXLog" Content="" HorizontalAlignment="Left" Margin="131,478,0,0" Width="67" ToolTip="load GPX-log from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnLoadGPXLog_Click" Height="36" VerticalAlignment="Top"> |
|
- | 841 | <Button.Background> |
|
- | 842 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
|
- | 843 | </Button.Background> |
|
- | 844 | </Button> |
|
- | 845 | <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,511,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/> |
|
828 | </Grid> |
846 | </Grid> |
829 | </TabItem> |
847 | </TabItem> |
830 | <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="13,0,-13,0" HorizontalAlignment="Left" Width="70"> |
848 | <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="13,0,-13,0" HorizontalAlignment="Left" Width="70"> |
831 | <Grid> |
849 | <Grid> |
832 | <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
850 | <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
Line 949... | Line 967... | ||
949 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
967 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
950 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
968 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
951 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
969 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
952 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
970 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
953 | </Grid> |
971 | </Grid> |
954 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="472" VerticalAlignment="Top"> |
972 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="500" VerticalAlignment="Top" Visibility="Collapsed"> |
955 | <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="10,362,0,0" VerticalAlignment="Top" Width="78" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD"> |
- | |
956 | <Button.Background> |
- | |
957 | <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/> |
- | |
958 | </Button.Background> |
- | |
959 | </Button> |
- | |
960 | <Label x:Name="label4" Content="Items" HorizontalAlignment="Right" Margin="0,356,5,0" VerticalAlignment="Top" Width="62" Foreground="White"/> |
973 | <Label x:Name="label4" Content="Items" HorizontalAlignment="Right" Margin="0,356,5,0" VerticalAlignment="Top" Width="62" Foreground="White"/> |
961 | <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,357,5,0" VerticalAlignment="Top" Width="28" Foreground="White"/> |
974 | <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,357,5,0" VerticalAlignment="Top" Width="28" Foreground="White"/> |
962 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
975 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
963 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
976 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
- | 977 | <Border Margin="10,370,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="214"> |
|
- | 978 | <Grid Margin="-0.5,-3.5,-0.5,4.5"> |
|
- | 979 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="103,25,0,61"> |
|
- | 980 | <Rectangle.Style> |
|
- | 981 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 982 | <Style.Triggers> |
|
- | 983 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True"> |
|
- | 984 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 985 | </DataTrigger> |
|
- | 986 | </Style.Triggers> |
|
- | 987 | </Style> |
|
- | 988 | </Rectangle.Style> |
|
- | 989 | </Rectangle> |
|
964 | <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="96,362,0,0" VerticalAlignment="Top" Width="78" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click"> |
990 | <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="103,0,0,61" VerticalAlignment="Bottom" Width="94" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
- | 991 | <Button.Background> |
|
- | 992 | <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/> |
|
- | 993 | </Button.Background> |
|
- | 994 | </Button> |
|
- | 995 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,25,0,61"> |
|
- | 996 | <Rectangle.Style> |
|
- | 997 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 998 | <Style.Triggers> |
|
- | 999 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True"> |
|
- | 1000 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 1001 | </DataTrigger> |
|
- | 1002 | </Style.Triggers> |
|
- | 1003 | </Style> |
|
- | 1004 | </Rectangle.Style> |
|
- | 1005 | </Rectangle> |
|
965 | <Button.Background> |
1006 | <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="4,0,0,61" VerticalAlignment="Bottom" Width="94" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
- | 1007 | <Button.Background> |
|
966 | <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/> |
1008 | <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/> |
967 | </Button.Background> |
1009 | </Button.Background> |
968 | </Button> |
1010 | </Button> |
- | 1011 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,86,0,0"> |
|
- | 1012 | <Rectangle.Style> |
|
- | 1013 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 1014 | <Style.Triggers> |
|
- | 1015 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True"> |
|
- | 1016 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 1017 | </DataTrigger> |
|
- | 1018 | </Style.Triggers> |
|
- | 1019 | </Style> |
|
- | 1020 | </Rectangle.Style> |
|
- | 1021 | </Rectangle> |
|
969 | <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="43" Margin="10,419,0,0" VerticalAlignment="Top" Width="42" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click"> |
1022 | <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="39" Margin="4,0,0,0" VerticalAlignment="Bottom" Width="94" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
970 | <Button.Background> |
1023 | <Button.Background> |
971 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
1024 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
972 | </Button.Background> |
1025 | </Button.Background> |
- | 1026 | </Button> |
|
- | 1027 | <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="98,0,0,98" VerticalAlignment="Bottom" Width="116" Foreground="White"/> |
|
- | 1028 | <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="1,0,0,98" VerticalAlignment="Bottom" Width="86" Foreground="White"/> |
|
- | 1029 | <Label x:Name="label4_Copy7" Content="load from file" HorizontalAlignment="Left" Margin="0,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White"/> |
|
- | 1030 | </Grid> |
|
973 | </Button> |
1031 | </Border> |
974 | <DataGrid x:Name="dgvWP" Height="352" Margin="10,5,10,0" VerticalAlignment="Top" Background="{x:Null}" ItemsSource="{Binding dtWaypoints1}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False"> |
1032 | <DataGrid x:Name="dgvWP" Margin="10,5,10,143" Background="{x:Null}" ItemsSource="{Binding dtWaypoints1}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False"> |
975 | <DataGrid.Columns> |
1033 | <DataGrid.Columns> |
976 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
1034 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
977 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1035 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
978 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
1036 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
979 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
1037 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
Line 987... | Line 1045... | ||
987 | <DataGridTextColumn Header="AutoTrigger" Binding="{Binding Path=AutoTrigger, Converter={StaticResource wpConvert}, ConverterParameter= AutoTrigger}"/> |
1045 | <DataGridTextColumn Header="AutoTrigger" Binding="{Binding Path=AutoTrigger, Converter={StaticResource wpConvert}, ConverterParameter= AutoTrigger}"/> |
988 | <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/> |
1046 | <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/> |
989 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/> |
1047 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/> |
990 | </DataGrid.Columns> |
1048 | </DataGrid.Columns> |
991 | </DataGrid> |
1049 | </DataGrid> |
992 | <ComboBox x:Name="comboBoxWPColor" Height="40" Margin="0,0,210,6" VerticalAlignment="Bottom" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
1050 | <Border Margin="0,432,3,4" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="421"> |
- | 1051 | <Grid Margin="9.5,-2.5,-9.5,3.5"> |
|
993 | <ComboBoxItem Content="red"/> |
1052 | <ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,0,217,2" VerticalAlignment="Bottom" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
- | 1053 | <ComboBoxItem Content="red"/> |
|
994 | <ComboBoxItem Content="green"/> |
1054 | <ComboBoxItem Content="green"/> |
995 | <ComboBoxItem Content="blue"/> |
1055 | <ComboBoxItem Content="blue"/> |
996 | <ComboBoxItem Content="yellow"/> |
1056 | <ComboBoxItem Content="yellow"/> |
997 | <ComboBoxItem Content="pink"/> |
1057 | <ComboBoxItem Content="pink"/> |
998 | </ComboBox> |
1058 | </ComboBox> |
999 | <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,0,223,46" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1059 | <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,0,232,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1000 | <ComboBox x:Name="comboBoxPOIColor" Margin="0,0,110,6" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="40" VerticalAlignment="Bottom"> |
1060 | <ComboBox x:Name="comboBoxPOIColor" Margin="0,0,117,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom"> |
1001 | <ComboBoxItem Content="red"/> |
1061 | <ComboBoxItem Content="red"/> |
1002 | <ComboBoxItem Content="green"/> |
1062 | <ComboBoxItem Content="green"/> |
1003 | <ComboBoxItem Content="blue"/> |
1063 | <ComboBoxItem Content="blue"/> |
1004 | <ComboBoxItem Content="yellow"/> |
1064 | <ComboBoxItem Content="yellow"/> |
1005 | <ComboBoxItem Content="pink"/> |
1065 | <ComboBoxItem Content="pink"/> |
1006 | </ComboBox> |
1066 | </ComboBox> |
1007 | <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,0,123,46" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1067 | <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,0,133,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1008 | <ComboBox x:Name="comboBoxFSColor" Height="40" Margin="0,0,10,6" VerticalAlignment="Bottom" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
1068 | <ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Bottom" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,0,17,2"> |
1009 | <ComboBoxItem Content="red"/> |
1069 | <ComboBoxItem Content="red"/> |
1010 | <ComboBoxItem Content="green"/> |
1070 | <ComboBoxItem Content="green"/> |
1011 | <ComboBoxItem Content="blue"/> |
1071 | <ComboBoxItem Content="blue"/> |
1012 | <ComboBoxItem Content="yellow"/> |
1072 | <ComboBoxItem Content="yellow"/> |
1013 | <ComboBoxItem Content="pink"/> |
1073 | <ComboBoxItem Content="pink"/> |
1014 | </ComboBox> |
1074 | </ComboBox> |
1015 | <Label x:Name="label4_Copy3" Content="failsave color" HorizontalAlignment="Right" Margin="0,0,23,46" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1075 | <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,0,34,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1016 | <ComboBox x:Name="comboBoxCopterColor" Margin="0,0,315,6" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="40" VerticalAlignment="Bottom" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
1076 | <ComboBox x:Name="comboBoxCopterColor" Margin="0,0,322,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
1017 | <ComboBoxItem Content="red"/> |
1077 | <ComboBoxItem Content="red"/> |
1018 | <ComboBoxItem Content="green"/> |
1078 | <ComboBoxItem Content="green"/> |
1019 | <ComboBoxItem Content="blue"/> |
1079 | <ComboBoxItem Content="blue"/> |
1020 | <ComboBoxItem Content="yellow"/> |
1080 | <ComboBoxItem Content="yellow"/> |
1021 | <ComboBoxItem Content="pink"/> |
1081 | <ComboBoxItem Content="pink"/> |
1022 | </ComboBox> |
1082 | </ComboBox> |
1023 | <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,0,328,46" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
1083 | <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,0,337,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
- | 1084 | </Grid> |
|
- | 1085 | </Border> |
|
1024 | </Grid> |
1086 | </Grid> |
1025 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1087 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1026 | <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1088 | <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1027 | <Label.RenderTransform> |
1089 | <Label.RenderTransform> |
1028 | <TransformGroup> |
1090 | <TransformGroup> |
Line 1084... | Line 1146... | ||
1084 | <Style TargetType="{x:Type Border}"> |
1146 | <Style TargetType="{x:Type Border}"> |
1085 | <Setter Property="CornerRadius" Value="30"/> |
1147 | <Setter Property="CornerRadius" Value="30"/> |
1086 | </Style> |
1148 | </Style> |
1087 | </TextBox.Resources> |
1149 | </TextBox.Resources> |
1088 | </TextBox> |
1150 | </TextBox> |
- | 1151 | <TextBox x:Name="tbSideBarGPXLog" Height="19" Margin="1,0,0,4" Text="GPX" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="GPX-Log active" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontSize="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" Padding="-1.5,0,0,0"/> |
|
1089 | </Grid> |
1152 | </Grid> |
1090 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
1153 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
1091 | </Grid> |
1154 | </Grid> |
1092 | <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl
The necessary data can ONLY be accessed 
by the NaviControl!
Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" > |
1155 | <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl
The necessary data can ONLY be accessed 
by the NaviControl!
Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" > |
1093 | <Label.Background> |
1156 | <Label.Background> |