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

<PropertyList>

	<name>lights-dlg</name>
	<layout>vbox</layout>

	<group>
		<layout>hbox</layout>

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

		<text>
			<label>Lights</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>vbox</layout>

		<text>
			<label>Landing lights</label>
		</text>

		<group>
			<layout>hbox</layout>

			<checkbox>
				<label>Left</label>
				<property>controls/lighting/landing-lights[0]</property>
				<binding>
					<command>dialog-apply</command>
				</binding>
				<live>true</live>
			</checkbox>

			<checkbox>
				<label>Right</label>
				<property>controls/lighting/landing-lights[1]</property>
				<binding>
					<command>dialog-apply</command>
				</binding>
				<live>true</live>
			</checkbox>
		</group>

		<hrule/>

		<checkbox>
			<halign>left</halign>
			<label>Navigation lights</label>
			<property>controls/lighting/nav-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Taxi lights</label>
			<property>controls/lighting/taxi-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Strobe lights</label>
			<property>controls/lighting/strobe</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Beacon</label>
			<property>controls/lighting/beacon</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Logo lights</label>
			<property>controls/lighting/logo-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Wing lights</label>
			<property>controls/lighting/wing-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Flight deck lights</label>
			<property>controls/lighting/cockpit-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Panel lights</label>
			<property>controls/lighting/panel-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<checkbox>
			<halign>left</halign>
			<label>Cabin lights</label>
			<property>controls/lighting/cabin-lights</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>

		<hrule />

		<checkbox>
			<halign>left</halign>
			<label>3D light cones</label>
			<property>controls/lighting/cones</property>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<live>true</live>
		</checkbox>
	</group>

	<hrule />

	<group>
		<layout>vbox</layout>

		<button>
			<legend>Close</legend>
			<default>true</default>
			<key>Esc</key>
			<padding>10</padding>
			<binding>
				<command>dialog-apply</command>
			</binding>
			<binding>
				<command>dialog-close</command>
			</binding>
		</button>
	</group>

</PropertyList>
