<?xml version="1.0"?>
<!--RDR 160 WxRadar hotspots-->

<PropertyList>

    <name>wxradar hotspots</name>
    <w-base>160</w-base>
    <h-base>120</h-base>
    <w>160</w>
    <h>120</h>

    <layers>

        <layer>
            <name>background</name>
            <w>92</w>
            <h>75</h>
            <condition>
                <not-equals>
                    <property>instrumentation/radar/switch</property>
                    <value>off</value>
                </not-equals>
            </condition>
            <texture>
                <path>Aircraft/Instruments-3d/RDR-160/bkgrd.rgb</path>
                <x1>0.030</x1>
                <y1>0.112</y1>
                <x2>0.979</x2>
                <y2>0.884</y2>
            </texture>
            <emissive>true</emissive>
            <transformations>
                <transformation>
                    <type>y-shift</type>
                    <offset>8.3</offset>
                </transformation>
            </transformations>
        </layer>

        <layer>
            <name>radar data</name>
            <emissive>true</emissive>
            <w>92</w>
            <h>75</h>
            <condition>
                <equals>
                    <property>instrumentation/radar/switch</property>
                    <value>on</value>
                </equals>
            </condition>
            <texture>
                <path>Aircraft/Instruments-3d/RDR-160/od_wxradar.rgb</path>
                <x1>0.0</x1>
                <y1>0.0</y1>
                <x2>1.0</x2>
                <y2>1.0</y2>
            </texture>
            <transformations>
                <transformation>
                    <type>y-shift</type>
                    <offset>8.3</offset>
                </transformation>
            </transformations>
        </layer>

   <layer>
        <name>Status</name>
        <type>text</type>
        <font>helvetica_bold</font>
        <point-size>4</point-size>
        <color>
            <red>0.2</red>
            <green>0.6</green>
            <blue>0.8</blue>
        </color>
        <chunks>
            <chunk>
                <type>text-value</type>
                <property>instrumentation/radar/status</property>
            </chunk>
        </chunks>
        <transformations>
            <transformation>
                <type>y-shift</type>
                <offset>-18.0</offset>
            </transformation>
            <transformation>
                <type>x-shift</type>
                <offset>-48.0</offset>
            </transformation>
        </transformations>
    </layer>

   <layer>
        <name>Range1</name>
            <condition>
                <not-equals>
                    <property>instrumentation/radar/switch</property>
                    <value>off</value>
                </not-equals>
            </condition>
        <type>text</type>
        <font>helvetica_bold</font>
        <point-size>4</point-size>
        <color>
            <red>0.2</red>
            <green>0.6</green>
            <blue>0.8</blue>
        </color>
        <chunks>
            <chunk>
                <type>number-value</type>
                <property>instrumentation/radar/range</property>
                <scale>1</scale>
                <format>%3.0f</format>
            </chunk>
        </chunks>
        <transformations>
            <transformation>
                <type>y-shift</type>
                <offset>28.0</offset>
            </transformation>
            <transformation>
                <type>x-shift</type>
                <offset>41.0</offset>
            </transformation>
        </transformations>
    </layer>

   <layer>
        <name>Range2</name>
            <condition>
                <not-equals>
                    <property>instrumentation/radar/switch</property>
                    <value>off</value>
                </not-equals>
            </condition>
        <type>text</type>
        <font>helvetica_bold</font>
        <point-size>4</point-size>
        <color>
            <red>0.2</red>
            <green>0.6</green>
            <blue>0.8</blue>
        </color>
        <chunks>
            <chunk>
                <type>number-value</type>
                <property>instrumentation/radar/range</property>
                <scale>0.75</scale>
                <format>%2.0f</format>
            </chunk>
        </chunks>
        <transformations>
            <transformation>
                <type>y-shift</type>
                <offset>-1.0</offset>
            </transformation>
            <transformation>
                <type>x-shift</type>
                <offset>41.0</offset>
            </transformation>
        </transformations>
    </layer>

   <layer>
        <name>Range3</name>
            <condition>
                <not-equals>
                    <property>instrumentation/radar/switch</property>
                    <value>off</value>
                </not-equals>
            </condition>
        <type>text</type>
        <font>helvetica_bold</font>
        <point-size>4</point-size>
        <color>
            <red>0.2</red>
            <green>0.6</green>
            <blue>0.8</blue>
        </color>
        <chunks>
            <chunk>
                <type>number-value</type>
                <property>instrumentation/radar/range</property>
                <scale>0.5</scale>
                <format>%2.0f</format>
            </chunk>
        </chunks>
        <transformations>
            <transformation>
                <type>y-shift</type>
                <offset>-13.0</offset>
            </transformation>
            <transformation>
                <type>x-shift</type>
                <offset>32.0</offset>
            </transformation>
        </transformations>
    </layer>

   <layer>
        <name>Range4</name>
            <condition>
                <not-equals>
                    <property>instrumentation/radar/switch</property>
                    <value>off</value>
                </not-equals>
            </condition>
        <type>text</type>
        <font>helvetica_bold</font>
        <point-size>4</point-size>
        <color>
            <red>0.2</red>
            <green>0.6</green>
            <blue>0.8</blue>
        </color>
        <chunks>
            <chunk>
                <type>number-value</type>
                <property>instrumentation/radar/range</property>
                <scale>0.25</scale>
                <format>%2.0f</format>
            </chunk>
        </chunks>
        <transformations>
            <transformation>
                <type>y-shift</type>
                <offset>-24.0</offset>
            </transformation>
            <transformation>
                <type>x-shift</type>
                <offset>19.0</offset>
            </transformation>
        </transformations>
    </layer>

