<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>

    <window name="status">

        <textarea name="heading">
            <area>30,10,740,40</area>
            <font>baselarge</font>
            <value>System Status</value>
        </textarea>

        <shape name="list_background" from="basebackground">
            <area>30,95,1220,370</area>
        </shape>

        <buttonlist name="category">
            <area>70,50,1250,30</area>
            <layout>horizontal</layout>
            <spacing>6</spacing>
            <buttonarea>15,0,1220,40</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,180,40</area>
                    <shape name="background" from="basewidgetshape" />
                    <textarea name="buttontext" from="basetextarea">
                        <area>0,0,180,40</area>
                        <font>basesmall</font>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <shape name="background" from="baseselectedwidgetshape" />
                </state>
                <state name="selectedinactive" from="active">
                    <textarea name="buttontext">
                        <font>basesmallgrey</font>
                    </textarea>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>1130,10</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>lb-rtarrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>lb-rtarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>0,10</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>lb-ltarrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>lb-ltarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>

        <buttonlist name="log" from="basebuttonlist2">
            <position>19,108</position>
        </buttonlist>

        <textarea name="helplabel">
            <area>30,490,740,30</area>
            <value>Details</value>
            <font>basemedium</font>
        </textarea>

        <textarea name="helptext" from="basetextarea">
            <area>40,530,1200,150</area>
            <value>This screen displays the status of various system components</value>
            <multiline>yes</multiline>
        </textarea>

    </window>

    <window name="standbymode">
        <area>0,0,100%,100%</area>
        <shape name="background" from="basebackground">
            <area>0,0,100%,100%</area>
            <fill color="#000000" alpha="255" />
        </shape>

        <fontdef name="label" from="basesmall">
            <color>#ffff00</color>
            <size>18</size>
            <weight>bold</weight>
        </fontdef>

        <fontdef name="info" from="basesmall">
            <color>#ffffff</color>
            <size>16</size>
            <weight>bold</weight>
        </fontdef>

        <fontdef name="warning" from="basesmall">
            <color>#ff0000</color>
            <size>16</size>
            <shadowcolor>#000000</shadowcolor>
            <shadowoffset>2,2</shadowoffset>
            <weight>bold</weight>
        </fontdef>

        <textarea name="heading">
            <area>20,20,1240,40</area>
            <font>baselarge</font>
            <align>allcenter</align>
            <value>MythTV is in standby</value>
        </textarea>

        <statetype name="backendstatus">
            <area>20,75,1240,100</area>
            <state name="idle">
                <area>0,0,1240,100</area>
                <!--<imagetype name="icon">-->
                <shape name="iconplaceholder">
                    <area>450,10,80,80</area>
                    <fill color="#666666" />
                </shape>
                <!-- </imagetype>-->
                <textarea name="status">
                    <area>550,15,440,80</area>
                    <font>basemedium</font>
                    <value>Backend is idle</value>
                    <multiline>true</multiline>
                </textarea>
            </state>
            <state name="recording" from="idle">
                <shape name="iconplaceholder">
                    <fill color="#80DF00" />
                </shape>
                <textarea name="status">
                    <value>Backend is recording</value>
                </textarea>
            </state>
            <state name="shuttingdown" from="idle">
                <shape name="iconplaceholder">
                    <fill color="#FFFF33" />
                </shape>
                <textarea name="status">
                    <value>Backend is shutting down</value>
                </textarea>
            </state>
            <state name="offline" from="idle">
                <shape name="iconplaceholder">
                    <fill color="#800900" />
                </shape>
                <textarea name="status">
                    <value>Backend is offline</value>
                </textarea>
            </state>
        </statetype>

        <textarea name="currentrecordingheading">
            <area>20,220,1240,30</area>
            <font>label</font>
            <align>allcenter</align>
            <value>Current Recording(s)</value>
        </textarea>
        <textarea name="nothingrecording" depends="!currentrecording">
            <area>20,250,1240,120</area>
            <font>info</font>
            <value>There are no recordings currently taking place</value>
            <align>allcenter</align>
        </textarea>
        <buttonlist name="currentrecording">
            <area>20,250,1240,120</area>
            <layout>vertical</layout>
            <spacing>4</spacing>
            <buttonarea>0,0,100%,100%</buttonarea>
            <statetype name="buttonitem">
                <area>0,0,100%,26</area>
                <state name="active">
                    <textarea name="shorttimedate">
                        <font>basesmall</font>
                        <align>vcenter</align>
                        <area>0,1,200,24</area>
                    </textarea>
                    <textarea name="channame" from="shorttimedate">
                        <area>210,1,130,24</area>
                    </textarea>
                    <textarea name="titlesubtitle" from="shorttimedate">
                        <area>340,1,420,24</area>
                    </textarea>
                </state>
                <state name="selectedactive" from="active"/>
                <state name="selectedinactive" from="selectedactive" />
            </statetype>
        </buttonlist>


        <textarea name="nextrecordingheading">
            <area>20,430,1240,30</area>
            <font>label</font>
            <align>allcenter</align>
            <value>Next recording</value>
        </textarea>
        <textarea name="nothingscheduled" depends="!nextrecording">
            <area>20,470,1240,120</area>
            <font>info</font>
            <value>There are no scheduled recordings</value>
            <align>allcenter</align>
        </textarea>
        <buttonlist name="nextrecording" from="currentrecording">
            <area>20,470,1240,120</area>
        </buttonlist>

        <!--
            scheduled recordings conflict warning
        -->
        <textarea name="conflictsheading" depends="conflicts">
            <area>20,610,1240,30</area>
            <font>label</font>
            <align>allcenter</align>
            <value>Schedule conflict(s)</value>
        </textarea>
        <buttonlist name="conflicts" from="currentrecording">
            <area>20,640,1240,60</area>
            <statetype name="buttonitem">
                <area>0,0,100%,26</area>
                <state name="active">
                    <textarea name="shorttimedate" from="shorttimedate">
                        <font>warning</font>
                    </textarea>
                    <textarea name="channame" from="channame">
                        <font>warning</font>
                    </textarea>
                    <textarea name="titlesubtitle" from="titlesubtitle">
                        <font>warning</font>
                    </textarea>
                </state>
                <state name="selectedactive" from="active"/>
                <state name="selectedinactive" from="selectedactive" />
            </statetype>
        </buttonlist>
    </window>

</mythuitheme>

