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

    <window name="program_info">
        <area>0,480,1280,240</area>

        <imagetype name="background">
            <area>0,0,1280,240</area>
            <filename>osd/background.png</filename>
        </imagetype>

        <textarea name="title">
            <area>185,30,830,38</area>
            <font>extralarge</font>
        </textarea>

        <textarea name="description">
            <multiline>yes</multiline>
            <area>185,105,1054,130</area>
            <font>medium</font>
            <template>%"|SUBTITLE|" %%DESCRIPTION%</template>
        </textarea>

        <textarea name="starttime">
            <area>185,71,880,25</area>
            <font>smallgrey</font>
            <template>(%STARTTIME% - %ENDTIME%)  %LENMINS%</template>
        </textarea>

        <imagetype name="channelicon">
            <area>46,40,120,90</area>
        </imagetype>

        <textarea name="time">
            <area>1034,30,200,40</area>
            <font>medium</font>
            <align>right</align>
        </textarea>

        <textarea name="channum">
            <area>46,155,120,30</area>
            <font>extralarge</font>
            <align>hcenter</align>
        </textarea>

    </window>

    <window name="osd_input">
        <area>0,0,165,60</area>

        <imagetype name="background">
            <area>0,0,165,60</area>
            <filename>osd/chan_background.png</filename>
        </imagetype>

        <textarea name="osd_number_entry">
            <area>20,12,130,30</area>
            <font>medium</font>
            <align>hcenter</align>
        </textarea>
    </window>

    <window name="browse_info">
        <area>0,480,1280,240</area>

        <imagetype name="background">
            <area>0,480,1280,240</area>
            <filename>osd/background.png</filename>
        </imagetype>

        <textarea name="title">
            <area>185,510,830,38</area>
            <font>extralarge</font>
        </textarea>

        <textarea name="description">
            <multiline>yes</multiline>
            <area>185,585,1054,130</area>
            <font>medium</font>
            <template>%"|SUBTITLE|" %%DESCRIPTION%</template>
        </textarea>

        <textarea name="starttime">
            <area>185,551,880,25</area>
            <font>smallgrey</font>
            <template>(%STARTTIME% - %ENDTIME%) %LENMINS%</template>
        </textarea>

        <imagetype name="channelicon">
            <area>46,520,120,90</area>
        </imagetype>

        <textarea name="time">
            <area>1034,510,200,40</area>
            <font>medium</font>
            <align>right</align>
        </textarea>

        <textarea name="channum">
            <area>46,635,120,30</area>
            <font>extralarge</font>
            <align>hcenter</align>
        </textarea>

    </window>

    <window name="osd_status">
        <area>0,535,1280,144</area>

        <imagetype name="background">
            <area>0,0,1280,144</area>
            <filename>osd/edit.png</filename>
        </imagetype>

        <progressbar name="position">
            <area>44,61,1192,30</area>
            <layout>horizontal</layout>
            <style>reveal</style>
            <imagetype name="background">
                <area>0,0,1192,30</area>
                <filename>osd/slider_background.png</filename>
            </imagetype>
            <imagetype name="progressimage">
                <area>0,0,1192,30</area>
                <filename>osd/slider_foreground.png</filename>
            </imagetype>
        </progressbar>

        <imagetype name="progressoverlay">
            <area>41,59,1198,36</area>
            <filename>osd/slider_glass.png</filename>
        </imagetype>

        <textarea name="title">
            <area>60,19,600,40</area>
            <font>extralarge</font>
        </textarea>

        <textarea name="value">
            <area>60,102,1000,60</area>
            <font>small</font>
        </textarea>

        <textarea name="playedtime" from="value">
            <template>%PLAYEDTIME% of %TOTALTIME% %(|REMAININGTIME| remaining)%%(|BEHINDTIME| behind)%</template>
        </textarea>

        <clock name="time">
            <area>900,22,310,40</area>
            <font>small</font>
            <align>right</align>
            <template>%TIME%</template>
        </clock>

    </window>

    <window name="osd_message">
        <area>903,0,377,60</area>
        <imagetype name="background">
            <area>0,0,377,60</area>
            <filename>osd/settings_background.png</filename>
        </imagetype>

        <textarea name="message_text">
            <area>10,12,357,32</area>
            <font>medium</font>
            <align>allcenter</align>
        </textarea>
    </window>

    <window name="channel_editor">

        <imagetype name="background">
            <area>240,94,800,430</area>
            <filename>osd/popup_background.png</filename>
        </imagetype>

        <textarea name="dialog_label">
            <area>254,125,750,40</area>
            <font>medium</font>
            <value>Channel Editor</value>
            <align>hcenter</align>
        </textarea>

        <textarea name="callsign_label">
            <area>305,201,215,40</area>
            <font>medium</font>
            <value>Callsign</value>
            <align>right</align>
        </textarea>

        <textarea name="callsign" from="basetextarea">
            <area>540,201,400,40</area>
            <font>small</font>
        </textarea>

        <textarea name="channum_label" from="callsign_label">
            <position>305,260</position>
            <value>Channel #</value>
        </textarea>

        <textarea name="channum" from="callsign">
            <position>540,260</position>
        </textarea>

        <textarea name="channame_label" from="callsign_label">
            <position>305,316</position>
            <value>Channel Name</value>
        </textarea>

        <textarea name="channame" from="callsign">
            <position>540,316</position>
        </textarea>

        <textarea name="XMLTV_label" from="callsign_label">
            <position>305,375</position>
            <value>XMLTV ID</value>
        </textarea>

        <textarea name="XMLTV" from="callsign">
            <position>540,375</position>
        </textarea>

        <button name="probe_all" from="basebutton">
            <position>420,432</position>
            <value>Probe</value>
        </button>

        <button name="ok" from="basebutton">
            <position>635,432</position>
            <value>OK</value>
        </button>

    </window>

    <window name="osd_program_editor">
        <area>0,535,1280,144</area>

        <imagetype name="background">
            <area>0,0,1280,144</area>
            <filename>osd/edit.png</filename>
        </imagetype>

        <textarea name="edit">
            <area>60,19,100,40</area>
            <font>extralarge</font>
            <value>Edit</value>
        </textarea>

        <editbar name="editbar">
            <area>42,59,1196,36</area>
            <shape name="position">
                <area>0,0,6,100%</area>
                <fill color="#000000" />
            </shape>
            <shape name="keep">
                <area>0,4,100%,28</area>
                <fill color="#0088E8" />
                <type>roundbox</type>
                <cornerradius>13</cornerradius>
            </shape>
            <shape name="cut">
                <area>0,4,100%,28</area>
                <fill color="#00233C" />
                <type>roundbox</type>
                <cornerradius>13</cornerradius>
            </shape>
            <shape name="cuttoright">
                <area>0,2,5,32</area>
                <fill color="#00233C" />
            </shape>
            <shape name="cuttoleft">
                <area>0,2,5,32</area>
                <fill color="#00233C" />
            </shape>
            <shape name="keeptoright">
                <area>0,2,5,32</area>
                <fill color="#0088E8" />
            </shape>
            <shape name="keeptoleft">
                <area>0,2,5,32</area>
                <fill color="#0088E8" />
            </shape>
        </editbar>

        <imagetype name="overlay">
            <area>41,59,1198,36</area>
            <filename>osd/slider_glass.png</filename>
        </imagetype>

        <textarea name="timedisplay">
            <area>60,102,300,60</area>
            <font>small</font>
        </textarea>

        <textarea name="seekamount">
            <area>900,22,300,40</area>
            <font>medium</font>
            <align>right</align>
        </textarea>

    </window>

    <window name="MythPopupBox">
        <area>-1,-1,473,362</area>

        <imagetype name="backimg">
            <area>0,0,473,362</area>
            <filename>backgrounds/popup_background.png</filename>
        </imagetype>

        <textarea name="messagearea">
            <area>15,8,440,95</area>
            <align>allcenter</align>
            <font>small</font>
            <multiline>yes</multiline>
        </textarea>

        <buttonlist name="list">
            <area>10,114,440,240</area>
            <buttonarea>0,10,100%,100%</buttonarea>
            <wrapstyle>selection</wrapstyle>
            <spacing>2</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,90%,30</area>
                    <textarea name="buttontext">
                        <area>30,0,375,30</area>
                        <font>basesmall</font>
                    </textarea>
                    <imagetype name="buttonarrow">
                        <area>405,3,16,21</area>
                        <filename>shared/rightarrow.png</filename>
                    </imagetype>
                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="selectindicator">
                        <area>0,0,24,24</area>
                        <filename>shared/selectbar.png</filename>
                    </imagetype>
                </state>
                <state name="selectedinactive" from="active">
                    <imagetype name="selectindicator">
                        <area>0,0,24,24</area>
                        <filename>shared/inactiveselectbar.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>423,0</position>
                <showempty>yes</showempty>
                <state type="full">
                    <imagetype name="upon">
                        <area>0,0,20,10</area>
                        <filename>shared/uparrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>423,223</position>
                <showempty>yes</showempty>
                <state type="full">
                    <imagetype name="dnon">
                        <area>0,0,20,10</area>
                        <filename>shared/downarrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>
    </window>

</mythuitheme>
