<?xml version="1.0" encoding="utf-8"?>
<mythuitheme>

    <window name="gallery">

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

        <textarea name="heading" from="baseheading">
            <value>Image Gallery</value>
        </textarea>

        <buttonlist name="images">
            <area>0,0,800,585</area>
            <scrollstyle>free</scrollstyle>
            <wrapstyle>items</wrapstyle>
            <spacing>22</spacing>
            <layout>grid</layout>
            <buttonarea>0,45,800,585</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>10,10,170,145</area>
                    <imagetype name="buttonbackground">
                        <filename>gallery/photo_stack.png</filename>
                    </imagetype>
                    <imagetype name="buttonimage">
                        <area>16,20,120,90</area>
                        <crop>0,0,120,90</crop>
                        <filename>shared/noposter.jpg</filename>
                    </imagetype>
                    <statetype name="nodetype">
                        <position>80,55</position>
                        <state name="subfolder">
                            <imagetype name="icon">
                                <area>0,0,55,65</area>
                                <filename>shared/directory.png</filename>
                                <preserveaspect>yes</preserveaspect>
                            </imagetype>
                        </state>
                        <state name="upfolder">
                            <imagetype name="icon">
                                <area>0,0,50,50</area>
                                <filename>shared/updirectory.png</filename>
                                <preserveaspect>yes</preserveaspect>
                            </imagetype>
                        </state>
                    </statetype>
                    <textarea name="buttontext">
                        <area>0,130,160,25</area>
                        <font>lgreen</font>
                        <align>hcenter,bottom</align>
                    </textarea>
                    <textarea name="childcount" from="basetextarea">
                        <area>90,72,25,35</area>
                        <font>dgreen</font>
                        <align>right</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <textarea name="buttontext">
                        <area>0,133,160,25</area>
                        <font>dgreenmed</font>
                        <align>hcenter,bottom</align>
                    </textarea>
                </state>
            </statetype>
        </buttonlist>

        <textarea name="position" from="basetextarea">
            <area>580,0,110,40</area>
            <align>allcenter</align>
            <font>dgreenlarge</font>
        </textarea>

    </window>

</mythuitheme>
