<?xml version="1.0"?>
<includes>
	<!-- bg's -->
	<include name="SettingsBG">
		<control type="group">
			<include>FadeDialog</include>
			<posy>110</posy>
			<posx>100</posx>
			<!-- left side -->
			<control type="group">
				<control type="image">
					<posx>-1</posx>
					<posy>-1</posy>
					<width>342</width>
					<height>402</height>
					<texture>transparent.png</texture>
					<bordertexture border="10">border-black.png</bordertexture>
					<bordersize>1</bordersize>
					<animation effect="fade" start="0" end="40" time="300">WindowOpen</animation>
					<animation effect="fade" start="40" end="0" time="0">WindowClose</animation>
				</control>
				<control type="image">
					<width>340</width>
					<height>400</height>
					<texture border="10">base-rounded.png</texture>
					<colordiffuse>FF000000</colordiffuse>
					<animation effect="fade" start="0" end="50" time="0" condition="true">Conditional</animation>
				</control>
				<!-- arrow up -->
				<!--><control type="image">
					<posx>156</posx>
					<posy>-14</posy>
					<include>ArrowBlackUp</include>
				</control>-->
			</control>
			<!-- right side -->
			<control type="group">
				<posx>380</posx>
				<control type="image">
					<posx>-1</posx>
					<posy>-1</posy>
					<width>678</width>
					<height>452</height>
					<texture>transparent.png</texture>
					<bordertexture border="10">border-black.png</bordertexture>
					<bordersize>1</bordersize>
					<animation effect="fade" start="0" end="40" time="300">WindowOpen</animation>
					<animation effect="fade" start="40" end="0" time="0">WindowClose</animation>
				</control>
				<control type="image">
					<width>676</width>
					<height>500</height>
					<texture border="10">base-rounded.png</texture>
					<colordiffuse>FF000000</colordiffuse>
					<animation effect="fade" start="0" end="60" time="0" condition="true">Conditional</animation>
				</control>
				<!-- arrow left -->
				<control type="image">
					<posx>-14</posx>
					<posy>35</posy>
					<include>ArrowBlackLeft</include>
				</control>
			</control>
		</control>
	</include>
	<include name="MenuItemNFTextureNF">
		<texturenofocus aspectratio="stretch">MenuItemNF.png</texturenofocus>
	</include>
	<!-- variables for page titles -->
	<variable name="SettingsPageTitles">
		<value condition="Window.IsActive(appearancesettings)">$LOCALIZE[480]</value>
		<value condition="Window.IsActive(videossettings)">$LOCALIZE[31001]</value>
		<value condition="Window.IsActive(musicsettings)">$LOCALIZE[2]</value>
		<value condition="Window.IsActive(picturessettings)">$LOCALIZE[1]</value>
		<value condition="Window.IsActive(systemsettings)">$LOCALIZE[13000]</value>
		<value condition="Window.IsActive(skinsettings)">Skin</value>
	</variable>
	<!-- settings menu (left) -->
	<include name="SettingsMenu">
		<control type="group" id="302">
			<animation effect="fade" start="100" end="50" time="300" condition="Window.IsActive(4997)">Conditional</animation>
			<include>FadeDialog</include>
			<control type="grouplist" id="3">
				<posy>135</posy>
				<posx>120</posx>
				<width>350</width>
				<onleft>Plex.ActivateWindow(4997)</onleft>
				<onright>301</onright>
				<onup>3</onup>
				<ondown>3</ondown>
				<itemgap>0</itemgap>
				<orientation>vertical</orientation>
			</control>
			<control type="button" id="10">
				<width>300</width>
				<font>Bold-18</font>
				<textoffsetx>20</textoffsetx>
				<animation effect="fade" time="300" condition="Window.Next(0)">WindowClose</animation>
			</control>
		</control>
	</include>
	<!-- setting options (right) -->
	<include name="SettingOptions">
		<control type="group" id="301">
			<animation effect="fade" start="100" end="50" time="300" condition="Window.IsActive(4997)">Conditional</animation>
			<include>FadeDialog</include>
			<posx>400</posx>
			<posy>70</posy>
			<width>750</width>
			<animation type="WindowOpen">
				<effect type="fade" time="200"/>
			</animation>
			<animation type="WindowClose" condition="Window.Next(0) + !Window.Next(SettingsCategory.xml) + !Window.Next(1001)">
				<effect type="fade" time="100"/>
			</animation>
			<animation effect="fade" time="100" condition="!Window.Next(0) + !Window.Next(SettingsCategory.xml) + !Window.Next(1001)">WindowClose</animation>
			<control type="grouplist" id="5">
				<posx>105</posx>
				<posy>65</posy>
				<width>625</width>
				<height>400</height>
				<onup>5</onup>
				<ondown>5</ondown>
				<onleft>302</onleft>
				<onright>-</onright>
				<itemgap>0</itemgap>
				<pagecontrol>61</pagecontrol>
			</control>
			<control type="button" id="7">
				<textoffsetx>20</textoffsetx>
			</control>
			<control type="radiobutton" id="8">
				<textoffsetx>20</textoffsetx>
			</control>
			<control type="spincontrolex" id="9">
				<textoffsetx>20</textoffsetx>
			</control>
			<control type="scrollbar" id="61">
				<posy>60</posy>
				<posx>732</posx>
				<height>410</height>
				<onup>61</onup>
				<ondown>61</ondown>
			</control>
		</control>
	</include>
</includes>
