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

    <window name="iconimport">
        <textarea name="name" from="basetextarea">
            <area>30,15,1220,30</area>
            <font>basemedium</font>
            <align>hcenter</align>
        </textarea>

        <buttonlist name="icons">
            <area>30,60,1240,555</area>
            <buttonarea>0,0,1240,520</buttonarea>
            <layout>grid</layout>
            <spacing>5</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,300,60</area>
                    <shape name="background">
                        <area>0,0,300,60</area>
                        <type>roundbox</type>
                        <cornerradius>4</cornerradius>
                        <fill style="gradient">
                            <gradient start="#505050" end="#000000" alpha="200" direction="vertical" />
                        </fill>
                    </shape>
                    <imagetype name="icon">
                        <area>0,5,80,50</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>90,5,200,50</area>
                        <align>allcenter</align>
                        <multiline>yes</multiline>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <shape name="background">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="255" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="selectedactive">
                    <shape name="background">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="175" />
                        </fill>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>1140,530</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>1180,530</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>

        <textarea name="status" from="basetextarea">
            <area>30,550,600,25</area>
        </textarea>

        <textarea name="manuallabel" from="basetextarea">
            <area>30,605,300,25</area>
            <value>Search terms:</value>
        </textarea>

        <textedit name="manualsearch" from="basetextedit">
            <position>30,635</position>
        </textedit>

        <button name="search" from="basebutton">
            <position>440,638</position>
            <value>Search</value>
        </button>

        <button name="skip" from="basebutton">
            <position>620,638</position>
            <value>Skip</value>
        </button>

    </window>

    <window name="channeloverview">

        <textarea name="pagetitle">
            <area>20,5,570,40</area>
            <font>baselarge</font>
            <value>Channel Editor</value>
        </textarea>

        <shape name="list_background" from="basebackground">
            <area>15,40,1190,360</area>
        </shape>

        <shape name="channum_column">
            <area>51,42,80,356</area>
            <fill color="#333333" alpha="180" />
        </shape>

        <shape name="sourcename_background">
            <area>855,42,290,356</area>
            <fill color="#333333" alpha="180" />
        </shape>

        <buttonlist name="channels" from="basebuttonlist2">
            <position>19,50</position>
            <statetype name="buttonitem">
                <state name="active">
                    <imagetype name="icon">
                        <area>1125,0,60,25</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <textarea name="channum" from="buttontext">
                        <area>32,1,80,24</area>
                        <align>center</align>
                    </textarea>
                    <textarea name="name" from="buttontext">
                        <area>120,1,740,24</area>
                    </textarea>
                    <textarea name="sourcename" from="name">
                        <area>860,1,275,24</area>
                    </textarea>
                </state>
                <state name="selectedactive" from="active" />
                <state name="selectedinactive" from="active" />
            </statetype>
        </buttonlist>

        <textarea name="sortlabel" from="basetextarea">
            <area>30,420,220,30</area>
            <value>Sort Mode:</value>
            <font>basemedium</font>
        </textarea>

        <buttonlist name="sorting" from="basewideselector">
            <position>260,415</position>
        </buttonlist>

        <textarea name="sourcelabel" from="sortlabel">
            <position>30,480</position>
            <value>Video Source:</value>
        </textarea>

        <buttonlist name="source" from="basewideselector">
            <position>260,475</position>
        </buttonlist>

        <button name="delete" from="basebutton">
            <position>760,475</position>
            <value>Delete</value>
        </button>

        <textarea name="nochannumlabel" from="basetextarea">
            <area>70,537,500,60</area>
            <value>Hide Channels without channel number.</value>
        </textarea>

        <checkbox name="nochannum" from="basecheckbox">
            <position>30,535</position>
        </checkbox>

        <button name="scan" from="basewidebutton">
            <position>90,605</position>
            <value>Channel Scan</value>
        </button>

        <button name="importicons" from="basewidebutton">
            <position>490,605</position>
            <value>Icon Download</value>
        </button>

        <button name="edittransport" from="basewidebutton">
            <position>890,605</position>
            <value>Edit Transports</value>
        </button>

    </window>

    <window name="languageselection">

        <textarea name="countrylabel">
            <font>baselarge</font>
            <area>60,20,510,40</area>
            <value>Country</value>
            <align>allcenter</align>
        </textarea>

        <shape name="countrybackground" from="basebackground">
            <area>40,65,550,550</area>
        </shape>

        <buttonlist name="countries">
            <area>50,75,530,530</area>
            <scrollstyle>center</scrollstyle>
            <spacing>2</spacing>
            <wrapstyle>selection</wrapstyle>
            <buttonarea>0,0,100%,97%</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,55</area>
                    <shape name="buttonbackground">
                        <area>0,0,100%,100%</area>
                        <fill style="gradient">
                            <gradient start="#505050" end="#000000" alpha="200" direction="vertical"  />
                        </fill>
                    </shape>
                    <imagetype name="buttonimage">
                        <area>5,7,60,40</area>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>70,0,90%,30</area>
                        <font>basemedium</font>
                        <cutdown>yes</cutdown>
                        <align>left,vcenter</align>
                    </textarea>
                    <textarea name="nativecountry">
                        <area>70,30,90%,20</area>
                        <font>basesmallgrey</font>
                        <cutdown>yes</cutdown>
                        <align>left,vcenter</align>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="255" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="100" />
                        </fill>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>10,97%</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>40,97%</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>
            <helptext>Select the country in which you currently reside</helptext>
        </buttonlist>

        <textarea name="languagelabel" from="countrylabel">
            <position>680,20</position>
            <value>Language</value>
        </textarea>

        <shape name="languagebackground" from="basebackground">
            <area>660,65,550,550</area>
        </shape>

        <buttonlist name="languages" from="countries">
            <area>670,75,530,530</area>
            <spacing>2</spacing>
            <scrollstyle>center</scrollstyle>
            <wrapstyle>selection</wrapstyle>
            <buttonarea>0,0,100%,97%</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,55</area>
                    <textarea name="buttontext">
                        <position>10,0</position>
                    </textarea>
                    <textarea name="language" from="nativecountry">
                        <position>10,30</position>
                    </textarea>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="255" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="100" />
                        </fill>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>10,97%</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>40,97%</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>
            <helptext>Select your preferred language</helptext>
        </buttonlist>

        <textarea name="helptext" from="basetextarea">
            <area>200,630,880,60</area>
            <align>allcenter</align>
            <multiline>true</multiline>
        </textarea>

        <button name="save" from="basebutton">
            <position>990,630</position>
            <value>Save</value>
        </button>

        <button name="cancel" from="basebutton">
            <position>40,630</position>
            <value>Cancel</value>
        </button>

    </window>

    <window name="grabbersettings">

        <textarea name="title" from="basetextarea">
            <area>260,40,760,40</area>
            <value>Artwork and Metadata Sources</value>
            <align>hcenter,vcenter</align>
            <font>baselarge</font>
        </textarea>

        <textarea name="helptext" from="basetextarea">
            <area>270,350,740,280</area>
            <multiline>yes</multiline>
            <font>basesmall</font>
            <align>allcenter</align>
        </textarea>

        <textarea name="moviegrabber_text" from="basetextarea">
            <area>75,173,350,30</area>
            <font>basesmall</font>
            <value>Movie Metadata Source:</value>
        </textarea>

        <textarea name="tvgrabber_text" from="basetextarea">
            <area>75,238,350,30</area>
            <font>basesmall</font>
            <value>Television Metadata Source:</value>
        </textarea>

        <textarea name="gamegrabber_text" from="basetextarea">
            <area>75,303,350,30</area>
            <font>basesmall</font>
            <value>Game Metadata Source:</value>
        </textarea>

        <textarea name="dailyupdates_text" from="basetextarea">
            <area>430,365,600,40</area>
            <value>Perform daily updates of recording artwork</value>
            <align>left,vcenter</align>
        </textarea>

    <!--Widgets-->

        <buttonlist name="moviegrabber" from="basewideselector">
            <position>465,167</position>
        </buttonlist>

        <buttonlist name="tvgrabber" from="basewideselector">
            <position>465,232</position>
        </buttonlist>

        <buttonlist name="gamegrabber" from="basewideselector">
            <position>465,297</position>
        </buttonlist>

        <checkbox name="dailyupdates" from="basecheckbox">
            <position>390,370</position>
        </checkbox>

        <button name="cancel" from="basebutton">
            <position>418,630</position>
            <value>Cancel</value>
        </button>

        <button name="ok" from="basebutton">
            <position>665,630</position>
            <value>OK</value>
        </button>

    </window>

    <window name="generalwizard">

        <textarea name="title" from="basetextarea">
            <area>30,10,570,40</area>
            <font>baselarge</font>
            <value>MythTV Configuration Wizard</value>
        </textarea>

        <textarea name="helptext" from="basetextarea">
            <area>100,500,1080,100</area>
            <multiline>yes</multiline>
            <font>basesmall</font>
            <align>top,hcenter</align>
        </textarea>

    <!--Widgets-->

        <button name="submit" from="baseverywidebutton">
            <position>250,167</position>
            <value>Submit your hardware profile</value>
        </button>

        <button name="view" from="baseverywidebutton">
            <position>250,232</position>
            <value>View your hardware profile</value>
        </button>

        <button name="delete" from="baseverywidebutton">
            <position>250,297</position>
            <value>Delete your hardware profile</value>
        </button>

        <button name="cancel" from="basebutton">
            <position>250,644</position>
            <value>Cancel</value>
        </button>

        <button name="next" from="basebutton">
            <position>880,644</position>
            <value>Next</value>
        </button>

    </window>

    <window name="audiowizard">

        <textarea name="title" from="basetextarea">
            <area>30,10,570,40</area>
            <font>baselarge</font>
            <value>Audio Configuration</value>
        </textarea>

        <textarea name="helptext" from="basetextarea">
            <area>100,500,1080,100</area>
            <multiline>yes</multiline>
            <font>basesmall</font>
            <align>top,hcenter</align>
        </textarea>

        <textarea name="auddev_text" from="basetextarea">
            <area>40,103,300,30</area>
            <font>basesmall</font>
            <align>right</align>
            <value>Audio Device:</value>
        </textarea>

        <textarea name="ac3_text" from="basetextarea">
            <area>410,155,-20,30</area>
            <font>basesmall</font>
            <value>My audio subsystem supports Dolby Digital</value>
        </textarea>

        <textarea name="dts_text" from="basetextarea">
            <area>410,200,-20,30</area>
            <font>basesmall</font>
            <value>My audio subsystem supports DTS</value>
        </textarea>

        <textarea name="eac3_text" from="basetextarea">
            <area>410,245,-20,30</area>
            <font>basesmall</font>
            <value>My audio subsystem supports E-AC-3</value>
        </textarea>

        <textarea name="truehd_text" from="basetextarea">
            <area>410,290,-20,30</area>
            <font>basesmall</font>
            <value>My audio subsystem supports TrueHD</value>
        </textarea>

        <textarea name="dtshd_text" from="basetextarea">
            <area>410,335,-20,30</area>
            <font>basesmall</font>
            <value>My audio subsystem supports DTS-HD</value>
        </textarea>

        <textarea name="speaktext_text" from="auddev_text">
            <position>40,378</position>
            <value>Number of Speakers:</value>
        </textarea>

    <!--Widgets-->

        <buttonlist name="audiodevices" from="basewideselector">
            <position>360,97</position>
        </buttonlist>

        <checkbox name="ac3check" from="basecheckbox">
            <position>360,152</position>
        </checkbox>

        <checkbox name="dtscheck" from="basecheckbox">
            <position>360,197</position>
        </checkbox>

        <checkbox name="eac3check" from="basecheckbox">
            <position>360,242</position>
        </checkbox>

        <checkbox name="truehdcheck" from="basecheckbox">
            <position>360,287</position>
        </checkbox>

        <checkbox name="dtshdcheck" from="basecheckbox">
            <position>360,332</position>
        </checkbox>

        <buttonlist name="speakers" from="basewideselector">
            <position>360,372</position>
        </buttonlist>

        <button name="testspeakers" from="basewidebutton">
            <position>360,422</position>
        </button>

        <button name="previous" from="basebutton">
            <position>250,644</position>
            <value>Previous</value>
        </button>

        <button name="next" from="basebutton">
            <position>880,644</position>
            <value>Next</value>
        </button>

    </window>

    <window name="videowizard">

        <textarea name="title" from="basetextarea">
            <area>30,10,570,40</area>
            <font>baselarge</font>
            <value>Video Configuration</value>
        </textarea>

        <textarea name="helptext" from="basetextarea">
            <area>100,500,1080,100</area>
            <multiline>yes</multiline>
            <font>basesmall</font>
            <align>top,hcenter</align>
        </textarea>

        <textarea name="prof_text" from="basetextarea">
            <area>40,173,300,30</area>
            <font>basesmall</font>
            <align>right</align>
            <value>Video Playback Profile:</value>
        </textarea>

    <!--Widgets-->

        <buttonlist name="playbackprofiles" from="basewideselector">
            <position>360,167</position>
        </buttonlist>

        <button name="testsd" from="baseverywidebutton">
            <position>360,232</position>
            <value>Test Standard Definition</value>
        </button>

        <button name="testhd" from="baseverywidebutton">
            <position>360,297</position>
            <value>Test High Definition</value>
        </button>

        <button name="previous" from="basebutton">
            <position>250,644</position>
            <value>Previous</value>
        </button>

        <button name="next" from="basebutton">
            <position>880,644</position>
            <value>Finish</value>
        </button>

    </window>

    <window name="backendselection">

        <textarea name="label">
            <font>baselarge</font>
            <area>100,20,1080,30</area>
            <value>MythTV Servers</value>
            <align>allcenter</align>
        </textarea>

        <shape name="listbackground" from="basebackground">
            <area>100,55,1080,410</area>
        </shape>

        <buttonlist name="backends">
            <area>110,65,1060,390</area>
            <spacing>4</spacing>
            <layout>vertical</layout>
            <wrapstyle>selection</wrapstyle>
            <buttonarea>0,0,100%,97%</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,55</area>
                    <shape name="buttonbackground">
                        <area>0,2,100%,100%</area>
                        <fill style="gradient">
                            <gradient start="#505050" end="#000000" alpha="200" direction="vertical"  />
                        </fill>
                    </shape>
                    <textarea name="buttontext">
                        <area>10,2,450,25</area>
                        <font>basemedium</font>
                        <cutdown>yes</cutdown>
                        <align>left,vcenter</align>
                    </textarea>
                    <textarea name="modelname" from="buttontext" /> <!-- Workaround for vanishing buttontext bug -->
                    <textarea name="protocolversion">
                        <area>15,30,300,25</area>
                        <font>basesmallgrey</font>
                        <cutdown>yes</cutdown>
                        <align>left,vcenter</align>
                    </textarea>

                    <textarea name="version">
                        <area>570,2,100,50</area>
                        <font>basesmall</font>
                        <cutdown>yes</cutdown>
                        <align>right,vcenter</align>
                    </textarea>

                    <statetype name="connection">
                        <area>470,2,100,50</area>
                        <state name="good">
                            <area>0,0,100,50</area>
                        </state>
                        <state name="protocolmismatch" from="good">
                            <textarea name="description">
                                <area>0,0,100%,100%</area>
                                <align>hcenter</align>
                                <value>Version Mismatch</value>
                                <font>basesmallred</font>
                                <multiline>yes</multiline>
                            </textarea>
                        </state>
                        <state name="blocked" from="protocolmismatch">
                            <textarea name="description">
                                <value>Firewall</value>
                            </textarea>
                        </state>
                    </statetype>

                    <statetype name="securitypin">
                        <area>1010,10,40,40</area>
                        <state name="yes">
                            <area>0,0,40,40</area>
                            <shape name="pin">
                                <area>0,0,40,40</area>
                                <type>roundbox</type>
                                <cornerradius>6</cornerradius>
                                <fill color="#990000" />
                            </shape>
                            <imagetype name="locked">
                                <position>6,5</position>
                                <filename>shared/secure.png</filename>
                            </imagetype>
                        </state>
                        <state name="no">
                            <area>0,0,40,40</area>
                            <shape name="nopin">
                                <area>0,0,40,40</area>
                                <type>roundbox</type>
                                <cornerradius>6</cornerradius>
                                <fill color="#009900" />
                            </shape>
                            <imagetype name="unlocked">
                                <position>2,5</position>
                                <filename>shared/unsecure.png</filename>
                            </imagetype>
                        </state>
                    </statetype>
                </state>
                <state name="inactive" from="active" />
                <state name="selectedactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="255" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="buttonbackground">
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" alpha="100" />
                        </fill>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>10,96%</position>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>lb-uparrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>40,96%</position>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>lb-dnarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <helptext>Select the server you wish to connect to</helptext>
        </buttonlist>

        <textarea name="helptext" from="basetextarea">
            <area>200,530,880,60</area>
            <align>allcenter</align>
            <multiline>true</multiline>
        </textarea>

        <button name="save" from="basebutton">
            <position>990,630</position>
            <value>Save</value>
        </button>

        <button name="manual" from="basebutton">
            <position>510,630</position>
            <value>Manual</value>
        </button>

        <button name="cancel" from="basebutton">
            <position>40,630</position>
            <value>Cancel</value>
        </button>

    </window>

</mythuitheme>
