<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE themes PUBLIC "-//www.matthiasmann.de//TWL-Theme//EN" "http://hg.l33tlabs.org/twl/raw-file/tip/src/de/matthiasmann/twl/theme/theme.dtd">
<themes>
    <fontDef name="normal" filename="font.fnt" color="#FFFFFF" default="true">
        <fontParam if="error" color="red"/>
        <fontParam if="warning" color="#FFDC9C"/>
        <fontParam if="disabled" color="#CFCFCF"/>
        <fontParam if="textSelection" color="#A8A8FF"/>
        <fontParam if="hover" color="#FFFF9F"/>
    </fontDef>

    <inputMapDef name="-defaultInputMap">
        <action name="selectAll">ctrl A</action>
        <action name="selectAll">cmd A</action>
        <action name="cut">ctrl X</action>
        <action name="cut">cmd X</action>
        <action name="copy">ctrl C</action>
        <action name="copy">cmd C</action>
        <action name="paste">ctrl V</action>
        <action name="paste">cmd V</action>
    </inputMapDef>
    <images file="twlGuiThemeIndentedbuttons.png">
        <area name="button-borderdepressed_hover" xywh="0,0,20,20" splitx="L2,R2" splity="T3,B2" nocenter="true"/>
        <area name="button-borderdepressed_normal" xywh="0,20,20,20" splitx="L2,R2" splity="T3,B2" nocenter="true"/>
        <select name="button-borderdepressed">
            <alias ref="button-borderdepressed_hover" if="hover"/>
            <alias ref="button-borderdepressed_normal"/>
        </select>
    </images>
    <images file="gui/gui.png">
        <area name="button-border-normal" xywh="0,66,200,20" splity="T2,B3" splitx="L2,R2" nocenter="true"/>
        <area name="button-bg-normal" xywh="2,68,196,15" tiled="true"/>
        <area name="button-border-hover" xywh="0,86,200,20" splity="T2,B3" splitx="L2,R2" nocenter="true"/>
        <area name="button-bg-hover" xywh="2,88,196,15" tiled="true"/>
        <select name="button-bg">
            <alias ref="button-bg-hover" if="hover + !disabled"/>
            <alias ref="button-bg-normal"/>
        </select>
        <select name="button-border-nonpressed">
            <alias ref="button-border-hover" if="hover + !disabled"/>
            <alias ref="button-border-normal"/>
        </select>
        <select name="button-border">
            <alias ref="button-borderdepressed" if="selected"/>
            <alias ref="button-border-nonpressed"/>
        </select>
        <composed name="button" sizeOverwriteV="0" sizeOverwriteH="0">
            <alias ref="button-bg"/>
            <alias ref="button-border"/>
        </composed>
        <area name="textentrybg" xywh="1,47,198,18" tiled="true"/>
        <area name="textentryoverlay" xywh="0,46,200,20" nocenter="true" splity="T1,B1" splitx="L1,R1"/>
        <area name="textcursor" xywh="2,24,1,12"/>
        <composed name="background">
            <alias ref="textentrybg"/>
            <alias ref="textentryoverlay"/>
        </composed>
        <composed name="button-normal" sizeOverwriteH="0">
            <alias ref="button-bg-normal"/>
            <alias ref="button-border-normal"/>
        </composed>
        <alias name="progress" ref="button-bg-normal" sizeOverwriteH="0"/>
        <area name="progress-white" xywh="0,106,196,15" tiled="true"/>
    </images>
    <images file="scrollwindow.png">
        <area name="scrollwindow_tint" xywh="75,80,1,1"/>
        <area name="scrollwindow_shadow" xywh="50,21,1,123" splity="T9,B9"/>
        <area name="scrollbarbg" xywh="115,80,6,6"/>
        <area name="scrollbar" xywh="115,74,6,6" splitx="L0,R1" splity="T0,B1"/>
    </images>

    <theme name="-defaults">
        <param name="background"><image>none</image></param>
        <param name="overlay"><image>none</image></param>
        <param name="font"><font>normal</font></param>
        <param name="textAlignment"><enum type="alignment">left</enum></param>
        <param name="minWidth"><int>0</int></param>
        <param name="minHeight"><int>0</int></param>
        <param name="maxWidth"><int>0</int></param>
        <param name="maxHeight"><int>0</int></param>
        <param name="inputMap"><inputMap>-defaultInputMap</inputMap></param>
        <theme name="" ref="*"/>
    </theme>

    <theme name="label" ref="-defaults" allowWildcard="true">
    </theme>
    <theme name="button" ref="-defaults" allowWildcard="true">
        <param name="background"><image>button</image></param>
        <param name="textAlignment"><enum type="alignment">center</enum></param>
    </theme>
    <theme name="togglebutton" ref="button" allowWildcard="true"/>
    <theme name="editfield">
        <theme name="renderer" ref="label">
            <param name="border"><border>0,4,0,0</border></param>
        </theme>
        <param name="background"><image>background</image></param>
        <param name="cursor"><image>textcursor</image></param>
        <param name="overlay"><image>none</image></param>
        <param name="minWidth"><int>10</int></param>
        <param name="minHeight"><int>10</int></param>
        <param name="maxWidth"><int>32767</int></param>
        <param name="maxHeight"><int>32767</int></param>
        <param name="passwordChar"><int>42</int></param>
        <param name="columns"><int>-1</int></param>
        <param name="autocompletion-height"><int>0</int></param>
        <param name="selection"><image>none</image></param>
    </theme>
    <theme name="valueadjuster" ref="-defaults" allowWildcard="true">
        <theme name="valueDisplay" ref="button"/>
        <theme name="decButton" ref="button">
            <param name="minWidth"><int>20</int></param>
        </theme>
        <theme name="incButton" ref="button">
            <param name="minWidth"><int>20</int></param>
        </theme>
        <theme name="valueEdit" ref="editfield"/>
        <param name="useMouseWheel"><bool>true</bool></param>
        <param name="width"><int>0</int></param>
        <param name="text"><string/></param>
        <param name="displayPrefix"><string/></param>
    </theme>
    <theme name="hscrollbar" ref="-defaults" allowWildcard="true">
        <param name="background"><image>background</image></param>
        <theme name="leftbutton" ref="button">
            <param name="minWidth"><int>10</int></param>
        </theme>
        <theme name="rightbutton" ref="button">
            <param name="minWidth"><int>10</int></param>
        </theme>
        <theme name="thumb" ref="-defaults">
            <param name="minWidth"><int>10</int></param>
            <param name="background"><image>button-normal</image></param>
        </theme>
        <param name="scaleThumb"><bool>true</bool></param>
        <param name="minHeight"><int>20</int></param>
    </theme>
    <theme name="vscrollbar" ref="-defaults" allowWildcard="true">
        <param name="background"><image>background</image></param>
        <theme name="upbutton" ref="button">
            <param name="minHeight"><int>10</int></param>
        </theme>
        <theme name="downbutton" ref="button">
            <param name="minHeight"><int>10</int></param>
        </theme>
        <theme name="thumb" ref="-defaults">
            <param name="minHeight"><int>10</int></param>
            <param name="background"><image>button-normal</image></param>
        </theme>
        <param name="scaleThumb"><bool>true</bool></param>
        <param name="minWidth"><int>20</int></param>
    </theme>
    <theme name="scrollpane" ref="-defaults" allowWildcard="true">
        <theme name="hscrollbar" ref="hscrollbar"/>
        <theme name="vscrollbar" ref="vscrollbar"/>
        <param name="scrollbarsAlwaysVisible"><bool>false</bool></param>
        <param name="hasDragButton"><bool>false</bool></param>
        <param name="autoScrollArea"><int>0</int></param>
        <param name="autoScrollSpeed"><int>0</int></param>
    </theme>
    <theme name="scrollbutton-notch" ref="-defaults">
        <param name="background"><image>scrollbar</image></param>
    </theme>
    <theme name="scrollbar-notch" ref="-defaults">
        <param name="background"><image>scrollbarbg</image></param>
        <theme name="leftbutton" ref="scrollbutton-notch">
            <param name="minWidth"><int>6</int></param>
        </theme>
        <theme name="rightbutton" ref="scrollbutton-notch">
            <param name="minWidth"><int>6</int></param>
        </theme>
        <theme name="upbutton" ref="scrollbutton-notch">
            <param name="minHeight"><int>6</int></param>
        </theme>
        <theme name="downbutton" ref="scrollbutton-notch">
            <param name="minHeight"><int>6</int></param>
        </theme>
        <theme name="thumb" ref="scrollbutton-notch">
            <param name="minHeight"><int>6</int></param>
            <param name="minWidth"><int>0</int></param>
        </theme>
        <param name="scaleThumb"><bool>true</bool></param>
    </theme>
    <theme name="scrollpane-notch" ref="scrollpane" allowWildcard="true">
        <theme name="hscrollbar" ref="scrollbar-notch">
        </theme>
        <theme name="vscrollbar" ref="scrollbar-notch">
        </theme>
        <param name="scrollbarsAlwaysVisible"><bool>false</bool></param>
        <param name="hasDragButton"><bool>false</bool></param>
        <param name="background"><image>scrollwindow_tint</image></param>
        <param name="border"><border>30,0</border></param>
        <param name="overlay"><image>scrollwindow_shadow</image></param>
    </theme>
    <theme name="textarea" ref="-defaults" allowWildcard="true">
        <param name="background"><image>background</image></param>
        <param name="fonts">
            <map>
            </map>
        </param>
        <param name="images">
            <map>
            </map>
        </param>
    </theme>
    <theme name="colorselector" ref="-defaults" allowWildcard="true">
        <theme name="colorarea2d" ref="-defaults">
            <param name="cursor"><image>none</image></param>
            <param name="background"><image>button</image></param>
            <param name="minWidth"><int>64</int></param>
            <param name="minHeight"><int>64</int></param>
            <param name="border"><border>2</border></param>
        </theme>
        <theme name="colorarea1d" ref="-defaults">
            <param name="cursor"><image>none</image></param>
            <param name="background"><image>button</image></param>
            <param name="minHeight"><int>64</int></param>
            <param name="minWidth"><int>32</int></param>
        </theme>
        <param name="smallGap"><dimension>8,8</dimension></param>
        <param name="mediumGap"><dimension>10,10</dimension></param>
        <param name="largeGap"><dimension>15,15</dimension></param>
        <param name="defaultGap"><dimension>5,5</dimension></param>
        <param name="namedGaps">
            <map>
            </map>
        </param>
        <theme name="preview" ref="-defaults">
            <theme name="colorarea" ref="-defaults">
                <param name="background"><image>progress-white</image></param>
            </theme>
            <param name="minWidth"><int>32</int></param>
            <param name="minHeight"><int>64</int></param>
            <param name="border"><border>2</border></param>
        </theme>
        <theme name="hexColorEditField" ref="editfield">
            <param name="tooltip"><string>Current color in ARGB hex format</string></param>
        </theme>
        <theme name="previewLabel" ref="label"/>
    </theme>
    <theme name="tooltipwindow" ref="-defaults">
        <param name="fadeInTime"><int>50</int></param>
    </theme>
    <theme name="listbox" ref="-defaults">
        <theme name="display" ref="-defaults">
            <param name="background"><image>button</image></param>
        </theme>
    </theme>
    <theme name="listbox-noback" ref="-defaults">
        <theme name="display" ref="-defaults">
        </theme>
    </theme>
    <theme name="progressbar" ref="-defaults">
        <param name="background"><image>background</image></param>
        <param name="progressImage"><image>progress</image></param>
        <param name="overlay"><image>button-border</image></param>
    </theme>
    <theme name="progressbar-white" ref="-defaults">
        <param name="background"><image>background</image></param>
        <param name="progressImage"><image>progress-white</image></param>
        <param name="overlay"><image>button-border</image></param>
    </theme>
    <theme name="progressbar-noback" ref="-defaults">
        <param name="background"><image>none</image></param>
        <param name="progressImage"><image>progress</image></param>
        <param name="overlay"><image>button-border</image></param>
    </theme>
    <theme name="progressbar-white-noback" ref="-defaults">
        <param name="background"><image>none</image></param>
        <param name="progressImage"><image>progress-white</image></param>
        <param name="overlay"><image>button-border</image></param>
    </theme>
    <theme name="combobox" ref="-defaults">
        <theme name="display" ref="-defaults">
            <param name="background"><image>background</image></param>
        </theme>
    </theme>
    <theme name="comboboxPopup" ref="-defaults"/>

</themes>
