<?xml version="1.0" encoding="UTF-8" ?>

<!-- 777-200ER radio stack -->
<!-- Syd Adams -->

<PropertyList>

	<name>radio-stack</name>
	<layout>vbox</layout>

	<group>
		<layout>hbox</layout>

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

		<text>
			<label>Radio Stack</label>
		</text>

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

		<button>
			<pref-width>16</pref-width>
			<pref-height>16</pref-height>
			<legend></legend>
			<keynum>27</keynum>
			<border>2</border>
			<binding>
				<command>dialog-close</command>
			</binding>
		</button>
	</group>

	<hrule />

	<group>
		<layout>hbox</layout>

		<text>
			<label> Name </label>
		</text>

		<text>
			<label> Active </label>
		</text>

		<text>
			<label> Swap </label>
		</text>

		<text>
			<label>Standby </label>
		</text>

		<text>
			<label>Vol</label>
		</text>

		<text>
			<label>ID</label>
		</text>

		<text>
			<label>Radial </label>
		</text>

	</group>

	<hrule />

	<group>
		<layout>table</layout>
		<!-- COM1 -->
		<text>
			<row>0</row>
			<col>0</col>
			<label>COM1</label>
		</text>
		<text>
			<row>0</row>
			<col>1</col>
			<border>1</border>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>0</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>comm1</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
				<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</button>
		<input>
			<row>0</row>
			<col>3</col>
			<name>comm1</name>
			<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</input>
		<dial>
			<row>0</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/comm[0]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>

		<!-- NAV1 -->
		<text>
			<row>1</row>
			<col>0</col>
			<label>NAV1</label>
		</text>
		<text>
			<row>1</row>
			<col>1</col>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>1</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>nav1</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
				<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</button>
		<input>
			<row>1</row>
			<col>3</col>
			<name>nav1</name>
			<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
		</input>
		<dial>
			<row>1</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/nav[0]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<checkbox>
			<row>1</row>
			<col>5</col>
			<property>instrumentation/nav[0]/ident</property>
		</checkbox>
		<input>
			<row>1</row>
			<col>6</col>
			<property>instrumentation/nav[0]/radials/selected-deg</property>
			<live type="bool">true</live>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</input>
		<!-- DME1 -->
		<text>
			<row>2</row>
			<col>0</col>
			<label>DME1</label>
		</text>
		<text>
			<row>2</row>
			<col>1</col>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/dme[0]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>2</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>dme1</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/dme[0]/frequencies/selected-mhz</property>
				<property>instrumentation/dme[0]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</button>
		<input>
			<row>2</row>
			<col>3</col>
			<name>dme1</name>
			<property>instrumentation/dme[0]/frequencies/standby-mhz</property>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</input>
		<dial>
			<row>2</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/dme[0]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<button>
			<row>2</row>
			<col>5</col>
			<pref-height>25</pref-height>
			<pref-width>25</pref-width>
			<halign>center</halign>
			<legend>H</legend>
			<binding>
				<command>property-toggle</command>
				<property>instrumentation/dme[0]/hold</property>
			</binding>		
		</button>
		<text>
			<row>2</row>
			<col>6</col>
			<label>Hold</label>
			<visible>
				<property>instrumentation/dme[0]/hold</property>
			</visible>
		</text>
		<!-- ADF1 -->
		<text>
			<row>3</row>
			<col>0</col>
			<label>ADF1</label>
		</text>
		<text>
			<row>3</row>
			<col>1</col>
			<label>999</label>
			<halign>center</halign>
			<property>instrumentation/adf[0]/frequencies/selected-khz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>3</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>adf1</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/adf[0]/frequencies/selected-khz</property>
				<property>instrumentation/adf[0]/frequencies/standby-khz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</button>
		<input>
			<row>3</row>
			<col>3</col>
			<name>adf1</name>
			<property>instrumentation/adf[0]/frequencies/standby-khz</property>
		</input>

		<dial>
			<row>3</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/adf[0]/volume-norm</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<checkbox>
			<row>3</row>
			<col>5</col>
			<property>instrumentation/adf[0]/ident-audible</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</checkbox>
	</group>
	<hrule />
	<group>
		<layout>table</layout>
		<!-- COM 2 -->
		<text>
			<row>4</row>
			<col>0</col>
			<label>COM2</label>
		</text>
		<text>
			<row>4</row>
			<col>1</col>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>4</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>comm2</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
				<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</button>
		<input>
			<row>4</row>
			<col>3</col>
			<name>comm2</name>
			<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</input>
		<dial>
			<row>4</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/comm[1]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>

		<!-- NAV2 -->
		<text>
			<row>5</row>
			<col>0</col>
			<label>NAV2</label>
		</text>
		<text>
			<row>5</row>
			<col>1</col>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>5</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>nav2</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
				<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</button>
		<input>
			<row>5</row>
			<col>3</col>
			<name>nav2</name>
			<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</input>
		<dial>
			<row>5</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/nav[1]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<checkbox>
			<row>5</row>
			<col>5</col>
			<property>instrumentation/nav[1]/ident</property>
		</checkbox>
		<input>
			<row>5</row>
			<col>6</col>
			<property>instrumentation/nav[1]/radials/selected-deg</property>
			<live type="bool">true</live>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</input>
		<!-- DME2 -->
		<text>
			<row>6</row>
			<col>0</col>
			<label>DME2</label>
		</text>
		<text>
			<row>6</row>
			<col>1</col>
			<label>999.999</label>
			<halign>center</halign>
			<format>%3.3f</format>
			<property>instrumentation/dme[1]/frequencies/selected-mhz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>6</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>dme1</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/dme[1]/frequencies/selected-mhz</property>
				<property>instrumentation/dme[1]/frequencies/standby-mhz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</button>
		<input>
			<row>6</row>
			<col>3</col>
			<name>dme1</name>
			<property>instrumentation/dme[1]/frequencies/standby-mhz</property>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</input>
		<dial>
			<row>6</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/dme[1]/volume</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<button>
			<row>6</row>
			<col>5</col>
			<pref-height>25</pref-height>
			<pref-width>25</pref-width>
			<halign>center</halign>
			<legend>H</legend>
			<binding>
				<command>property-toggle</command>
				<property>instrumentation/dme[1]/hold</property>
			</binding>		
		</button>
		<text>
			<row>6</row>
			<col>6</col>
			<label>Hold</label>
			<visible>
				<property>instrumentation/dme[1]/hold</property>
			</visible>
		</text>

		<!-- ADF2 -->
		<text>
			<row>7</row>
			<col>0</col>
			<label>ADF2</label>
		</text>
		<text>
			<row>7</row>
			<col>1</col>
			<label>999</label>
			<halign>center</halign>
			<property>instrumentation/adf[1]/frequencies/selected-khz</property>
			<live type="bool">true</live>
		</text>
		<button>
			<row>7</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>adf2</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/adf[1]/frequencies/selected-khz</property>
				<property>instrumentation/adf[1]/frequencies/standby-khz</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</button>
		<input>
			<row>7</row>
			<col>3</col>
			<name>adf2</name>
			<property>instrumentation/adf[1]/frequencies/standby-khz</property>
			<enable>
				<not>
					<property>fcs/copilot/active</property>
				</not>
			</enable>
		</input>
		<dial>
			<row>7</row>
			<col>4</col>
			<pref-width>30</pref-width>
			<pref-height>30</pref-height>
			<property>instrumentation/adf[1]/volume-norm</property>
			<min>0</min>
			<max>1</max>
			<wrap>false</wrap>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</dial>
		<checkbox>
			<row>7</row>
			<col>5</col>
			<property>instrumentation/adf[1]/ident-audible</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
		</checkbox>
	</group>
	<hrule />
	<group>
		<layout>table</layout>	
		<!-- Transponder (with SquawkGear/VATSIM) -->
		<text>
			<row>8</row>
			<col>0</col>
			<label>Transponder</label>
		</text>
		<text>
			<row>8</row>
			<col>1</col>
			<label>9999</label>
			<halign>center</halign>
			<property>instrumentation/transponder/id-code</property>
			<format>%04d</format>
			<live type="bool">true</live>
		</text>
		<button>
			<row>8</row>
			<col>2</col>
			<pref-width>40</pref-width>
			<pref-height>22</pref-height>
			<legend>&lt;-&gt;</legend>
			<binding>
				<command>dialog-apply</command>
				<object-name>transponder</object-name>
			</binding>
			<binding>
				<command>property-swap</command>
				<property>instrumentation/transponder/id-code</property>
				<property>instrumentation/transponder/standby-id-code</property>
			</binding>
			<binding>
				<command>dialog-update</command>
			</binding>
		</button>
		<input>
			<row>8</row>
			<col>3</col>
			<name>transponder</name>
			<property>instrumentation/transponder/standby-id-code</property>
		</input>
	</group>

	<hrule />

	<button>
		<legend>ATC Services in range</legend>
		<binding>
			<command>dialog-show</command>
			<dialog-name>atc-freq-search</dialog-name>
		</binding>
	</button>

</PropertyList>
