<?xml version="1.0" encoding="UTF-8" ?>

<mythuitheme>

    <window name="iconimport">

        <!-- Optional Items -->

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Icon Downloader</value>
        </textarea>

        <shape name="infobg" from="basegreenbg">
            <area>10,455,780,140</area>
            <cornerradius>6</cornerradius>
        </shape>

        <shape name="iconbg" from="infobg">
            <area>15,45,770,405</area>
        </shape>

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

        <!-- Required Items -->

        <buttonlist name="icons">
            <area>15,85,770,365</area>
            <buttonarea>5,0,765,365</buttonarea>
            <layout>grid</layout>
            <spacing>5</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,250,60</area>
                    <shape name="foundbg" from="basegreenbg">
                        <area>0,0,250,60</area>
                        <cornerradius>6</cornerradius>
                    </shape>
                    <imagetype name="icon">
                        <area>0,5,80,50</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>100,5,140,50</area>
                        <align>allcenter</align>
                        <multiline>yes</multiline>
                        <font>lgreensmall</font>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <textarea name="buttontext">
                        <font>dgreensmall</font>
                    </textarea>
                </state>
                <state name="selectedinactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>700,335</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>shared/uparrow_off.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>shared/uparrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>740,336</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>shared/downarrow_off.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>shared/downarrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>

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

        <textarea name="name" from="basetextarea">
            <area>15,45,770,35</area>
            <font>dgreenmed</font>
            <align>allcenter</align>
        </textarea>

        <button name="search" from="basesmallbutton">
            <position>340,522</position>
            <value>Search</value>
        </button>

        <button name="skip" from="basesmallbutton">
            <position>575,522</position>
            <value>Skip</value>
        </button>

        <textarea name="status" from="basetextarea">
            <area>15,470,770,35</area>
            <align>allcenter</align>
            <font>dgreenmed</font>
        </textarea>

    </window>

    <window name="channeloverview">

        <!-- Optional Items -->

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Channel Editor</value>
        </textarea>

        <shape name="infobg" from="basegreenbg">
            <area>10,345,780,250</area>
            <cornerradius>6</cornerradius>
        </shape>

        <textarea name="sortlabel" from="basetextarea">
            <area>15,360,185,35</area>
            <value>Sort Mode:</value>
            <font>dgreenmed</font>
            <align>right,vcenter</align>
        </textarea>

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

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

        <!-- Required Items -->

        <buttonlist name="sorting" from="basewideselector">
            <position>210,360</position>
        </buttonlist>

        <buttonlist name="source" from="basewideselector">
            <position>210,415</position>
        </buttonlist>

        <buttonlist name="channels">
            <area>10,45,780,330</area>
            <spacing>2</spacing>
            <buttonarea>0,0,780,330</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <shape name="activebg" from="basegreenbg">
                        <area>0,0,780,35</area>
                        <cornerradius>5</cornerradius>
                    </shape>
                    <imagetype name="icon">
                        <area>10,0,25,35</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <statetype name="status">
                        <position>30,0</position>
                    </statetype>
                    <textarea name="channum" from="basetextarea">
                        <area>60,1,50,35</area>
                        <font>lgreen</font>
                        <align>left,vcenter</align>
                    </textarea>
                    <textarea name="callsign" from="channum">
                        <area>120,1,200,35</area>
                    </textarea>
                    <textarea name="name" from="channum">
                        <area>330,1,300,35</area>
                    </textarea>
                    <textarea name="sourcename" from="channum">
                        <area>635,1,135,35</area>
                        <align>right</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="icon">
                        <area>10,0,30,35</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <textarea name="channum" from="basetextarea">
                        <area>60,1,50,35</area>
                        <font>dgreenmed</font>
                        <align>left,vcenter</align>
                    </textarea>
                    <textarea name="callsign" from="channum">
                        <area>120,1,200,35</area>
                    </textarea>
                    <textarea name="name" from="channum">
                        <area>330,1,300,35</area>
                    </textarea>
                    <textarea name="sourcename" from="channum">
                        <area>635,1,135,35</area>
                        <align>right</align>
                    </textarea>
                </state>
                <state name="selectedinactive" from="active" />
            </statetype>
        </buttonlist>

        <button name="delete" from="basesmallbutton">
            <position>605,455</position>
            <value>Delete</value>
        </button>

        <button name="scan" from="basemedbutton">
            <position>15,520</position>
            <value>Channel Scan</value>
        </button>

        <button name="importicons" from="basemedbutton">
            <position>285,520</position>
            <value>Icon Download</value>
        </button>

        <button name="edittransport" from="basemedbutton">
            <position>550,520</position>
            <value>Edit Transports</value>
        </button>

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

    </window>

    <window name="osdmenueditor">

        <!-- Optional Items -->

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="header" from="baseheading">
            <value>OSD Menu Editor</value>
        </textarea>

        <shape name="locbg" from="basegreenbg">
            <area>10,45,780,85</area>
            <cornerradius>6</cornerradius>
        </shape>

        <textarea name="categorylabel">
            <area>15,45,770,35</area>
            <font>dgreenmed</font>
            <value>State</value>
            <align>allcenter</align>
        </textarea>

        <shape name="infobg" from="basegreenbg">
            <area>10,145,780,450</area>
            <cornerradius>8</cornerradius>
        </shape>

        <textarea name="label">
            <area>45,160,130,30</area>
            <font>dgreen</font>
            <value>[x]</value>
        </textarea>

        <textarea name="namelabel" from="label">
            <area>15,160,770,30</area>
            <align>allcenter</align>
            <font>dgreenlarge</font>
            <value>Menu Item</value>
        </textarea>

        <shape name="line0">
            <area>18,190,383,1</area>
            <fill style="gradient">
                <gradient start="#bed996" end="#106732" alpha="255" direction="horizontal" />
            </fill>
        </shape>

        <shape name="line0b">
            <area>392,190,382,1</area>
            <fill style="gradient">
                <gradient start="#106732" end="#bed996" alpha="255" direction="horizontal" />
            </fill>
        </shape>

        <!-- Required Items -->

        <buttonlist name="states">
            <area>15,80,770,35</area>
            <layout>horizontal</layout>
            <spacing>3</spacing>
            <buttonarea>22,0,770,40</buttonarea>
            <statetype name="buttonitem">
                <area>0,0,175,40</area>
                <state name="active">
                    <shape name="buttonbg" from="basegreenbg">
                        <area>0,0,180,35</area>
                        <cornerradius>4</cornerradius>
                        <line color="#106732" width="1" />
                    </shape>
                    <textarea name="buttontext" from="basetextarea">
                        <area>0,0,180,35</area>
                        <font>dgreenmed</font>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <shape name="activemask" from="basefadebg">
                    <area>0,0,180,35</area>
                    <fill color="#000000" alpha="45" />
                    <type>roundbox</type>
                    <cornerradius>4</cornerradius>
                </shape>
                <state name="selectedactive" from="active" />
                <state name="selectedinactive" from="active" />
            </statetype>
            <statetype name="downscrollarrow">
                <position>752,7</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>shared/rightarrow_off.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>shared/rightarrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>0,7</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>shared/leftarrow_off.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>shared/leftarrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>

        <buttonlist name="categories">
            <area>40,200,720,310</area>
            <spacing>4</spacing>
            <layout>vertical</layout>
            <showarrow>no</showarrow>
            <buttonarea>0,0,720,310</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <statetype name="buttoncheck">
                        <state type="off">
                            <imagetype name="checkoff">
                                <filename>shared/checkbox_selected.png</filename>
                            </imagetype>
                        </state>
                        <state type="half">
                            <imagetype name="checkhalf">
                                <filename>shared/checkbox_disabled.png</filename>
                            </imagetype>
                        </state>
                        <state type="full">
                            <imagetype name="checkoff">
                                <filename>shared/checkbox_selected.png</filename>
                            </imagetype>
                            <imagetype name="checkfull">
                                <filename>shared/checkmark.png</filename>
                            </imagetype>
                        </state>
                    </statetype>
                    <textarea name="buttontext">
                        <area>40,0,720,30</area>
                        <font>dgreenmed</font>
                        <align>left,vcenter</align>
                    </textarea>
                    <textarea name="url">
                        <area>295,0,400,30</area>
                        <align>left,vcenter</align>
                        <font>dgreen</font>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <textarea name="name">
                        <font>dgreenmed</font>
                    </textarea>
                    <textarea name="url">
                        <font>dgreenmed</font>
                    </textarea>
                    <shape name="selector" from="basegreenbg">
                        <area>32,0,687,30</area>
                        <cornerradius>4</cornerradius>
                        <fill alpha="1" />
                        <line color="#106732" width="1" />
                    </shape>
                </state>
                <state name="selectedinactive" from="active" />
            </statetype>
            <statetype name="upscrollarrow">
                <position>650,345</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>690,345</position>
            </statetype>
        </buttonlist>

        <button name="done" from="basesmallbutton">
            <position>330,530</position>
            <value>Done</value>
        </button>

    </window>

</mythuitheme>
