Skip to content

Commit 28f0c39

Browse files
committed
New needles for the Hornet VVI and IAS gauges.
1 parent 415428e commit 28f0c39

File tree

8 files changed

+193
-3
lines changed

8 files changed

+193
-3
lines changed

Aircraft FA-18C Plugin/Aircraft FA-18C Plugin.csproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,14 @@
701701
<Generator>MSBuild:Compile</Generator>
702702
<SubType>Designer</SubType>
703703
</Resource>
704+
<Resource Include="Gauges\Common\Alt\needle_c.xaml">
705+
<Generator>MSBuild:Compile</Generator>
706+
<SubType>Designer</SubType>
707+
</Resource>
708+
<Resource Include="Gauges\Common\Alt\needle_d.xaml">
709+
<Generator>MSBuild:Compile</Generator>
710+
<SubType>Designer</SubType>
711+
</Resource>
704712
<Page Include="Gauges\Common\needle_a10.xaml">
705713
<Generator>MSBuild:Compile</Generator>
706714
<SubType>Designer</SubType>
@@ -821,6 +829,14 @@
821829
<Generator>MSBuild:Compile</Generator>
822830
<SubType>Designer</SubType>
823831
</Resource>
832+
<Resource Include="Gauges\Common\needle_c.xaml">
833+
<Generator>MSBuild:Compile</Generator>
834+
<SubType>Designer</SubType>
835+
</Resource>
836+
<Resource Include="Gauges\Common\needle_d.xaml">
837+
<Generator>MSBuild:Compile</Generator>
838+
<SubType>Designer</SubType>
839+
</Resource>
824840
<Page Include="Images\RWRRings.xaml">
825841
<Generator>MSBuild:Compile</Generator>
826842
<SubType>Designer</SubType>

Aircraft FA-18C Plugin/Gauges/Altimeter/Alt/RADAR_Altimeter_Cover.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
<!-- Layer 1/Mask -->
9-
<Path StrokeThickness="3.0" Stroke="#c0005300" StrokeMiterLimit="1.0" Fill="#ff343434" Data="F1 M 27.918,79.249 L 40.584,79.249 L 57.584,97.582 L 102.584,97.582 L 102.584,11.582 L 98.539,1.652 C 62.088,6.921 28.837,22.063 1.582,44.289 L 2.251,50.249 L 27.918,79.249 Z"/>
9+
<Path StrokeThickness="3.0" Stroke="#c0005300" StrokeMiterLimit="1.0" Fill="#ff141414" Data="F1 M 27.918,79.249 L 40.584,79.249 L 57.584,97.582 L 102.584,97.582 L 102.584,11.582 L 98.539,1.652 C 62.088,6.921 28.837,22.063 1.582,44.289 L 2.251,50.249 L 27.918,79.249 Z"/>
1010

