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

<!-- A3XX Aircraft Config Dialog -->


<PropertyList>

	<name>aircraft-config-failb</name>
	<layout>vbox</layout>

    <group>
        <layout>hbox</layout>
        <text>
            <halign>left</halign>
            <label>System Failures (2)</label>
        </text>
        <button>
            <halign>right</halign>
            <pref-width>20</pref-width>
            <pref-height>20</pref-height>
            <legend>X</legend>
            <key>Esc</key>
            <binding>
                <command>dialog-close</command>
            </binding>
        </button>
    </group>
	
    <hrule/>
	
	<group>
		<layout>vbox</layout>
		
        <text>
            <halign>left</halign>
            <label>Failed when Checked</label>
        </text>
		
		<group>
			<layout>hbox</layout>

			<hrule>
				<stretch type="bool">true</stretch>
			</hrule>
			<text>
				<label>PNEU SYS Fail</label>
			</text>
			<hrule>
				<stretch type="bool">true</stretch>
			</hrule>
		</group>
		
		<checkbox>
			<label>Bleed APU</label>
			<halign>left</halign>
			<property>/systems/failures/bleed-apu</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<checkbox>
			<label>Bleed EXT</label>
			<halign>left</halign>
			<property>/systems/failures/bleed-ext</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<checkbox>
			<label>Bleed ENG 1</label>
			<halign>left</halign>
			<property>/systems/failures/bleed-eng1</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<checkbox>
			<label>Bleed ENG 2</label>
			<halign>left</halign>
			<property>/systems/failures/bleed-eng2</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<checkbox>
			<label>Pack 1</label>
			<halign>left</halign>
			<property>/systems/failures/pack1</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<checkbox>
			<label>Pack 2</label>
			<halign>left</halign>
			<property>/systems/failures/pack2</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
		
		<hrule/>
		
		<group>
			<layout>hbox</layout>
			
			<button>
				<legend>&lt;</legend>
				<halign>center</halign>
				<pref-width>30</pref-width>
				<binding>
					<command>nasal</command>
					<script>
					acconfig.failPage(1);
					</script>
				</binding>
			</button>
		
			<button>
				<legend>Reset All</legend>
				<halign>center</halign>
				<padding>5</padding>
				<binding>
					<command>nasal</command>
					<script>
					acconfig.failReset();
					</script>
				</binding>
			</button>
			
			<button>
				<legend>&gt;</legend>
				<halign>center</halign>
				<pref-width>30</pref-width>
				<binding>
					<command>nasal</command>
					<script>
					acconfig.failPage(3);
					</script>
				</binding>
			</button>
			
		</group>

	</group>
	
</PropertyList>