<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displayaudiotracks SYSTEM "../../../dtd/displayaudiotracks.dtd">

<displayaudiotracks x="35%" y="0" width="30%" height="100%" fadetime="0">
    <background>
        <area x="0" y="{areaheight} - {numtracks} * {areaheight} / 15 - {areaheight} / 15" width="100%" height="{areaheight} / 15 + {areaheight} / 15 * {numtracks}" layer="1">
            <fill color="{replayback}" />
        </area>
    </background>

    <header>
        <area x="0" y="{areaheight} - {numtracks} * {areaheight} / 15 - {areaheight} / 15" width="100%" height="{areaheight} / 15" layer="2">
            <drawtext align="center" valign="center" font="{regular}" fontsize="80%" color="{fontdefault}" text="{title}" />
            <drawrectangle x="{areawidth} - 1.2*{areaheight} - 5" y="0" width="1.2*{areaheight}" height="{areaheight}/2" color="{icontextactive}" />
            <drawrectangle x="{areawidth} - 1.2*{areaheight} - 4" y="1" width="1.2*{areaheight} - 2" height="{areaheight}/2 - 2" color="00000000" />
            <drawtext name="stereo" condition="{isstereo}" x="{areawidth} - 1.2*{areaheight} - 1 + {areaheight}/2 - {width(stereo)}/2" y="10%" fontsize="35%" font="{regular}" color="{icontextactive}" text="Stereo" />
            <drawtext name="ac3" condition="{isac3}" x="{areawidth} - 1.2*{areaheight} - 1 + {areaheight}/2 - {width(ac3)}/2" y="10%" fontsize="35%" font="{regular}" color="{icontextactive}" text="AC3" />
        </area>
    </header>

    <menuitems x="0" y="{areaheight} - {numelements} * {areaheight} / 15" orientation="vertical" width="100%" height="{numelements} * {areaheight} / 15" align="top" numlistelements="{numelements}">
        <listelement>
            <!-- Background -->
            <area x="1%" width="98%" layer="2">
                <drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
                <drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
                <drawrectangle condition="{current}" x="0" y="0" width="100%" height="100%" color="{menubackactive}" />
            </area>
            <area x="1%" width="98%" layer="3">
                <drawtext x="10" valign="center" font="{regular}" fontsize="60%" color="{fontdefault}" text="{title}" />
            </area>
        </listelement>
    </menuitems>

</displayaudiotracks>
