<mythuitheme>
    
    <window name="gameui">
        <area>-1,-1,1280,720</area>
        
        <imagetype name="fanart">
            <area>0,0,1280,720</area>
            <filename />
            <mask>images/fanartmask.png</mask>
        </imagetype>
        
        <shape name="boxshape">
            <area>10,50,180,230</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="230" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>
        
        <shape name="descshape">
            <area>210,50,705,230</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="230" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>
        
        <shape name="shotshape">
            <area>935,50,335,230</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="230" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>
        
        <shape name="treeshape">
            <area>10,290,1260,240</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="230" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>
        
        <buttontree name="gametreelist">
            <area>50,302,1240,226</area>
            <numlists>3</numlists>
            <spacing>6</spacing>
            <buttonlist name="listtemplate" from="basebuttonlist" />
        </buttontree>
        
        <textarea name="title">
            <area>240,65,650,60</area>
            <font>baseextralarge</font>
            <cutdown>yes</cutdown>
        </textarea>
        
        <textarea name="systemlabel">
            <area>240,110,140,35</area>
            <font>basesmall</font>
            <value>System:</value>
        </textarea>
        
        <textarea name="system">
            <area>380,110,150,35</area>
            <font>basesmall</font>
        </textarea>
        
        <textarea name="yearlabel">
            <area>540,135,140,35</area>
            <font>basesmall</font>
            <value>Year:</value>
        </textarea>
        
        <textarea name="year">
            <area>680,135,220,35</area>
            <font>basesmall</font>
        </textarea>
        
        <textarea name="genrelabel">
            <area>540,110,150,35</area>
            <font>basesmall</font>
            <value>Genre:</value>
        </textarea>
        
        <textarea name="genre">
            <area>680,110,220,35</area>
            <font>basesmall</font>
        </textarea>

        <textarea name="description">
            <area>240,170,670,105</area>
            <multiline>yes</multiline>
            <font>basesmaller</font>
        </textarea>
        
        <textarea name="favoritelabel">
            <area>240,135,140,35</area>
            <font>basesmall</font>
            <value>Favorite:</value>
        </textarea>
        
        <statetype name="favorite">
            <state name="no">
                <textarea name="favorite" from="basetextarea">
                    <area>380,135,150,35</area>
                    <value>No</value>
                </textarea>
            </state>
            <state name="yes" from="no">
                <textarea name="favorite">
                    <value>Yes</value>
                </textarea>
            </state>
        </statetype>

        <imagetype name="screenshot">
            <area>945,60,315,210</area>
            <preserveaspect>true</preserveaspect>
        </imagetype>
        
        <imagetype name="coverart">
            <area>20,55,160,220</area>
            <preserveaspect>true</preserveaspect>
        </imagetype>
        
        <imagetype name="clockback">
            <area>525,695,230,51</area>
            <filename>images/clock_backdrop.png</filename>
        </imagetype>
        
        <clock name="clock">
            <area>529,700,219,25</area>
            <font>clock</font>
            <template>%DATE%, %TIME%</template>
            <align>center</align>
            <alpha>255</alpha>
        </clock>
        
        <imagetype name="clockbackoverlay">
            <area>525,695,230,23</area>
            <filename>images/clock_backdrop_overlay.png</filename>
        </imagetype>
        
    </window>
    
    <window name="gamedetailspopup">
        
        <imagetype name="fanart">
            <area>0,0,1280,720</area>
            <filename>images/popup_darken.png</filename>
        </imagetype>
        
        <imagetype name="itemdetailbackdrop">
            <area>190,130,900,520</area>
            <filename>images/itemdetailbackdrop2.png</filename>
        </imagetype>
        
        <shape name="shape1">
            <area>553,152,514,475</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="150"></fill>
            <cornerradius>46</cornerradius>
        </shape>
        
        <imagetype name="coverart">
            <area>254,184,243,364</area>
            <filename>images/mv_browse_nocover_large.png</filename>
            <preserveaspect>true</preserveaspect>
            <reflection axis="vertical" scale="65" length="35" />
        </imagetype>
        
        <imagetype name="screenshot">
            <area>220,510,161,90</area>
            <filename />
            <preserveaspect>true</preserveaspect>
            <reflection axis="vertical" scale="65" length="35" />
        </imagetype>
        
        <textarea name="title" from="basetextarea">
            <area>570,163,468,70</area>
            <multiline>no</multiline>
            <font>baselarge</font>
            <align>center</align>
            <cutdown>yes</cutdown>
        </textarea>
        
        <textarea name="allsystems" from="basetextarea">
            <area>564,215,480,70</area>
            <multiline>no</multiline>
            <font>basesmaller</font>
            <align>center</align>
            <cutdown>yes</cutdown>
        </textarea>
        
