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

    <!-- Base Font Definitions -->
    <fontdef name="basesmall" face="DejaVu Sans">
        <pixelsize>22</pixelsize>
        <color>#FFFFFF</color>
    </fontdef>

    <fontdef name="basemedium" from="basesmall">
        <pixelsize>25</pixelsize>
    </fontdef>

    <fontdef name="baselarge" from="basesmall">
        <pixelsize>28</pixelsize>
        <shadowcolor>#000000</shadowcolor>
        <shadowoffset>4,4</shadowoffset>
        <shadowalpha>64</shadowalpha>
        <weight>bold</weight>
    </fontdef>

    <fontdef name="baseextralarge" from="basesmall">
        <pixelsize>33</pixelsize>
        <shadowcolor>#000000</shadowcolor>
        <shadowoffset>4,4</shadowoffset>
        <shadowalpha>64</shadowalpha>
        <weight>bold</weight>
    </fontdef>

    <!-- Colour variations on base fontdefs -->
    <fontdef name="basesmallgrey" from="basesmall">
        <color>#666666</color>
    </fontdef>

    <fontdef name="basesmallpurple" from="basesmall">
        <color>#9999cc</color>
    </fontdef>

    <fontdef name="basesmallblack" from="basesmall">
        <color>#000000</color>
    </fontdef>

    <fontdef name="basesmallyellow" from="basesmall">
        <color>#FFFF33</color>
    </fontdef>

    <fontdef name="basesmallgreen" from="basesmall">
        <color>#80d400</color>
    </fontdef>

    <fontdef name="basesmallblue" from="basesmall">
        <color>#0492A7</color>
    </fontdef>

    <fontdef name="basesmallred" from="basesmall">
        <color>#800900</color>
    </fontdef>

    <fontdef name="basemediumgrey" from="basemedium">
        <color>#666666</color>
    </fontdef>

    <fontdef name="basemediumgreen" from="basemedium">
        <color>#80d400</color>
    </fontdef>

    <fontdef name="basemediumred" from="basemedium">
        <color>#800900</color>
    </fontdef>

    <fontdef name="basemediumpurple" from="basemedium">
        <color>#9999cc</color>
    </fontdef>

    <!-- Base definition of a shape used as a background on many screens -->
    <shape name="basebackground">
        <area>0,0,10,10</area>
        <type>roundbox</type>
        <fill color="#333333" alpha="255" />
        <line color="#FFFFFF" alpha="255" width="2" />
        <cornerradius>12</cornerradius>
    </shape>

    <!-- Base definition of a shape used as a background to many widgets -->
    <shape name="basewidgetshape">
        <area>0,0,100%,100%</area>
        <type>roundbox</type>
        <cornerradius>4</cornerradius>
        <fill color="#CCCCCC" alpha="120" />
        <line color="#FFFFFF" width="3" />
    </shape>

    <shape name="baseselectedwidgetshape" from="basewidgetshape">
        <fill color="#43b038" alpha="200" />
    </shape>


    <buttonlist name="basebuttonlist">
        <area>0,0,300,250</area>
        <layout>vertical</layout>
        <spacing>5</spacing>
        <wrapstyle>selection</wrapstyle>
        <buttonarea>0,0,100%,97%</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,100%,30</area>
                <shape name="buttonbackground">
                    <area>0,0,100%,100%</area>
                    <fill style="gradient">
                        <gradient start="#505050" end="#000000" alpha="200" direction="vertical"  />
                    </fill>
                </shape>
                <textarea name="buttontext">
                    <area>5,0,85%,30</area>
                    <font>basesmall</font>
                    <cutdown>yes</cutdown>
                    <align>left,vcenter</align>
                </textarea>
                <statetype name="buttoncheck">
                    <position>91%,5</position>
                    <state type="off">
                        <imagetype name="checkoff">
                            <filename>lb-check-empty.png</filename>
                        </imagetype>
                    </state>
                    <state type="half">
                        <imagetype name="checkhalf">
                            <filename>lb-check-half.png</filename>
                        </imagetype>
                    </state>
                    <state type="full">
                        <imagetype name="checkfull">
                            <filename>lb-check-full.png</filename>
                        </imagetype>
                    </state>
                </statetype>
                <imagetype name="buttonarrow">
                    <position>94%,7</position>
                    <filename>lb-arrow.png</filename>
                </imagetype>
            </state>
            <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>
                <textarea name="buttontext">
                    <font>basesmallpurple</font>
                </textarea>
            </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>
    </buttonlist>


    <!-- Base definition of a buttonlist in wide configuration -->
    <buttonlist name="basebuttonlist2">
        <area>0,0,1240,350</area>
        <layout>vertical</layout>
        <spacing>4</spacing>
        <wrapstyle>selection</wrapstyle>
        <buttonarea>0,0,1200,350</buttonarea>
        <statetype name="buttonitem">
            <area>0,0,1200,25</area>
            <state name="active">
                <statetype name="status">
                    <position>0,0</position>
                    <state name="disabled">
                        <imagetype name="statusimage">
                            <filename>schedule_disabled.png</filename>
                        </imagetype>
                    </state>
                    <state name="error">
                        <imagetype name="statusimage">
                            <filename>schedule_conflict.png</filename>
                        </imagetype>
                    </state>
                    <state name="warning">
                        <imagetype name="statusimage">
                            <filename>schedule_other.png</filename>
                        </imagetype>
                    </state>
                    <state name="normal">
                        <imagetype name="statusimage">
                            <filename>schedule_record.png</filename>
                        </imagetype>
                    </state>
                    <state name="running">
                        <imagetype name="statusimage">
                            <filename>schedule_recording.png</filename>
                        </imagetype>
                    </state>
                    <state name="marked"></state>
                </statetype>
                <textarea name="buttontext">
                    <area>33,1,1155,24</area>
                    <font>basesmall</font>
                    <font state="disabled">basesmallpurple</font>
                    <font state="error">basesmallred</font>
                    <font state="warning">basesmallyellow</font>
                    <font state="normal">basesmallblue</font>
                    <font state="running">basesmallgreen</font>
                    <align>vcenter</align>
                </textarea>
            </state>
            <state name="selectedactive" from="active">
                <shape name="selectbar">
                    <area>25,0,1162,25</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>1190,5</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>1190,320</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>

    <!-- Base definition of a button -->
    <button name="basebutton">
        <position>0,0</position>
        <statetype name="buttonstate">
            <state name="active">
                <imagetype name="background">
                    <filename>button_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <area>5,5,140,30</area>
                    <align>allcenter</align>
                    <font>basemedium</font>
                    <font state="selected">basemedium</font>
                    <font state="disabled">basemediumgrey</font>
                </textarea>
            </state>
            <state name="selected" from="active">
                <imagetype name="background">
                    <filename>button_selected_background.png</filename>
                </imagetype>
            </state>
            <state name="disabled" from="active" />
            <state name="pushed" from="active">
                <imagetype name="background">
                    <filename>button_pushed_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <position>8,8</position>
                </textarea>
            </state>
        </statetype>
    </button>

    <button name="basewidebutton">
        <area>0,0,300,40</area>
        <statetype name="buttonstate">
            <state name="active">
                <imagetype name="background">
                    <area>0,0,300,40</area>
                    <filename>button_wide_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <area>5,5,290,30</area>
                    <align>allcenter</align>
                    <font>basemedium</font>
                    <font state="selected">basemedium</font>
                    <font state="disabled">basemediumgrey</font>
                </textarea>
            </state>
            <state name="selected" from="active">
                <imagetype name="background">
                    <area>0,0,300,40</area>
                    <filename>button_wide_selected_background.png</filename>
                </imagetype>
            </state>
            <state name="disabled" from="active" />
            <state name="pushed" from="active">
                <imagetype name="background">
                    <filename>button_wide_pushed_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <position>8,8</position>
                </textarea>
            </state>
        </statetype>
    </button>

    <button name="baseverywidebutton">
        <area>0,0,495,40</area>
        <statetype name="buttonstate">
            <state name="active">
                <imagetype name="background">
                    <area>0,0,495,40</area>
                    <filename>button_wide_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <area>5,5,490,30</area>
                    <align>allcenter</align>
                    <font>basemedium</font>
                    <font state="selected">basemedium</font>
                    <font state="disabled">basemediumgrey</font>
                </textarea>
            </state>
            <state name="selected" from="active">
                <imagetype name="background">
                    <area>0,0,495,40</area>
                    <filename>button_wide_selected_background.png</filename>
                </imagetype>
            </state>
            <state name="disabled" from="active" />
            <state name="pushed" from="active">
                <imagetype name="background">
                    <area>0,0,495,40</area>
                    <filename>button_wide_pushed_background.png</filename>
                </imagetype>
                <textarea name="text">
                    <position>8,8</position>
                </textarea>
            </state>
        </statetype>
    </button>

    <!-- Base definition of checkbox -->
    <checkbox name="basecheckbox">
        <position>0,0</position>
        <statetype name="background">
            <state name="active">
                <imagetype name="background">
                    <filename>checkbox_background_off.png</filename>
                </imagetype>
            </state>
            <state name="selected">
                <imagetype name="background">
                    <filename>checkbox_background_selected.png</filename>
                </imagetype>
            </state>
            <state name="disabled" />
        </statetype>
        <statetype name="checkstate">
            <position>3,3</position>
            <state type="off" />
            <state type="half">
                <imagetype name="background">
                    <filename>checkbox_halfcheck.png</filename>
                </imagetype>
            </state>
            <state type="full">
                <imagetype name="mark">
                    <filename>checkbox_fullcheck.png</filename>
                </imagetype>
            </state>
        </statetype>
    </checkbox>

    <!-- Base definition of a spinbox -->
    <spinbox name="basespinbox">
        <area>0,0,90,40</area>
        <layout>horizontal</layout>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,70,40</area>
                <shape name="background" from="basewidgetshape" />
                <textarea name="buttontext">
                    <area>5,5,55,30</area>
                    <font>basesmall</font>
                    <cutdown>yes</cutdown>
                    <align>left,vcenter</align>
                </textarea>
            </state>
            <state name="selectedactive" from="active">
                <shape name="background" from="baseselectedwidgetshape" />
            </state>
            <state name="selectedinactive" from="active" />
        </statetype>
        <statetype name="downscrollarrow">
            <position>75,2</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>75,21</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>
    </spinbox>

    <!-- Base definition of a wide spinbox (room for strings) -->
    <spinbox name="basewidespinbox" from="basespinbox">
        <area>0,0,495,40</area>
        <layout>horizontal</layout>
        <buttonarea>0,0,475,100%</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,475,40</area>
                <textarea name="buttontext">
                    <area>5,5,465,30</area>
                </textarea>
            </state>
            <state name="selectedactive" from="active">
                <shape name="background" from="baseselectedwidgetshape" />
            </state>
            <state name="selectedinactive" from="active" />
        </statetype>
        <statetype name="downscrollarrow">
            <position>480,2</position>
        </statetype>
        <statetype name="upscrollarrow">
            <position>480,21</position>
        </statetype>
    </spinbox>

    <!-- Base definition of a list in 'selector' configuration -->
    <buttonlist name="baseselector">
        <area>0,0,220,40</area>
        <layout>horizontal</layout>
        <buttonarea>0,0,200,100%</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,200,40</area>
                <shape name="background" from="basewidgetshape" />
                <textarea name="buttontext">
                    <area>5,5,190,30</area>
                    <font>basesmall</font>
                    <cutdown>yes</cutdown>
                    <align>left,vcenter</align>
                </textarea>
            </state>
            <state name="selectedinactive" from="active" />
            <state name="selectedactive" from="active">
                <shape name="background" from="baseselectedwidgetshape" />
            </state>
        </statetype>
        <statetype name="downscrollarrow">
            <position>205,2</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>205,21</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>

    <!-- Base definition of a list in medium 'selector' configuration -->
    <buttonlist name="basemediumselector" from="baseselector">
        <area>0,0,376,44</area>
        <buttonarea>0,0,376,44</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,376,44</area>
                <textarea name="buttontext">
                    <area>14,2,348,40</area>
                </textarea>
            </state>
            <state name="selectedactive" from="active">
                <shape name="background" from="baseselectedwidgetshape" />
            </state>
            <state name="selectedinactive" from="active" />
        </statetype>
        <statetype name="downscrollarrow">
            <position>380,2</position>
        </statetype>
        <statetype name="upscrollarrow">
            <position>380,22</position>
        </statetype>
    </buttonlist>

    <!-- Base definition of a list in wide 'selector' configuration -->
    <buttonlist name="basewideselector" from="baseselector">
        <area>0,0,495,40</area>
        <buttonarea>0,0,475,100%</buttonarea>
        <statetype name="buttonitem">
            <state name="active">
                <area>0,0,475,40</area>
                <textarea name="buttontext">
                    <area>5,5,465,30</area>
                </textarea>
            </state>
            <state name="selectedactive" from="active">
                <shape name="background" from="baseselectedwidgetshape" />
            </state>
            <state name="selectedinactive" from="active" />
        </statetype>
        <statetype name="downscrollarrow">
            <position>480,2</position>
        </statetype>
        <statetype name="upscrollarrow">
            <position>480,21</position>
        </statetype>
    </buttonlist>

    <!-- Base definition of a textarea -->
    <textarea name="basetextarea">
        <area>0,0,10,10</area>
        <font>basesmall</font>
        <multiline>no</multiline>
        <align>left</align>
    </textarea>

    <!-- Base definition of a textedit -->
    <textedit name="basetextedit">
        <area>0,0,375,50</area>
        <statetype name="background">
            <state name="active">
                <area>0,0,375,50</area>
                <shape name="background" from="basewidgetshape" />
                <shape name="textbackground">
                    <area>10,10,355,30</area>
                    <type>roundbox</type>
                    <cornerradius>4</cornerradius>
                    <fill color="#FFFFFF" alpha="200" />
                </shape>
            </state>
            <state name="selected" from="active">
                <shape name="background">
                    <shape name="background" from="baseselectedwidgetshape" />
                </shape>
                <shape name="textbackground">
                    <fill color="#FFFFFF" alpha="255" />
                </shape>
            </state>
            <state name="inactive" from="active" />
        </statetype>
        <imagetype name="cursor">
            <filename>cursor.png</filename>
        </imagetype>
        <textarea name="text">
            <area>13,13,351,25</area>
            <font>basesmallblack</font>
        </textarea>
    </textedit>

    <!-- Base definition of a progressbar -->
    <progressbar name="baseprogressbar">
        <area>0,0,536,38</area>
        <layout>horizontal</layout>
        <style>reveal</style>
        <imagetype name="background">
            <area>0,0,100%,100%</area>
            <filename>progressbar_background.png</filename>
        </imagetype>
        <imagetype name="progressimage">
            <area>0,0,100%,100%</area>
            <filename>progressbar_fill.png</filename>
        </imagetype>
    </progressbar>

    <!-- Small Progress bar, half screen width at 1280 -->
    <progressbar name="smallprogressbar" from="baseprogressbar">
    </progressbar>

    <!-- Base definition of a vertical scrollbar -->
    <scrollbar name="basevertscrollbar">
        <area>1114,0,14,970</area>
        <layout>vertical</layout>
        <hidedelay>0</hidedelay>
        <shape name="background">
            <area>0,0,100%,100%</area>
            <type>roundbox</type>
            <line color="#aaaaaa" alpha="255" width="1" />
            <fill style="gradient">
                <gradient direction="diagonal">
                    <stop position="0" color="#999999" alpha="255" />
                    <stop position="100" color="#999999" alpha="120" />
                </gradient>
            </fill>
            <cornerradius>12</cornerradius>
        </shape>
        <shape name="slider">
            <area>0,0,14,40</area>
            <type>roundbox</type>
            <line color="#0895f8" alpha="255" width="1" />
            <fill style="gradient">
                <gradient direction="diagonal">
                    <stop position="0" color="#0767AB" alpha="255" />
                    <stop position="100" color="#0767AB" alpha="120" />
                </gradient>
            </fill>
            <cornerradius>12</cornerradius>
        </shape>
    </scrollbar>

    <!-- Base definition of a horizontal scrollbar -->
    <scrollbar name="basehorizscrollbar" from="basevertscrollbar">
        <area>20,1030,1880,14</area>
        <layout>horizontal</layout>
        <shape name="slider">
            <area>0,0,40,14</area>
        </shape>
    </scrollbar>

    <!-- Base definition of a webbrowser -->
    <webbrowser name="basewebbrowser">
        <area>20,20,1240,500</area>
        <browserarea>0,0,100%-16,100%-16</browserarea>
        <zoom>1.0</zoom>
        <scrollduration>500</scrollduration>
        <scrollbar name="vertscrollbar" from="basevertscrollbar">
            <area>100%-14,0,14,100%-14</area>
        </scrollbar>
        <scrollbar name="horizscrollbar" from="basehorizscrollbar">
            <area>0,100%-14,100%-14,14</area>
        </scrollbar>
    </webbrowser>

    <!-- Popup Dialogue Box -->
    <window name="MythPopupBox">
        <area>-1,-1,500,500</area>
        <imagetype name="backimg">
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="messagearea" from="basetextarea">
            <area>12,15,470,210</area>
            <multiline>yes</multiline>
            <align>allcenter</align>
        </textarea>

        <buttonlist name="list" from="basebuttonlist">
            <area>12,225,470,250</area>
            <drawfrombottom>yes</drawfrombottom>
            <showarrow>no</showarrow>
            <wrapstyle>selection</wrapstyle>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <state name="selectedinactive">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <state name="selectedactive">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
            </statetype>
        </buttonlist>
    </window>

    <!-- Fullscreen Dialogue Box -->
    <window name="MythDialogBox">

        <shape name="background" from="basebackground">
            <area>10,10,1260,700</area>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>20,15,1260,50</area>
            <font>baselarge</font>
            <align>allcenter</align>
        </textarea>

        <textarea name="messagearea" from="basetextarea">
            <area>100,100,1080,210</area>
            <multiline>yes</multiline>
            <font>basemedium</font>
            <align>allcenter</align>
        </textarea>

        <buttonlist name="list" from="basebuttonlist">
            <area>100,320,1080,350</area>
            <drawfrombottom>yes</drawfrombottom>
            <showarrow>no</showarrow>
            <wrapstyle>selection</wrapstyle>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <state name="selectedinactive">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
                <state name="selectedactive">
                    <textarea name="buttontext">
                        <area>0,0,100%,30</area>
                        <align>allcenter</align>
                    </textarea>
                </state>
            </statetype>
        </buttonlist>
    </window>

    <window name="MythBusyDialog">
        <area>-1,-1,580,165</area>
        <imagetype name="backimg">
            <filename>mythprogressdialog-background.png</filename>
        </imagetype>
        <imagetype name="animation">
            <position>40,40</position>
            <filepattern low="0" high="24">busyimages/%1.png</filepattern>
            <delay>250</delay>
        </imagetype>
        <textarea name="message" from="basetextarea">
            <area>170,20,390,125</area>
            <align>allcenter</align>
        </textarea>
    </window>

    <window name="MythProgressDialog">
        <area>-1,-1,580,165</area>
        <imagetype name="backimg">
            <filename>mythprogressdialog-background.png</filename>
        </imagetype>
        <textarea name="message" from="basetextarea">
            <area>20,20,540,60</area>
            <multiline>yes</multiline>
            <align>allcenter</align>
        </textarea>
        <progressbar name="progressbar" from="baseprogressbar">
            <position>22,80</position>
        </progressbar>
        <textarea name="progresstext" from="basetextarea">
            <area>30,130,200,30</area>
            <align>left,top</align>
            <value>0%</value>
        </textarea>
    </window>

    <window name="MythConfirmationDialog">
        <area>-1,-1,580,165</area>

        <imagetype name="backimg">
            <filename>mythprogressdialog-background.png</filename>
        </imagetype>

        <textarea name="message" from="basetextarea">
            <area>15,15,550,90</area>
            <align>allcenter</align>
            <multiline>yes</multiline>
            <cutdown>no</cutdown>
        </textarea>

        <button name="cancel" from="basebutton">
            <position>90,110</position>
            <value>Cancel</value>
        </button>

        <button name="ok" from="basebutton">
            <position>338,110</position>
            <value>OK</value>
        </button>
    </window>

    <window name="MythTextInputDialog">
        <area>-1,-1,580,165</area>

        <imagetype name="backimg">
            <filename>mythprogressdialog-background.png</filename>
        </imagetype>

        <textarea name="message" from="basetextarea">
            <area>20,20,540,30</area>
            <align>allcenter</align>
        </textarea>

        <textedit name="input" from="basetextedit">
            <position>102,50</position>
        </textedit>

        <button name="ok" from="basebutton">
            <position>109,110</position>
            <value>OK</value>
        </button>
    </window>

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

        <textarea name="title" from="basetextarea">
            <area>12,20,470,60</area>
            <multiline>yes</multiline>
            <align>allcenter</align>
        </textarea>

        <textedit name="input" from="basetextedit">
            <position>58,85</position>
        </textedit>

        <buttonlist name="itemlist" from="basebuttonlist">
            <area>12,150,470,270</area>
            <showarrow>no</showarrow>
            <statetype name="buttonitem">
                <state name="active">
                    <textarea name="buttontext">
                        <area>4,0,460,30</area>
                    </textarea>
                </state>
                <state name="selectedinactive">
                    <textarea name="buttontext">
                        <area>5,0,460,30</area>
                    </textarea>
                </state>
                <state name="selectedactive">
                    <textarea name="buttontext">
                        <area>5,0,460,30</area>
                    </textarea>
                </state>
            </statetype>
        </buttonlist>

        <button name="cancel" from="basebutton">
            <position>30,435</position>
            <value>Cancel</value>
        </button>

        <button name="ok" from="basebutton">
            <position>315,435</position>
            <value>OK</value>
        </button>

    </window>

    <window name="videowindow">

        <shape name="shape1">
            <area>0,0,1280,720</area>
            <type>box</type>
            <fill color="#000000" alpha="255"></fill>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>0,335,1280,50</area>
            <font>baselarge</font>
            <align>allcenter</align>
            <value>Please Wait...</value>
        </textarea>

        <progressbar name="progress" from="baseprogressbar">
            <position>372,425</position>
        </progressbar>
    </window>

    <window name="MythMetadataResults">
        <area>-1,-1,413,426</area>

        <imagetype name="box">
            <filename>mv_results_popup.png</filename>
        </imagetype>

        <buttonlist name="results" from="basebuttonlist">
            <area>20,22,357,378</area>
            <showarrow>no</showarrow>
        </buttonlist>
    </window>

    <window name="MythArtworkResults">
        <area>-1,-1,413,426</area>

        <imagetype name="box">
            <area>0,0,413,426</area>
            <filename>mv_results_popup.png</filename>
        </imagetype>

        <buttonlist name="results">
            <area>20,22,363,378</area>
            <layout>vertical</layout>
            <spacing>5</spacing>
            <wrapstyle>selection</wrapstyle>
            <buttonarea>0,0,100%,97%</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,85</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,2,150,80</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>
                    <textarea name="resolution">
                        <area>160,0,175,85</area>
                        <font>basesmall</font>
                        <cutdown>yes</cutdown>
                        <align>left,vcenter</align>
                    </textarea>
                </state>
                <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>
                    <textarea name="resolution">
                        <font>basesmallpurple</font>
                    </textarea>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>10,96%</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,96%</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>
