<?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,94,1220,390</area>
        </shape>

        <buttonlist name="category">
            <area>70,44,1250,44</area>
            <layout>horizontal</layout>
            <spacing>6</spacing>
            <buttonarea>24,0,1220,44</buttonarea>
            <triggerevent context="Global" action="ESCAPE">UP</triggerevent>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,214,44</area>
                    <shape name="background" from="basewidgetshape" />
                    <textarea name="buttontext" from="basetextarea">
                        <area>4,2,206,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>basesmall</font>
                    </textarea>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>1134,12</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>-2,12</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>18,108</position>
            <searchposition>-1,490</searchposition>
        </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">
        <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>

        <fontdef name="clock" from="small">
            <pixelsize>28</pixelsize>
        </fontdef>

        <clock name="clock">
            <area>780,40,480,40</area>
            <font>clock</font>
            <template>%DATE%, %TIME%</template>
            <align>center</align>
        </clock>

        <imagetype name="watermark">
            <position>24,28</position>
            <filename>title/title_main.png</filename>
        </imagetype>

        <imagetype name="logo">
            <position>30,594</position>
            <filename>ui/mythtv_logo.png</filename>
        </imagetype>

        <group name="popup">
            <area>0,70,1280,400</area>

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

            <statetype name="backendstatus">
                <area>20,55,1240,100</area>
                <state name="idle">
                    <area>0,0,1240,100</area>
                    <imagetype name="icon">
                        <area>450,10,80,80</area>
                        <filename>watermark/play.png</filename>
                    </imagetype>
                    <textarea name="status">
                        <area>550,10,600,80</area>
                        <font>basemedium</font>
                        <align>left,vcenter</align>
                        <value>Backend is idle</value>
                        <multiline>true</multiline>
                    </textarea>
                </state>
                <state name="recording" from="idle">
                    <imagetype name="icon">
                        <filename>watermark/record.png</filename>
                    </imagetype>
                    <textarea name="status">
                        <value>Backend is recording</value>
                    </textarea>
                </state>
                <state name="shuttingdown" from="idle">
                    <imagetype name="icon">
                        <filename>watermark/big_arrow_down.png</filename>
                    </imagetype>
                    <textarea name="status">
                        <value>Backend is shutting down</value>
                    </textarea>
                </state>
                <state name="offline" from="idle">
                    <imagetype name="icon">
                        <filename>watermark/error.png</filename>
                    </imagetype>
                    <textarea name="status">
                        <value>Backend is offline</value>
                    </textarea>
                </state>
            </statetype>

            <imagetype name="horizon_top">
                <position>265,170</position>
                <filename>ui/horizon.png</filename>
                <alpha>100</alpha>
            </imagetype>

            <textarea name="currentrecordingheading">
                <area>20,180,1240,30</area>
                <font>label</font>
                <align>allcenter</align>
                <value>Current Recordings</value>
            </textarea>

            <textarea name="nothingrecording" depends="!currentrecording">
                <area>20,210,1240,50</area>
                <font>info</font>
                <value>There are no recordings currently taking place</value>
                <align>allcenter</align>
            </textarea>

            <buttonlist name="currentrecording">
                <area>20,210,1240,115</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="title">
                            <font>basesmall</font>
                            <align>allcenter</align>
                            <area>0,1,1240,24</area>
                            <template>%TITLESUBTITLE% on %CHANNAME% (%SHORTTIMEDATE%)</template>
                        </textarea>
                    </state>
                    <state name="selectedactive" from="active"/>
                    <state name="selectedinactive" from="selectedactive" />
                </statetype>
            </buttonlist>

            <imagetype name="horizon_middle">
                <position>265,340</position>
                <filename>ui/horizon.png</filename>
                <alpha>100</alpha>
            </imagetype>

            <textarea name="nextrecordingheading">
                <area>20,350,1240,30</area>
                <font>label</font>
                <align>allcenter</align>
                <value>Next recordings</value>
            </textarea>

            <textarea name="nothingscheduled" depends="!nextrecording">
                <area>20,380,1240,50</area>
                <font>info</font>
                <value>There are no scheduled recordings</value>
                <align>allcenter</align>
            </textarea>

            <buttonlist name="nextrecording" from="currentrecording">
                <area>20,380,1240,120</area>
            </buttonlist>

            <imagetype name="horizon_bottom">
                <position>265,510</position>
                <filename>ui/horizon.png</filename>
                <alpha>100</alpha>
            </imagetype>

            <!--
                scheduled recordings conflict warning
            -->
            <textarea name="conflictwarning">
                <area>20,610,1240,30</area>
                <font>warning</font>
                <align>hcenter</align>
                <value>WARNING: There are conflicting scheduled recordings!</value>
            </textarea>
        </group>
    </window>

</mythuitheme>