1111
</Canvas>
1212
</Canvas>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<Canvas Width="22.733" Height="204.434"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4+
<Canvas Width="22.733" Height="204.434">
5+
6+
7+
<!-- Layer 1/<Path> -->
8+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff00f300" Data="F1 M 6.447,132.140 L 6.447,129.756 L 6.447,10.076 C 6.447,9.851 6.501,9.629 6.604,9.429 L 11.095,0.699 C 11.326,0.251 11.970,0.257 12.191,0.711 L 16.570,9.684 C 16.665,9.878 16.714,10.090 16.714,10.305 L 16.714,132.381"/>
9+
10+
<!-- Layer 1/<Path> -->
11+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 16.485,184.175 L 6.218,184.175 L 6.218,180.814 L 6.218,151.175 L 16.485,151.175 L 16.485,180.814 L 16.485,184.175 Z"/>
12+
13+
<!-- Layer 1/<Ellipse> -->
14+
<Path Fill="#ffff0000" Data="F1 M 11.733,141.978 C 11.733,142.181 11.569,142.345 11.367,142.345 C 11.164,142.345 11.000,142.181 11.000,141.978 C 11.000,141.776 11.164,141.611 11.367,141.611 C 11.569,141.611 11.733,141.776 11.733,141.978 Z"/>
15+
16+
<!-- Layer 1/<Ellipse> -->
17+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 0.367,141.978 C 0.367,135.903 5.292,130.978 11.367,130.978 C 17.442,130.978 22.367,135.903 22.367,141.978 C 22.367,148.053 17.442,152.978 11.367,152.978 C 5.292,152.978 0.367,148.053 0.367,141.978 Z"/>
18+
19+
<!-- Layer 1/<Ellipse> -->
20+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 0.367,193.067 C 0.367,186.992 5.292,182.067 11.367,182.067 C 17.442,182.067 22.367,186.992 22.367,193.067 C 22.367,199.142 17.442,204.067 11.367,204.067 C 5.292,204.067 0.367,199.142 0.367,193.067 Z"/>
21+
22+
<!-- Layer 1/<Path> -->
23+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 4.669,133.254 C 5.485,132.710 6.447,130.737 6.447,129.756"/>
24+
25+
<!-- Layer 1/<Path> -->
26+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 6.447,130.737"/>
27+
28+
<!-- Layer 1/<Path> -->
29+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 16.714,129.756 C 16.714,130.678 17.300,132.618 18.007,133.209"/>
30+
31+
<!-- Layer 1/<Path> -->
32+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 4.669,150.703 C 5.406,151.324 6.218,153.268 6.218,154.231"/>
33+
34+
<!-- Layer 1/<Path> -->
35+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#ff5f5f5f" Data="F1 M 16.485,154.231 C 16.485,152.978 17.381,151.387 18.063,150.703"/>
36+
37+
<!-- Layer 1/<Path> -->
38+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 16.485,180.814 C 16.485,181.765 17.283,183.682 18.007,184.298"/>
39+
40+
<!-- Layer 1/<Path> -->
41+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 6.218,180.814 C 6.218,181.761 5.449,183.685 4.726,184.298"/>
42+
43+
</Canvas>
44+
</Canvas>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<Canvas Width="22.733" Height="180.434"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4+
<Canvas Width="22.733" Height="180.434">
5+
6+
<!-- Layer 1/<Path> -->
7+
<Path StrokeThickness="0.7" Stroke="#7f085f08" StrokeMiterLimit="1.0" Fill="#ff13f313" Data="F1 M 6.447,108.140 L 6.447,105.756 L 6.447,10.076 C 6.447,9.851 6.501,9.629 6.604,9.429 L 11.095,0.699 C 11.326,0.251 11.970,0.257 12.191,0.711 L 16.570,9.684 C 16.665,9.878 16.714,10.090 16.714,10.305 L 16.714,108.381"/>
8+
9+
<!-- Layer 1/<Path> -->
10+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 16.485,160.175 L 6.218,160.175 L 6.218,156.814 L 6.218,127.175 L 16.485,127.175 L 16.485,156.814 L 16.485,160.175 Z"/>
11+
12+
<!-- Layer 1/<Ellipse> -->
13+
<Path Fill="#00ff0000" Data="F1 M 11.733,117.978 C 11.733,118.181 11.569,118.345 11.367,118.345 C 11.164,118.345 11.000,118.181 11.000,117.978 C 11.000,117.776 11.164,117.611 11.367,117.611 C 11.569,117.611 11.733,117.776 11.733,117.978 Z"/>
14+
15+
<!-- Layer 1/<Ellipse> -->
16+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 0.367,117.978 C 0.367,111.903 5.292,106.978 11.367,106.978 C 17.442,106.978 22.367,111.903 22.367,117.978 C 22.367,124.053 17.442,128.978 11.367,128.978 C 5.292,128.978 0.367,124.053 0.367,117.978 Z"/>
17+
18+
<!-- Layer 1/<Ellipse> -->
19+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 0.367,169.067 C 0.367,162.992 5.292,158.067 11.367,158.067 C 17.442,158.067 22.367,162.992 22.367,169.067 C 22.367,175.142 17.442,180.067 11.367,180.067 C 5.292,180.067 0.367,175.142 0.367,169.067 Z"/>
20+
21+
<!-- Layer 1/<Path> -->
22+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 4.669,109.254 C 5.485,108.710 6.447,106.737 6.447,105.756"/>
23+
24+
<!-- Layer 1/<Path> -->
25+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 6.447,106.737"/>
26+
27+
<!-- Layer 1/<Path> -->
28+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 16.714,105.756 C 16.714,106.678 17.300,108.618 18.007,109.209"/>
29+
30+
<!-- Layer 1/<Path> -->
31+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 4.669,126.703 C 5.406,127.324 6.218,129.268 6.218,130.231"/>
32+
33+
<!-- Layer 1/<Path> -->
34+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 16.485,130.231 C 16.485,128.978 17.381,127.387 18.063,126.703"/>
35+
36+
<!-- Layer 1/<Path> -->
37+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 16.485,156.814 C 16.485,157.765 17.283,159.682 18.007,160.298"/>
38+
39+
<!-- Layer 1/<Path> -->
40+
<Path StrokeThickness="0.7" Stroke="#7f005f00" StrokeMiterLimit="1.0" Fill="#ff001f00" Data="F1 M 6.218,156.814 C 6.218,157.761 5.449,159.685 4.726,160.298"/>
41+
42+
</Canvas>
43+
</Canvas>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<Canvas Width="22.733" Height="204.434"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4+
<Canvas Width="22.733" Height="204.434">
5+
6+
7+
<!-- Layer 1/<Path> -->
8+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#fff3f3f3" Data="F1 M 6.447,132.140 L 6.447,129.756 L 6.447,10.076 C 6.447,9.851 6.501,9.629 6.604,9.429 L 11.095,0.699 C 11.326,0.251 11.970,0.257 12.191,0.711 L 16.570,9.684 C 16.665,9.878 16.714,10.090 16.714,10.305 L 16.714,132.381"/>
9+
10+
<!-- Layer 1/<Path> -->
11+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 16.485,184.175 L 6.218,184.175 L 6.218,180.814 L 6.218,151.175 L 16.485,151.175 L 16.485,180.814 L 16.485,184.175 Z"/>
12+
13+
<!-- Layer 1/<Ellipse> -->
14+
<Path Fill="#ffff0000" Data="F1 M 11.733,141.978 C 11.733,142.181 11.569,142.345 11.367,142.345 C 11.164,142.345 11.000,142.181 11.000,141.978 C 11.000,141.776 11.164,141.611 11.367,141.611 C 11.569,141.611 11.733,141.776 11.733,141.978 Z"/>
15+
16+
<!-- Layer 1/<Ellipse> -->
17+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 0.367,141.978 C 0.367,135.903 5.292,130.978 11.367,130.978 C 17.442,130.978 22.367,135.903 22.367,141.978 C 22.367,148.053 17.442,152.978 11.367,152.978 C 5.292,152.978 0.367,148.053 0.367,141.978 Z"/>
18+
19+
<!-- Layer 1/<Ellipse> -->
20+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 0.367,193.067 C 0.367,186.992 5.292,182.067 11.367,182.067 C 17.442,182.067 22.367,186.992 22.367,193.067 C 22.367,199.142 17.442,204.067 11.367,204.067 C 5.292,204.067 0.367,199.142 0.367,193.067 Z"/>
21+
22+
<!-- Layer 1/<Path> -->
23+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#fff3f3f3" Data="F1 M 4.669,133.254 C 5.485,132.710 6.447,130.737 6.447,129.756"/>
24+
25+
<!-- Layer 1/<Path> -->
26+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#fff3f3f3" Data="F1 M 6.447,130.737"/>
27+
28+
<!-- Layer 1/<Path> -->
29+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 16.714,129.756 C 16.714,130.678 17.300,132.618 18.007,133.209"/>
30+
31+
<!-- Layer 1/<Path> -->
32+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 4.669,150.703 C 5.406,151.324 6.218,153.268 6.218,154.231"/>
33+
34+
<!-- Layer 1/<Path> -->
35+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Fill="#ff5f5f5f" Data="F1 M 16.485,154.231 C 16.485,152.978 17.381,151.387 18.063,150.703"/>
36+
37+
<!-- Layer 1/<Path> -->
38+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 16.485,180.814 C 16.485,181.765 17.283,183.682 18.007,184.298"/>
39+
40+
<!-- Layer 1/<Path> -->
41+
<Path StrokeThickness="0.7" Stroke="#ff5f5f5f" StrokeMiterLimit="1.0" Data="F1 M 6.218,180.814 C 6.218,181.761 5.449,183.685 4.726,184.298"/>
42+
43+
</Canvas>
44+
</Canvas>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<Canvas Width="22.733" Height="180.434"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4+
<Canvas Width="22.733" Height="180.434">
5+
6+
<!-- Layer 1/<Path> -->
7+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#fff3f3f3" Data="F1 M 6.447,108.140 L 6.447,105.756 L 6.447,10.076 C 6.447,9.851 6.501,9.629 6.604,9.429 L 11.095,0.699 C 11.326,0.251 11.970,0.257 12.191,0.711 L 16.570,9.684 C 16.665,9.878 16.714,10.090 16.714,10.305 L 16.714,108.381"/>
8+
9+
<!-- Layer 1/<Path> -->
10+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 16.485,160.175 L 6.218,160.175 L 6.218,156.814 L 6.218,127.175 L 16.485,127.175 L 16.485,156.814 L 16.485,160.175 Z"/>
11+
12+
<!-- Layer 1/<Ellipse> -->
13+
<Path Fill="#00ff0000" Data="F1 M 11.733,117.978 C 11.733,118.181 11.569,118.345 11.367,118.345 C 11.164,118.345 11.000,118.181 11.000,117.978 C 11.000,117.776 11.164,117.611 11.367,117.611 C 11.569,117.611 11.733,117.776 11.733,117.978 Z"/>
14+
15+
<!-- Layer 1/<Ellipse> -->
16+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 0.367,117.978 C 0.367,111.903 5.292,106.978 11.367,106.978 C 17.442,106.978 22.367,111.903 22.367,117.978 C 22.367,124.053 17.442,128.978 11.367,128.978 C 5.292,128.978 0.367,124.053 0.367,117.978 Z"/>
17+
18+
<!-- Layer 1/<Ellipse> -->
19+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#ff1f1f1f" Data="F1 M 0.367,169.067 C 0.367,162.992 5.292,158.067 11.367,158.067 C 17.442,158.067 22.367,162.992 22.367,169.067 C 22.367,175.142 17.442,180.067 11.367,180.067 C 5.292,180.067 0.367,175.142 0.367,169.067 Z"/>
20+
21+
<!-- Layer 1/<Path> -->
22+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 4.669,109.254 C 5.485,108.710 6.447,106.737 6.447,105.756"/>
23+
24+
<!-- Layer 1/<Path> -->
25+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 6.447,106.737"/>
26+
27+
<!-- Layer 1/<Path> -->
28+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 16.714,105.756 C 16.714,106.678 17.300,108.618 18.007,109.209"/>
29+
30+
<!-- Layer 1/<Path> -->
31+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 4.669,126.703 C 5.406,127.324 6.218,129.268 6.218,130.231"/>
32+
33+
<!-- Layer 1/<Path> -->
34+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 16.485,130.231 C 16.485,128.978 17.381,127.387 18.063,126.703"/>
35+
36+
<!-- Layer 1/<Path> -->
37+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 16.485,156.814 C 16.485,157.765 17.283,159.682 18.007,160.298"/>
38+
39+
<!-- Layer 1/<Path> -->
40+
<Path StrokeThickness="0.7" Stroke="#7f5f5f5f" StrokeMiterLimit="1.0" Fill="#7f5f5f5f" Data="F1 M 6.218,156.814 C 6.218,157.761 5.449,159.685 4.726,160.298"/>
41+
42+
</Canvas>
43+
</Canvas>

