<?xml version="1.0"?>
<PropertyList>
	<name>link16</name>
  	<modal>false</modal>
  	<layout>vbox</layout>
  	<draggable>true</draggable>
    <resizable>true</resizable>
    <width>250</width>
    <height>480</height>

    <group>
		<layout>hbox</layout>
		<empty><stretch>1</stretch></empty>

		<text><label>Link 16 Tactical Data Link</label></text>

		<empty><stretch>1</stretch></empty>

		<button>
			<pref-width>16</pref-width>
			<pref-height>16</pref-height>
			<legend></legend>
			<default>1</default>
			<keynum>27</keynum>
			<border>2</border>
			<binding>
				<command>dialog-close</command>
			</binding>
			<binding>
				<command>dialog-apply</command>
			</binding>
      <binding>
        <command>nasal</command>
        <script>radar.updatelink16()</script>
      </binding>       
		</button>
	</group>

  <hrule/>

  	<text>
	    <label>Friendly callsigns:</label>
	    <height>25</height>
	</text>

	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 1</label>
	  	<property>link16/wingman-1</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 2</label>
	  	<property>link16/wingman-2</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>        
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 3</label>
	  	<property>link16/wingman-3</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>        
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 5</label>
	  	<property>link16/wingman-5</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>        
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 6</label>
	  	<property>link16/wingman-6</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>          
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 7</label>
	  	<property>link16/wingman-7</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>  
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 8</label>
	  	<property>link16/wingman-8</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>          
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 9</label>
	  	<property>link16/wingman-9</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>          
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<input>
	  	<width>250</width>
	  	<height>25</height>
	  	<label>Wingman 10</label>
	  	<property>link16/wingman-10</property>
	  	<live>true</live>
	  	<halign>left</halign>
        <binding>
            <command>dialog-apply</command>
      	</binding>
        <binding>
          <command>nasal</command>
          <script>radar.updatelink16()</script>
        </binding>          
      	<color>
      		<red>0.5</red>
      		<green>1</green>
      		<blue>0.5</blue>
      	</color>
	</input>
	<!-- wingman #4 is only used for the Mig28 scenario aircraft -->
	<empty><stretch>1</stretch></empty>
	<text><label>Wingmen only show up in RWR</label></text>
	<text><label>when no other threats are present.</label></text>
	<text><label>Wingman #4 is reserved for scenario.</label></text>

</PropertyList>
