<mythuitheme>

    <!-- The dvd ripping/transcoding screen -->
    <window name="dvd_rip">
        <imagetype name="banner">
            <filename>md_rip_banner.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <font>baselarge</font>
            <area>200,25,600,95</area>
            <value>Rip/Transcode</value>
        </textarea>

        <shape name="progress_background">
    	    <area>15,120,1250,500</area>
    	    <type>roundbox</type>
    	    <fill color="#000000" alpha="150" />
    	    <cornerradius>12</cornerradius>
    	</shape>

        <!--
            Context 1 & 2
            Warnings or Status Messages
            -->

        <textarea name="warning" from="basetextarea">
            <multiline>yes</multiline>
            <area>25,170,1230,300</area>
            <align>allcenter</align>
        </textarea>

        <!--
            Context 3
            Browse active jobs
            -->

        <textarea name="overall_text" from="basetextarea">
            <area>25,150,1230,30</area>
            <align>allcenter</align>
        </textarea>

        <textarea name="job_text" from="basetextarea">
            <area>25,300,1230,30</area>
            <align>allcenter</align>
        </textarea>

        <textarea name="numbjobs" from="basetextarea">
            <area>25,450,1230,30</area>
            <value>Job 1 of 1</value>
            <align>allcenter</align>
        </textarea>

        <progressbar name="overall_progress" from="baseprogressbar">
            <position>200,190</position>
        </progressbar>

        <progressbar name="job_progress" from="baseprogressbar">
            <position>200,340</position>
        </progressbar>

        <button name="next">
            <area>485,435,37,64</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>shared/rightarrow.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active" />
            </statetype>
        </button>

        <button name="prev">
            <area>255,435,37,64</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>shared/leftarrow.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active" />
            </statetype>
        </button>

        <button name="ripscreen" from="basebutton">
            <position>225,530</position>
        </button>

        <button name="cancel" from="basebutton">
            <position>425,530</position>
        </button>
    </window>

    <window name="title_dialog">

        <imagetype name="banner">
            <filename>md_rip_banner.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>200,25,600,95</area>
            <font>baselarge</font>
            <value>Rip/Transcode</value>
        </textarea>

        <shape name="progress_background">
    	    <area>15,120,1250,500</area>
    	    <type>roundbox</type>
    	    <fill color="#000000" alpha="150" />
    	    <cornerradius>12</cornerradius>
    	</shape>

        <!-- A bunch of text "labels" -->
        <textarea name="playtime_text" from="basetextarea">
            <area>70,150,250,30</area>
            <value>Length:</value>
            <align>right</align>
        </textarea>

        <textarea name="ripcheck_text" from="playtime_text">
            <position>70,178</position>
            <value>Select:</value>
        </textarea>

        <textarea name="ripname_text" from="playtime_text">
            <position>70,228</position>
            <value>Name:</value>
        </textarea>

        <textarea name="ripquality_text" from="playtime_text">
            <position>70,273</position>
            <value>Quality:</value>
        </textarea>

        <textarea name="ripaudio_text" from="playtime_text">
            <position>70,318</position>
            <value>Audio Track:</value>
        </textarea>

        <textarea name="ripacthree_text" from="playtime_text">
            <position>70,363</position>
            <value>AC3 Audio:</value>
        </textarea>

        <textarea name="subtitle_text" from="playtime_text">
            <position>70,398</position>
            <value>Subtitles:</value>
        </textarea>

        <textarea name="ripview_text" from="playtime_text">
            <position>70,436</position>
            <value>View:</value>
        </textarea>

        <!-- Widgets that actually do things -->

        <textarea name="playlength" from="basetextarea">
            <area>330,150,300,40</area>
            <value>0:00:00</value>
        </textarea>

        <checkbox name="ripcheck" from="basecheckbox">
            <position>330,178</position>
        </checkbox>

        <textedit name="name" from="basetextedit">
            <position>330,213</position>
        </textedit>

        <buttonlist name="quality" from="baseselector">
            <position>330,268</position>
        </buttonlist>

        <buttonlist name="audio" from="baseselector">
            <position>330,313</position>
        </buttonlist>

        <checkbox name="ripacthree" from="basecheckbox">
            <position>330,358</position>
        </checkbox>

        <buttonlist name="subtitle" from="baseselector">
            <position>330,393</position>
        </buttonlist>

        <button name="view">
            <area>330,435,32,32</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>blankbutton_off.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <imagetype name="background">
                        <filename>blankbutton_on.png</filename>
                    </imagetype>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="active">
                    <imagetype name="background">
                        <filename>blankbutton_pushed.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </button>

        <textarea name="numb_titles" from="basetextarea">
            <area>266,468,266,30</area>
            <value>Title 1 of 1</value>
            <align>allcenter</align>
        </textarea>

        <button name="prev_title" from="basebutton">
            <position>255,435</position>
            <regular-background filename="left_arrow.png" />
            <selected-background filename="left_arrow_selected.png" />
        </button>

        <button name="next_title" from="basebutton">
            <position>485,435</position>
            <regular-background filename="right_arrow.png" />
            <selected-background filename="right_arrow_selected.png.png" />
        </button>

        <button name="ripaway" from="basebutton">
            <position>200,530</position>
        </button>

    </window>

</mythuitheme>