Aircraft FA-18C Plugin/Gauges/IAS/IAS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public IAS()
3737

3838
Components.Add(new GaugeImage("{FA-18C}/Gauges/IAS/IAS.png", new Rect(0d, 0d, 300, 300)));
3939

40-
_needle = new GaugeNeedle("{FA-18C}/Gauges/Common/needle_a.xaml", new Point(150d, 150d), new Size(22, 165), new Point(11, 130), 0d);
40+
_needle = new GaugeNeedle("{FA-18C}/Gauges/Common/needle_d.xaml", new Point(150d, 150d), new Size(22.733d, 180.434d), new Point(11.733d, 117.978d), 0d);
4141
Components.Add(_needle);
4242

4343

Aircraft FA-18C Plugin/Gauges/VVI/VVI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class VVI : AltImageGauge
3535

3636
Components.Add(new GaugeImage("{FA-18C}/Gauges/VVI/VVI_Faceplate.png", new Rect(0d, 0d, 300d, 300d)));
3737

38-
_needle = new GaugeNeedle("{FA-18C}/Gauges/Common/needle_a.xaml", new Point(150d, 150d), new Size(22, 165), new Point(11, 130), -90d);
38+
_needle = new GaugeNeedle("{FA-18C}/Gauges/Common/needle_d.xaml", new Point(150d, 150d), new Size(22.733d, 180.434d), new Point(11.733d, 117.978d), -90d);
3939
Components.Add(_needle);
4040

4141
_verticalVelocity = new HeliosValue(this, new BindingValue(0d), "", "vertical velocity", "Veritcal velocity of the aircraft", "(-6,000 to 6,000)", BindingValueUnits.FeetPerMinute);

0 commit comments

Comments
 (0)