<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>1</defaultcontrol>
	<controls>
		<control type="group">
	    <animation type="WindowOpen" reversible="false">
	      <include>CommonOpenEffect</include>
	    </animation>
	    <animation type="WindowClose" reversible="false">
	      <include>CommonCloseEffect</include>
	    </animation>
			<animation type="Visible">
			  <effect type="fade" start="0" end="100" time="250" tween="sine" easing="in"  />
			  <effect type="slide" start="0,-35" end="0,0" time="300" tween="cubic" easing="out" />
			</animation>
			<animation type="Hidden">
			  <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
			  <effect type="slide" start="0,0" end="0,-35" time="350" tween="sine" easing="out" />
			</animation>
			<visible>!Player.Muted</visible>
			<control type="image">
				<left>280r</left>
				<top>13</top>
				<width>254</width>
				<height>104</height>
				<texture background="true" border="29">osd/volume/volume_bg.png</texture>
			</control>
			<control type="group">
				<left>249r</left>
				<top>70</top>
				<visible>!player.passthrough</visible>
				<control type="label">
					<description>Volume Label</description>
					<left>2</left>
					<top>-30</top>
					<width>230</width>
					<height>30</height>
          <label>$LOCALIZE[13376]</label>
					<font>FontSize_20</font>
				</control>
				<control type="label">
					<description>db Label</description>
					<right>191r</right>
					<top>-30</top>
					<width>230</width>
					<height>30</height>
          <label>$INFO[Player.Volume]</label>
					<font>FontSize_20</font>
					<align>right</align>
          <visible>!String.StartsWith(Player.Volume,-60.0)</visible>
				</control>
				<control type="label">
					<description>Mute Label</description>
					<right>191r</right>
					<top>-30</top>
					<width>230</width>
					<height>29</height>
          <label>$LOCALIZE[31300]</label>
					<font>FontSize_20</font>
					<textcolor>invalid</textcolor>
					<align>right</align>
          <visible>String.StartsWith(Player.Volume,-60.0)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<width>191</width>
					<height>15</height>
					<texture>osd/volume/volume_progress_bg.png</texture>
				</control>
				<control type="image">
					<left>0</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_1.png</texture>
					<visible>Integer.IsGreater(player.volume,0)</visible>
				</control>
				<control type="image">
					<left>12</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_2.png</texture>
					<visible>Integer.IsGreater(player.volume,6)</visible>
				</control>
				<control type="image">
					<left>24</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_3.png</texture>
					<visible>Integer.IsGreater(player.volume,12)</visible>
				</control>
				<control type="image">
					<left>36</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_4.png</texture>
					<visible>Integer.IsGreater(player.volume,19)</visible>
				</control>
				<control type="image">
					<left>48</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_5.png</texture>
					<visible>Integer.IsGreater(player.volume,26)</visible>
				</control>
				<control type="image">
					<left>60</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_6.png</texture>
					<visible>Integer.IsGreater(player.volume,32)</visible>
				</control>
				<control type="image">
					<left>72</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_7.png</texture>
					<visible>Integer.IsGreater(player.volume,39)</visible>
				</control>
				<control type="image">
					<left>84</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_8.png</texture>
					<visible>Integer.IsGreater(player.volume,46)</visible>
				</control>
				<control type="image">
					<left>96</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_9.png</texture>
					<visible>Integer.IsGreater(player.volume,51)</visible>
				</control>
				<control type="image">
					<left>108</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_10.png</texture>
					<visible>Integer.IsGreater(player.volume,58)</visible>
				</control>
				<control type="image">
					<left>120</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_11.png</texture>
					<visible>Integer.IsGreater(player.volume,64)</visible>
				</control>
				<control type="image">
					<left>132</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_12.png</texture>
					<visible>Integer.IsGreater(player.volume,72)</visible>
				</control>
				<control type="image">
					<left>144</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_13.png</texture>
					<visible>Integer.IsGreater(player.volume,79)</visible>
				</control>
				<control type="image">
					<left>156</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_14.png</texture>
					<visible>Integer.IsGreater(player.volume,85)</visible>
				</control>
				<control type="image">
					<left>168</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_15.png</texture>
					<visible>Integer.IsGreater(player.volume,94)</visible>
				</control>
				<control type="image">
					<left>180</left>
					<width>12</width>
					<height>15</height>
					<texture>osd/volume/volume_16.png</texture>
					<visible>Integer.IsGreater(player.volume,99)</visible>
				</control>
			</control>
			<control type="group">
				<left>250r</left>
				<top>70</top>
				<visible>player.passthrough</visible>
				<control type="label">
					<description>Volume Label</description>
					<left>-1</left>
					<top>-30</top>
					<width>200</width>
					<height>29</height>
					<label>$LOCALIZE[29802]</label>
					<font>FontSize_18</font>
					<aligny>center</aligny>
				</control>
				<control type="image">
					<left>-2</left>
					<width>198</width>
					<height>15</height>
					<texture>osd/volume/volume_progress_bg.png</texture>
				</control>
			</control>
		</control>

	  <control type="group">
	    <animation type="WindowOpen" reversible="false">
	      <include>CommonOpenEffect</include>
	    </animation>
	    <animation type="WindowClose" reversible="false">
	      <include>CommonCloseEffect</include>
	    </animation>
			<animation type="Visible">
			  <effect type="fade" start="0" end="100" time="250" tween="sine" easing="in"  />
			  <effect type="slide" start="0,-35" end="0,0" time="300" tween="cubic" easing="out" />
			</animation>
			<animation type="Hidden">
			  <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
			  <effect type="slide" start="0,0" end="0,-35" time="350" tween="sine" easing="out" />
			</animation>
			<visible>Player.Muted</visible>
			<left>1242</left>
			<top>6</top>
			<control type="image">
				<height>32</height>
				<width>32</width>
			  <texture>osd/volume/muted_icon.png</texture>
			</control>
		</control>

	</controls>
</window>