1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/light/light_control.xml
James Turner 7e0a45c798 Tooltips and knobs for the C172P.
This is proof of concept, not a complete conversion.
2013-04-06 17:36:25 +01:00

42 lines
905 B
XML

<?xml version="1.0"?>
<PropertyList>
<path>light_control.ac</path>
<!-- Panel/radio light control -->
<animation>
<type>knob</type>
<object-name>LightKnob</object-name>
<proxy-name>LightHotspotLeft</proxy-name>
<proxy-name>LightHotspotRight</proxy-name>
<visible>true</visible>
<action>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<factor>0.1</factor>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>lighting-brightness</tooltip-id>
<label>Instrument Lighting: %3d%%</label>
<property>controls/lighting/instruments-norm</property>
<mapping>percent</mapping>
</binding>
</hovered>
</animation>
</PropertyList>