<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="104">
    <allowoverlay>no</allowoverlay>

    <controls>

       
        <control type="group">
            <right>72</right>
            <posy>72</posy>
            <width>660</width>
            <height>100</height>
            <include>Animation.FadeIn.Slide</include>
            <include>Animation.FadeOut</include>
            <visible>[!Window.IsVisible(fullscreenvideo) + !Window.IsVisible(visualisation)] | Skin.HasSetting(osd.usetheme)</visible>
            <control type="image">
                <description>background image</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>660</width>
                <height>100</height>
                <animation effect="fade" start="100" end="90" condition="true">Conditional</animation>
                <texture border="16" colordiffuse="Background">common/rounded-shadow8.png</texture>
            </control>

            <control type="group">
                <visible>!player.passthrough</visible>
                
                <control type="image">
                    <left>24</left>
                    <centertop>50%</centertop>
                    <width>64</width>
                    <height>64</height>
                    <aspectratio>keep</aspectratio>
                    <texture colordiffuse="Dark1">buttons/volume.png</texture>
                    <visible>!Window.IsVisible(DialogMuteBug.xml)</visible>
                </control>
                
                <control type="image">
                    <left>24</left>
                    <centertop>50%</centertop>
                    <width>64</width>
                    <height>64</height>
                    <aspectratio>keep</aspectratio>
                    <texture colordiffuse="Dark1">buttons/mute.png</texture>
                    <visible>Window.IsVisible(DialogMuteBug.xml)</visible>
                </control>
                
                <control type="label">
                    <left>104</left>
                    <top>24</top>
                    <height>24</height>
                    <aligny>center</aligny>
                    <font>Tiny</font>
                    <label>$LOCALIZE[13376]$INFO[Player.Volume,  ,]</label>
                    <textcolor>Dark1</textcolor>
                </control>
                
                <control type="label">
                    <align>right</align>
                    <right>24</right>
                    <top>24</top>
                    <height>24</height>
                    <aligny>center</aligny>
                    <font>Tiny</font>
                    <label>$INFO[Control.GetLabel(1),, %]</label>
                    <textcolor>Dark1</textcolor>
                </control>

                <control type="progress">
                    <description>progress control</description>
                    <left>104</left>
                    <right>24</right>
                    <bottom>24</bottom>
                    <height>8</height>
                    <info>Player.Volume</info>
                </control>

            </control>

            <control type="group">
                <visible>player.passthrough</visible>

                <control type="label">
                    <description>Passthrough Label</description>
                    <left>38</left>
                    <centertop>50%</centertop>
                    <height>24</height>
                    <aligny>center</aligny>
                    <textcolor>Dark1</textcolor>
                    <font>Tiny</font>
                    <label>29802</label>
                </control>

            </control>

        </control>
        <control type="group">
            <right>72</right>
            <posy>72</posy>
            <width>660</width>
            <height>100</height>
            <include>Animation.FadeIn.Slide</include>
            <include>Animation.FadeOut</include>
            <visible>[Window.IsVisible(fullscreenvideo) | Window.IsVisible(visualisation)] + !Skin.HasSetting(osd.usetheme)</visible>
            <control type="image">
                <description>background image</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>660</width>
                <height>100</height>
                <texture border="16" colordiffuse="OSDBack">common/rounded-shadow8.png</texture>
            </control>

            <control type="group">
                <visible>!player.passthrough</visible>
                
                <control type="image">
                    <left>24</left>
                    <centertop>50%</centertop>
                    <width>64</width>
                    <height>64</height>
                    <aspectratio>keep</aspectratio>
                    <texture colordiffuse="PanelWhite70">buttons/volume.png</texture>
                    <visible>!Window.IsVisible(DialogMuteBug.xml)</visible>
                </control>
                
                <control type="image">
                    <left>24</left>
                    <centertop>50%</centertop>
                    <width>64</width>
                    <height>64</height>
                    <aspectratio>keep</aspectratio>
                    <texture colordiffuse="PanelWhite70">buttons/mute.png</texture>
                    <visible>Window.IsVisible(DialogMuteBug.xml)</visible>
                </control>
                
                <control type="label">
                    <left>104</left>
                    <top>24</top>
                    <height>24</height>
                    <aligny>center</aligny>
                    <font>Tiny</font>
                    <label>$LOCALIZE[13376]$INFO[Player.Volume,  ,]</label>
                    <textcolor>PanelWhite70</textcolor>
                </control>
                
                <control type="label">
                    <align>right</align>
                    <right>24</right>
                    <top>24</top>
                    <height>24</height>
                    <aligny>center</aligny>
                    <font>Tiny</font>
                    <label>$INFO[Control.GetLabel(1),, %]</label>
                    <textcolor>PanelWhite70</textcolor>
                </control>

                <control type="progress">
                    <description>progress control</description>
                    <left>104</left>
                    <right>24</right>
                    <bottom>24</bottom>
                    <height>8</height>
                    <info>Player.Volume</info>
                </control>

            </control>

            <control type="group">
                <visible>player.passthrough</visible>

                <control type="label">
                    <description>Passthrough Label</description>
                    <left>38</left>
                    <centertop>50%</centertop>
                    <height>24</height>
                    <aligny>center</aligny>
                    <textcolor>PanelWhite70</textcolor>
                    <font>Tiny</font>
                    <label>29802</label>
                </control>

            </control>

        </control>
        
        <control type="progress" id="1">
            <description>progress control</description>
            <left>104</left>
            <right>24</right>
            <bottom>24</bottom>
            <height>8</height>
            <texturebg colordiffuse="White12">osd/progress-bg.png</texturebg>
            <info>Player.Volume</info>
            <visible>false</visible>
        </control>

    </controls>

</window>