</layers>

    <actions>
<!--
        <action>
            <name>outline</name>
            <button>0</button>
            <x>-80</x>
            <y>-60</y>
            <w>160</w>
            <h>120</h>
        </action>
-->
        <action>
            <name>data toggle</name>
            <button>0</button>
            <x>-74</x>
            <y>-2</y>
            <w>12</w>
            <h>8</h>
            <binding>
                <command>property-toggle</command>
                <property>instrumentation/radar/display-controls/data</property>
            </binding>
        </action>

        <action>
            <name>pos toggle</name>
            <button>0</button>
            <x>-74</x>
            <y>-20</y>
            <w>12</w>
            <h>8</h>
            <binding>
                <command>property-toggle</command>
                <property>instrumentation/radar/display-controls/pos</property>
            </binding>
        </action>

        <action>
            <name>range increase</name>
            <button>0</button>
            <x>64</x>
            <y>-2</y>
            <w>12</w>
            <h>8</h>
            <binding>
                <command>property-assign</command>
                <property>instrumentation/radar/set-range</property>
                <value>1</value>
            </binding>
        </action>

        <action>
            <name>range decrease</name>
            <button>0</button>
            <x>64</x>
            <y>-20</y>
            <w>12</w>
            <h>8</h>
            <binding>
                <command>property-assign</command>
                <property>instrumentation/radar/set-range</property>
                <value>-1</value>
            </binding>
        </action>

        <action>
        <name>pwroff</name>
            <button>0</button>
            <x>-80</x>
            <y>-51</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/switch-pos</property>
                <step>-1</step>
                <min>0</min>
                <max>3</max>
                <wrap>false</wrap>
            </binding>
        </action>

        <action>
        <name>pwron</name>
            <button>0</button>
            <x>-68</x>
            <y>-51</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/switch-pos</property>
                <step>1</step>
                <min>0</min>
                <max>3</max>
                <wrap>false</wrap>
            </binding>
        </action>

        <action>
            <name>tiltup</name>
            <button>0</button>
            <x>67</x>
            <y>-55</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/tilt</property>
                <step>5.0</step>
                <min>-15.0</min>
                <max>15.0</max>
                <wrap>false</wrap>
            </binding>
        </action>

        <action>
            <name>tiltdown</name>
            <button>0</button>
            <x>55</x>
            <y>-55</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/tilt</property>
                <step>-5.0</step>
                <min>-15.0</min>
                <max>15.0</max>
                <wrap>false</wrap>
            </binding>
        </action>

        <action>
            <name>brtup</name>
            <button>0</button>
            <x>-68</x>
            <y>39</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/dim</property>
                <step>0.05</step>
                <min>0.0</min>
                <max>1.0</max>
                <wrap>false</wrap>
            </binding>
        </action>

        <action>
            <name>brtdwn</name>
            <button>0</button>
            <x>-80</x>
            <y>39</y>
            <w>12</w>
            <h>20</h>
            <binding>
                <command>property-adjust</command>
                <property>instrumentation/radar/dim</property>
                <step>-0.05</step>
                <min>0.0</min>
                <max>1.0</max>
                <wrap>false</wrap>
            </binding>
        </action>

    </actions>

</PropertyList>