<!--        <textarea name="gametype" from="basetextarea">
            <area>565,354,486,30</area>
            <font>baseextrasmall</font>
        </textarea>
        
        <textarea name="crc" from="basetextarea">
            <area>565,404,486,30</area>
            <multiline>yes</multiline>
            <font>baseextrasmall</font>
        </textarea>-->
        
        <textarea name="description" from="basetextarea">
            <area>565,354,486,200</area>
            <multiline>yes</multiline>
            <font>baseextrasmall</font>
        </textarea>

        <textarea name="romnamelabel" from="basetextarea">
            <area>564,300,160,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
            <value>ROM Name:</value>
        </textarea>
        
        <textarea name="romname" from="basetextarea">
            <area>655,300,80,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
            <cutdown>yes</cutdown>
        </textarea>
        
        <textarea name="rompathlabel" from="basetextarea">
            <area>564,320,160,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
            <value>ROM Path:</value>
        </textarea>
        
        <textarea name="rompath" from="basetextarea">
            <area>655,320,80,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
            <cutdown>yes</cutdown>
        </textarea>
        
        <textarea name="publabel" from="basetextarea">
            <area>740,300,70,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
            <value>Publisher:</value>
        </textarea>
        
        <textarea name="publisher" from="basetextarea">
            <area>815,300,90,35</area>
            <font>baseextrasmall</font>
            <align>left</align>
        </textarea>
        
        <textarea name="yearlbl" from="basetextarea">
            <area>740,320,70,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
            <value>Year:</value>
        </textarea>
        
        <textarea name="year" from="basetextarea">
            <area>815,320,100,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
        </textarea>
        
        <textarea name="genrelbl" from="basetextarea">
            <area>908,300,60,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
            <value>Genre:</value>
        </textarea>
        
        <textarea name="genre" from="basetextarea">
            <area>973,300,90,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
        </textarea>
        
        <textarea name="countylbl" from="basetextarea">
            <area>908,320,60,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
            <value>Country:</value>
        </textarea>
        
        <textarea name="country" from="basetextarea">
            <area>973,320,90,35</area>
            <align>left</align>
            <font>baseextrasmall</font>
        </textarea>
        
        <button name="done_button" from="basebutton">
            <value>Done</value>
            <position>862,560</position>
        </button>
        
        <button name="play_button" from="basebutton">
            <value>Play</value>
            <position>616,560</position>
        </button>
        
        <imagetype name="clockback">
            <area>525,695,230,51</area>
            <filename>images/clock_backdrop.png</filename>
        </imagetype>
        
        <clock name="clock">
            <area>529,700,219,25</area>
            <font>clock</font>
            <template>%DATE%, %TIME%</template>
            <align>center</align>
            <alpha>255</alpha>
        </clock>
        
        <imagetype name="clockbackoverlay">
            <area>525,695,230,23</area>
            <filename>images/clock_backdrop_overlay.png</filename>
        </imagetype>
        
    </window>
    
    <window name="edit_metadata">
        
        <imagetype name="background">
            <area>0,0,1280,720</area>
            <filename>images/backgrounds/</filename>
        </imagetype>
        
        <textarea name="label">
            <area>100,15,1080,30</area>
            <align>center</align>
            <font>basemedium</font>
            <value>Edit Metadata</value>
        </textarea>
        
        <shape name="shape">
            <area>90,50,1100,620</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="180" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>
        
        <!-- Labels  -->
        
        <textarea name="title_text" from="basetextarea">
            <area>300,110,250,40</area>
            <value>Title:</value>
            <align>right,top</align>
        </textarea>
        
        <textarea name="genre_text" from="basetextarea">
            <area>300,158,250,40</area>
            <value>Genre:</value>
            <align>right,top</align>
        </textarea>
        
        <textarea name="year_text" from="basetextarea">
            <area>300,205,250,40</area>
            <value>Year:</value>
            <align>right,top</align>
        </textarea>
        
        <textarea name="country_text" from="title_text">
            <area>300,252,250,40</area>
            <align>right</align>
            <value>Country:</value>
        </textarea>
        
        <textarea name="pub_text" from="title_text">
            <area>300,300,250,40</area>
            <align>right</align>
            <value>Publisher:</value>
        </textarea>
        
        <textarea name="plot_text" from="title_text">
            <area>300,348,250,40</area>
            <align>right</align>
            <value>Plot:</value>
        </textarea>

        <textarea name="browse_text" from="title_text">
            <position>370,424</position>
            <value>Favorite:</value>
        </textarea>

        <textarea name="screen_text_label" from="title_text">
            <position>370,459</position>
            <value>Screenshot:</value>
        </textarea>
        
        <textarea name="coverart_text_label" from="title_text">
            <position>370,494</position>
            <value>Cover Art:</value>
        </textarea>
        
        <textarea name="screenshot_text_label" from="title_text">
            <position>370,529</position>
            <value>Fanart:</value>
        </textarea>
        
        <!-- Widgets -->
        
        <textedit name="title_edit" from="basetextedit">
            <position>560,105</position>
        </textedit>
        
        <textedit name="genre_edit" from="basetextedit">
            <position>560,153</position>
        </textedit>
        
        <textedit name="year_edit" from="basetextedit">
            <position>560,201</position>
        </textedit>
        
        <textedit name="country_edit" from="basetextedit">
            <position>560,249</position>
        </textedit>
        
        <textedit name="publisher_edit" from="basetextedit">
            <position>560,297</position>
        </textedit>

        <textedit name="description_edit" from="basetextedit">
            <position>560,345</position>
        </textedit>
        
        <checkbox name="favorite_check" from="basecheckbox">
            <position>640,419</position>
        </checkbox>

        <button name="screenshot_button" from="basesearchbutton">
            <area>640,455,32,32</area>
        </button>

        <textarea name="screenshot_text" from="basetextarea">
            <area>680,459,470,40</area>
            <value>/path/to/the/thing.jpg</value>
        </textarea>

        <button name="coverart_button" from="basesearchbutton">
            <area>640,490,32,32</area>
        </button>
        
        <textarea name="coverart_text" from="basetextarea">
            <area>680,494,470,40</area>
            <value>/path/to/the/thing.jpg</value>
        </textarea>
        
        <button name="fanart_button" from="basesearchbutton">
            <area>640,525,32,32</area>
        </button>
        
        <textarea name="fanart_text" from="basetextarea">
            <area>680,529,470,40</area>
            <value>/path/to/the/thing.jpg</value>
        </textarea>
        
        <button name="done_button" from="basebutton">
            <area>565,600,150,50</area>
            <value>Done</value>
        </button>
        
        <imagetype name="clockback">
            <area>525,695,230,51</area>
            <filename>images/clock_backdrop.png</filename>
        </imagetype>
        
        <clock name="clock">
            <area>529,700,219,25</area>
            <font>clock</font>
            <template>%DATE%, %TIME%</template>
            <align>center</align>
            <alpha>255</alpha>
        </clock>
        
        <imagetype name="clockbackoverlay">
            <area>525,695,230,23</area>
            <filename>images/clock_backdrop_overlay.png</filename>
        </imagetype>
        
    </window>
    
</mythuitheme>
