1
0
Fork 0

c172p: fix battery gauge scaling

(Preflight check - anyone? ;-) )
Also support "omit-knobs" property for HDG instrument knob
This commit is contained in:
ThorstenB 2011-10-08 11:48:01 +02:00
parent d699b3fea1
commit 6760eae7b7
2 changed files with 8 additions and 2 deletions

View file

@ -83,6 +83,12 @@ Jan 30 2003
<layer> <layer>
<name>HDG Knob</name> <name>HDG Knob</name>
<condition>
<equals>
<property>/sim/instrument-options/omit-knobs</property>
<value></value>
</equals>
</condition>
<w>88</w> <w>88</w>
<h>88</h> <h>88</h>
<texture> <texture>

View file

@ -23,9 +23,9 @@
<object-name>PtrTipL</object-name> <object-name>PtrTipL</object-name>
<property>systems/electrical/amps</property> <property>systems/electrical/amps</property>
<interpolation> <interpolation>
<entry><ind>-40</ind><dep>-45</dep></entry> <entry><ind>-40</ind><dep>-30</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry> <entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>40</ind><dep>45</dep></entry> <entry><ind>40</ind><dep>33</dep></entry>
</interpolation> </interpolation>
<axis> <axis>
<x>1</x> <x>1</x>