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

    <window name="watchrecordings">

        <textarea name="heading" from="baseheading">
            <value>Watch Recordings</value>
        </textarea>

        <imagetype name="background" from="basebackground2" />

        <buttonlist name="groups" from="basebuttonlist">
            <area>55,75,285,285</area>
            <scrollstyle>center</scrollstyle>
            <wrapstyle>items</wrapstyle>
            <spacing>10</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext">
                        <case>capitaliseall</case>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedinactive" from="active" />
                <state name="selectedactive" from="active" />
            </statetype>
        </buttonlist>

        <buttonlist name="recordings" from="basebuttonlist">
            <area>397,75,825,285</area>
            <spacing>10</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,825,30</area>
                    <textarea name="titlesubtitle" from="buttontext">
                        <area>30,2,590,25</area>
                    </textarea>
                    <textarea name="shortdate" from="titlesubtitle">
                        <area>610,2,120,25</area>
                        <align>right</align>
                    </textarea>
                    <textarea name="starttime" from="shortdate">
                        <area>730,2,95,25</area>
                        <align>hcenter</align>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedinactive" from="active" />
                <state name="selectedactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>430,0</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>430,275</position>
            </statetype>
        </buttonlist>

        <statetype name="autoexpire">
            <position>917,415</position>
            <state name="no">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/autoexpire.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="commflagged" from="autoexpire">
            <position>955,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/commflagged.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="bookmark" from="autoexpire">
            <position>993,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/bookmark.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="cutlist" from="autoexpire">
            <position>1031,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/cutlist.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="audioprops">
            <position>1069,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="stereo">
                <imagetype name="stereo">
                    <filename>type/stereo.png</filename>
                </imagetype>
            </state>
            <state name="surround">
                <imagetype name="surround">
                    <filename>type/surround.png</filename>
                </imagetype>
            </state>
            <state name="dolby">
                <imagetype name="dolby">
                    <filename>type/dd.png</filename>
                </imagetype>
            </state>
            <state name="mono">
                <imagetype name="mono">
                    <filename>type/mono.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="subtitletypes">
            <position>1107,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="cc">
                <imagetype name="cc">
                    <filename>type/cc.png</filename>
                </imagetype>
            </state>
            <state name="subtitles">
                <imagetype name="subtitles">
                    <filename>type/subtitles.png</filename>
                </imagetype>
            </state>
            <state name="onscreensub">
                <imagetype name="onscreensub">
                    <filename>type/subtitled.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="videoprops">
            <position>1145,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="hdtv">
                <imagetype name="hdtv">
                    <filename>type/hd.png</filename>
                </imagetype>
            </state>
            <state name="widescreen">
                <imagetype name="widescreen">
                    <filename>type/wide.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="watched" from="autoexpire">
            <position>1183,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/watched.png</filename>
                </imagetype>
            </state>
        </statetype>

        <textarea name="title">
            <area>85,404,800,35</area>
            <font>extralargebold</font>
        </textarea>

        <textarea name="subtitle">
            <area>85,439,800,30</area>
            <font>mediumbold</font>
            <multiline>yes</multiline>
        </textarea>

        <textarea name="channel">
            <area>665,474,250,30</area>
            <font>smallgrey</font>
            <align>right</align>
        </textarea>

        <textarea name="timedate">
            <area>85,474,540,30</area>
            <font>smallgrey</font>
        </textarea>

        <textarea name="description">
            <area>85,501,830,140</area>
            <font>medium</font>
            <multiline>yes</multiline>
            <cutdown>yes</cutdown>
            <template>%YEARSTARS| %%DESCRIPTION%% |LONGREPEAT%</template>
        </textarea>

        <imagetype name="video_background">
            <position>927,460</position>
            <filename>backgrounds/livevid_background.png</filename>
        </imagetype>

        <imagetype name="preview">
            <area>940,470,260,146</area>
            <preserveaspect>true</preserveaspect>
        </imagetype>

        <textarea name="norecordings">
            <area>85,501,830,140</area>
            <font>medium</font>
            <value>No recordings exist</value>
            <multiline>yes</multiline>
            <align>allcenter</align>
        </textarea>
    </window>

    <window name="changeview">
        <area>-1,-1,500,500</area>
        <imagetype name="backimg">
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>12,35,470,30</area>
            <align>allcenter</align>
            <font>medium</font>
            <value>Change View</value>
        </textarea>

        <checkbox name="titles" from="basecheckbox">
            <position>90,100</position>
        </checkbox>

        <textarea name="titlelabel" from="basetextarea">
            <area>140,100,300,30</area>
            <value>Show Titles</value>
        </textarea>

        <checkbox name="categories" from="basecheckbox">
            <position>90,150</position>
        </checkbox>

        <textarea name="catlabel" from="titlelabel">
            <position>140,150</position>
            <value>Show Categories</value>
        </textarea>

        <checkbox name="recgroups" from="basecheckbox">
            <position>90,200</position>
        </checkbox>

        <textarea name="grouplabel" from="titlelabel">
            <position>140,200</position>
            <value>Show Recording Groups</value>
        </textarea>

        <checkbox name="watchlist" from="basecheckbox">
            <position>90,250</position>
        </checkbox>

        <textarea name="watchlabel" from="titlelabel">
            <position>140,250</position>
            <value>Show Watch List</value>
        </textarea>

        <checkbox name="searches" from="basecheckbox">
            <position>90,300</position>
        </checkbox>

        <textarea name="searchlabel" from="titlelabel">
            <position>140,300</position>
            <value>Show Searches</value>
        </textarea>

        <checkbox name="livetv" from="basecheckbox">
            <position>90,350</position>
        </checkbox>

        <textarea name="livelabel" from="titlelabel">
            <position>140,350</position>
            <value>Show LiveTV</value>
        </textarea>

        <button name="save" from="basebutton">
            <position>315,435</position>
            <value>Save</value>
        </button>
    </window>

    <!-- Exact copy of watchrecordings,
         except for pagetitle, starttime => filesize_str,
         and added usedbar and freereport -->
    <window name="deleterecordings">

        <textarea name="heading" from="baseheading">
            <value>Delete Recordings</value>
        </textarea>

        <imagetype name="background" from="basebackground2" />

        <buttonlist name="groups" from="basebuttonlist">
            <area>55,75,285,285</area>
            <scrollstyle>center</scrollstyle>
            <wrapstyle>items</wrapstyle>
            <spacing>10</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext">
                        <case>capitaliseall</case>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedinactive" from="active" />
                <state name="selectedactive" from="active" />
            </statetype>
        </buttonlist>

        <buttonlist name="recordings" from="basebuttonlist">
            <area>397,75,825,285</area>
            <spacing>10</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,825,30</area>
                    <textarea name="titlesubtitle" from="buttontext">
                        <area>30,2,590,25</area>
                    </textarea>
                    <textarea name="shortdate" from="titlesubtitle">
                        <area>610,2,120,25</area>
                        <align>right</align>
                    </textarea>
                    <textarea name="filesize_str" from="shortdate">
                        <area>730,2,95,25</area>
                        <align>hcenter</align>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedinactive" from="active" />
                <state name="selectedactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>430,0</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>430,275</position>
            </statetype>
        </buttonlist>

        <statetype name="autoexpire">
            <position>917,415</position>
            <state name="no">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/autoexpire.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="commflagged" from="autoexpire">
            <position>955,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/commflagged.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="bookmark" from="autoexpire">
            <position>993,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/bookmark.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="cutlist" from="autoexpire">
            <position>1031,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/cutlist.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="audioprops">
            <position>1069,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="stereo">
                <imagetype name="stereo">
                    <filename>type/stereo.png</filename>
                </imagetype>
            </state>
            <state name="surround">
                <imagetype name="surround">
                    <filename>type/surround.png</filename>
                </imagetype>
            </state>
            <state name="dolby">
                <imagetype name="dolby">
                    <filename>type/dd.png</filename>
                </imagetype>
            </state>
            <state name="mono">
                <imagetype name="mono">
                    <filename>type/mono.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="subtitletypes">
            <position>1107,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="cc">
                <imagetype name="cc">
                    <filename>type/cc.png</filename>
                </imagetype>
            </state>
            <state name="subtitles">
                <imagetype name="subtitles">
                    <filename>type/subtitles.png</filename>
                </imagetype>
            </state>
            <state name="onscreensub">
                <imagetype name="onscreensub">
                    <filename>type/subtitled.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="videoprops">
            <position>1145,415</position>
            <state name="default">
                <imagetype name="blank">
                    <filename>type/blank.png</filename>
                </imagetype>
            </state>
            <state name="hdtv">
                <imagetype name="hdtv">
                    <filename>type/hd.png</filename>
                </imagetype>
            </state>
            <state name="widescreen">
                <imagetype name="widescreen">
                    <filename>type/wide.png</filename>
                </imagetype>
            </state>
        </statetype>

        <statetype name="watched" from="autoexpire">
            <position>1183,415</position>
            <state name="yes">
                <imagetype name="on">
                    <filename>type/watched.png</filename>
                </imagetype>
            </state>
        </statetype>

        <textarea name="title">
            <area>85,404,800,35</area>
            <font>extralargebold</font>
        </textarea>

        <textarea name="subtitle">
            <area>85,439,800,30</area>
            <font>mediumbold</font>
            <multiline>yes</multiline>
        </textarea>

        <textarea name="channel">
            <area>665,474,250,30</area>
            <font>smallgrey</font>
            <align>right</align>
        </textarea>

        <textarea name="timedate">
            <area>85,474,540,30</area>
            <font>smallgrey</font>
        </textarea>

        <textarea name="description">
            <area>85,501,830,140</area>
            <font>medium</font>
            <multiline>yes</multiline>
            <cutdown>yes</cutdown>
            <template>%YEARSTARS| %%DESCRIPTION%% |LONGREPEAT%</template>
        </textarea>

        <imagetype name="video_background">
            <position>927,460</position>
            <filename>backgrounds/livevid_background.png</filename>
        </imagetype>

        <imagetype name="preview">
            <area>940,470,260,146</area>
            <preserveaspect>true</preserveaspect>
        </imagetype>

        <textarea name="norecordings">
            <area>85,501,830,140</area>
            <font>medium</font>
            <value>No recordings exist</value>
            <multiline>yes</multiline>
            <align>allcenter</align>
        </textarea>

        <!-- Copy of baseprogressbar from base.xml with changed fill image,
             so that its like a "temperature" gauge, where full=danger=red -->
        <progressbar name="usedbar">
            <area>700,664,536,38</area>
            <layout>horizontal</layout>
            <style>reveal</style>
            <imagetype name="background">
                <filename>progressbar_background.png</filename>
            </imagetype>
            <imagetype name="progressimage">
                <area>0,0,100%,100%</area>
                <filename>progressbar_fill2.png</filename>
            </imagetype>
        </progressbar>

        <textarea name="freereport">
            <area>710,668,325,40</area>
            <font>large</font>
        </textarea>
    </window>

    <window name="groupselector">
        <area>402,176,476,368</area>
        <imagetype name="backimg">
            <filename>backgrounds/popup_background.png</filename>
        </imagetype>
        <textarea name="label" from="basetextarea">
            <area>15,8,440,95</area>
            <align>allcenter</align>
            <multiline>yes</multiline>
        </textarea>

        <buttonlist name="groups" from="basebuttonlist">
            <area>10,114,440,240</area>
            <buttonarea>0,0,440,240</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext" from="basetextarea">
                        <area>30,0,375,30</area>
                        <align>hcenter</align>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedactive" from="active" />
                <state name="selectedinactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>423,0</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>423,223</position>
            </statetype>
        </buttonlist>
    </window>

    <window name="passwordchanger">
        <area>402,176,476,368</area>
        <imagetype name="backimg">
            <filename>backgrounds/popup_background.png</filename>
        </imagetype>
        <textarea name="label" from="basetextarea">
            <area>15,8,440,95</area>
            <align>allcenter</align>
            <multiline>yes</multiline>
            <value>Change Recording Group Password</value>
        </textarea>

        <textarea name="oldpasslabel" from="basetextarea">
            <area>10,120,440,30</area>
            <value>Old Password</value>
            <align>hcenter</align>
        </textarea>

        <textedit name="oldpassword" from="basetextedit">
            <position>45,150</position>
        </textedit>

        <textarea name="newpasslabel" from="oldpasslabel">
            <position>10,200</position>
            <value>New Password</value>
        </textarea>

        <textedit name="newpassword" from="basetextedit">
            <position>45,230</position>
        </textedit>

        <button name="ok" from="basebutton">
            <position>135,290</position>
            <value>OK</value>
        </button>
    </window>

    <window name="editmetadata">
        <area>402,176,476,368</area>
        <imagetype name="backimg">
            <filename>backgrounds/popup_background.png</filename>
        </imagetype>
        <textarea name="label" from="basetextarea">
            <area>15,8,440,95</area>
            <align>allcenter</align>
            <multiline>yes</multiline>
            <value>Edit Recording Metadata</value>
        </textarea>

        <textarea name="titlelabel" from="basetextarea">
            <area>10,120,440,30</area>
            <value>Title</value>
            <align>hcenter</align>
        </textarea>

        <textedit name="title" from="basetextedit">
            <position>45,150</position>
        </textedit>

        <textarea name="subtitlelabel" from="oldpasslabel">
            <position>10,200</position>
            <value>Subtitle</value>
        </textarea>

        <textedit name="subtitle" from="basetextedit">
            <position>45,230</position>
        </textedit>

        <button name="ok" from="basebutton">
            <position>135,290</position>
            <value>OK</value>
        </button>
    </window>

    <!-- Unported below this line -->

    <window name="iconhelp">
        <area>-1,-1,700,500</area>

        <imagetype name="backimg">
            <area>0,0,700,500</area>
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>0,0,700,50</area>
            <value>Status Icons</value>
            <font>basemedium</font>
            <align>center</align>
        </textarea>

        <buttonlist name="iconlist">
            <area>20,70,660,450</area>
            <layout>vertical</layout>
            <spacing>4</spacing>
            <wrapstyle>selection</wrapstyle>
            <buttonarea>0,0,660,410</buttonarea>
            <statetype name="buttonitem">
                <area>0,0,660,40</area>
                <state name="active">
                    <statetype name="icons">
                        <position>5,5</position>
                        <state name="commflagged">
                            <imagetype name="statusimage">
                                <filename>commflagged.png</filename>
                            </imagetype>
                        </state>
                        <state name="cutlist">
                            <imagetype name="statusimage">
                                <filename>cutlist.png</filename>
                            </imagetype>
                        </state>
                        <state name="autoexpire">
                            <imagetype name="statusimage">
                                <filename>autoexpire.png</filename>
                            </imagetype>
                        </state>
                        <state name="processing">
                            <imagetype name="statusimage">
                                <filename>processing.png</filename>
                            </imagetype>
                        </state>
                        <state name="bookmark">
                            <imagetype name="statusimage">
                                <filename>bookmark.png</filename>
                            </imagetype>
                        </state>
                        <!--
                        <state name="inuse">
                            <imagetype name="statusimage">
                                <filename>inuse.png</filename>
                            </imagetype>
                        </state>
                        <state name="transcoded">
                            <imagetype name="statusimage">
                                <filename>transcoded.png</filename>
                            </imagetype>
                        </state>
                        -->
                        <state name="mono">
                            <imagetype name="statusimage">
                                <filename>mono.png</filename>
                            </imagetype>
                        </state>
                        <state name="stereo">
                            <imagetype name="statusimage">
                                <filename>stereo.png</filename>
                            </imagetype>
                        </state>
                        <state name="surround">
                            <imagetype name="statusimage">
                                <filename>surround.png</filename>
                            </imagetype>
                        </state>
                        <state name="dolby">
                            <imagetype name="statusimage">
                                <filename>dd.png</filename>
                            </imagetype>
                        </state>
                        <state name="cc">
                            <imagetype name="statusimage">
                                <filename>cc.png</filename>
                            </imagetype>
                        </state>
                        <state name="subtitles">
                            <imagetype name="statusimage">
                                <filename>subs.png</filename>
                            </imagetype>
                        </state>
                        <state name="onscreensub">
                            <imagetype name="statusimage">
                                <filename>subs_onscreen.png</filename>
                            </imagetype>
                        </state>
                        <state name="hdtv">
                            <imagetype name="statusimage">
                                <filename>hd.png</filename>
                            </imagetype>
                        </state>
                        <state name="hd720">
                            <imagetype name="statusimage">
                                <filename>hd720.png</filename>
                            </imagetype>
                        </state>
                        <state name="hd1080">
                            <imagetype name="statusimage">
                                <filename>hd1080.png</filename>
                            </imagetype>
                        </state>
                        <state name="avchd">
                            <imagetype name="statusimage">
                                <filename>avchd.png</filename>
                            </imagetype>
                        </state>
                        <state name="widescreen">
                            <imagetype name="statusimage">
                                <filename>wide.png</filename>
                            </imagetype>
                        </state>
                        <state name="watched">
                            <imagetype name="statusimage">
                                <filename>watched.png</filename>
                            </imagetype>
                        </state>
                        <!--
                        <state name="preserved">
                            <imagetype name="statusimage">
                                <filename>preserved.png</filename>
                            </imagetype>
                        </state>
                        -->
                    </statetype>
                    <textarea name="buttontext">
                        <area>53,1,600,40</area>
                        <multiline>yes</multiline>
                        <font>basesmall</font>
                        <align>vcenter</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <shape name="selectbar">
                        <area>0,0,650,40</area>
                        <type>roundbox</type>
                        <line color="#999999" alpha="255" width="2" />
                        <cornerradius>13</cornerradius>
                    </shape>
                </state>
                <state name="selectedinactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>590,395</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>lb-uparrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>lb-uparrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>620,395</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>lb-dnarrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>lb-dnarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>
    </window>


</mythuitheme>
