src/login/login.xml
changeset 262 f896aec65113
parent 222 1a55988d61a5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/login/login.xml	Sat Feb 11 13:27:12 2012 +0100
     1.3 @@ -0,0 +1,108 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!DOCTYPE themes PUBLIC "-//www.matthiasmann.de//TWL-Theme//EN" "http://hg.l33tlabs.org/twl/raw-file/tip/src/de/matthiasmann/twl/theme/theme.dtd">
     1.6 +<themes>
     1.7 +
     1.8 +    <images file="../chat/chat.png" format="RGBA" filter="linear">
     1.9 +        <area name="tooltip.background" border="3" xywh="1,24,7,7" splitx="L3,R3" splity="T3,B3"/>
    1.10 +        <area name="evilframe.background" border="27,10,10,10" xywh="40,1,20,29" splitx="L5,R5" splity="T19,B5"/>
    1.11 +        
    1.12 +        <area name="-innerframe.background" splitx="2,3" splity="2,3" xywh="17,1,5,5"/>
    1.13 +        <select name="innerframe.background" border="2">
    1.14 +            <alias ref="-innerframe.background" if="disabled" tint="#888"/>
    1.15 +            <alias ref="-innerframe.background"/>
    1.16 +        </select>
    1.17 +        
    1.18 +        <area name="-editfield.cursor" xywh="1,1,1,1"/>
    1.19 +        <animation name="editfield.cursor" timeSource="keyboardFocus">
    1.20 +            <frame ref="-editfield.cursor" duration="500"/>
    1.21 +            <frame ref="none" duration="500"/>
    1.22 +        </animation>
    1.23 +        <area name="editfield.selection" tint="#E000FEFF" xywh="1,1,1,1"/>
    1.24 +    </images>
    1.25 +
    1.26 +    <images file="../test/chaos_sphere_blue_800x600.png" format="RGB" filter="linear">
    1.27 +        <area name="background-image" xywh="0,0,800,600"/>
    1.28 +    </images>
    1.29 +
    1.30 +    <include filename="../test/cursors.xml"/>
    1.31 +
    1.32 +    <fontDef name="normal" filename="../test/font.fnt" color="white">
    1.33 +        <fontParam if="error" color="red"/>
    1.34 +        <fontParam if="disabled" color="gray"/>
    1.35 +        <fontParam if="textSelection" color="blue"/>
    1.36 +    </fontDef>
    1.37 +    <fontDef name="black" filename="../test/font.fnt" color="black"/>
    1.38 +
    1.39 +    <fontDef name="button" filename="../test/font.fnt" color="white">
    1.40 +        <fontParam if="disabled" color="gray"/>
    1.41 +        <fontParam if="pressed" offsetX="1" offsetY="1"/>
    1.42 +    </fontDef>
    1.43 +    
    1.44 +    <inputMapDef name="-defaultInputMap">
    1.45 +        <action name="selectAll">ctrl A</action>
    1.46 +        <action name="cut">ctrl X</action>
    1.47 +        <action name="copy">ctrl C</action>
    1.48 +        <action name="paste">ctrl V</action>
    1.49 +    </inputMapDef>
    1.50 +
    1.51 +    <theme name="-defaults">
    1.52 +        <param name="background"><image>none</image></param>
    1.53 +        <param name="overlay"><image>none</image></param>
    1.54 +        <param name="font"><font>normal</font></param>
    1.55 +        <param name="textAlignment"><enum type="alignment">left</enum></param>
    1.56 +        <param name="minWidth"><int>0</int></param>
    1.57 +        <param name="minHeight"><int>0</int></param>
    1.58 +        <param name="maxWidth"><int>0</int></param>
    1.59 +        <param name="maxHeight"><int>0</int></param>
    1.60 +        <param name="inputMap"><inputMap>-defaultInputMap</inputMap></param>
    1.61 +        <!-- a wildcard in the base theme allows to make a flat theme -->
    1.62 +        <theme name="" ref="*"/>
    1.63 +    </theme>
    1.64 +
    1.65 +    <theme name="fpscounter" ref="-defaults" allowWildcard="true">
    1.66 +        <param name="tooltip"><string>Current FPS</string></param>
    1.67 +    </theme>
    1.68 +
    1.69 +    <theme name="label" ref="-defaults" allowWildcard="true"/>
    1.70 +    
    1.71 +    <theme name="button" ref="-defaults" allowWildcard="true">
    1.72 +        <param name="background"><image>innerframe.background</image></param>
    1.73 +        <param name="border"><border>background.border</border></param>
    1.74 +        <param name="font"><font>button</font></param>
    1.75 +    </theme>
    1.76 +    
    1.77 +    <theme name="tooltipwindow" ref="-defaults">
    1.78 +        <param name="background"><image>tooltip.background</image></param>
    1.79 +        <param name="border"><border>5</border></param>
    1.80 +        <param name="fadeInTime"><int>0</int></param>
    1.81 +        <theme name="label" ref="-defaults">
    1.82 +            <param name="font"><font>black</font></param>
    1.83 +        </theme>
    1.84 +    </theme>
    1.85 +
    1.86 +    <theme name="editfield" ref="-defaults" allowWildcard="true">
    1.87 +        <param name=""><image>editfield.*</image></param>
    1.88 +        <param name="background"><image>innerframe.background</image></param>
    1.89 +        <param name="border"><border>background.border</border></param>
    1.90 +        <param name="passwordChar"><int>0x25CF</int></param>
    1.91 +        <param name="maxWidth"><int>32767</int></param>
    1.92 +        <param name="columns"><int>20</int></param>
    1.93 +        <param name="mouseCursor"><cursor>cursor.text</cursor></param>
    1.94 +        <theme name="renderer" ref="-defaults"/>
    1.95 +        <param name="autocompletion-height"><int>150</int></param>
    1.96 +    </theme>
    1.97 +
    1.98 +    <theme name="logindemo" ref="-defaults">
    1.99 +        <param name="background"><image>background-image</image></param>
   1.100 +    </theme>
   1.101 +
   1.102 +    <theme name="login-panel" ref="-defaults" allowWildcard="true">
   1.103 +                    <param name="background"><image>evilframe.background</image></param>
   1.104 +                    <param name="border"><border>background.border</border></param>
   1.105 +        <param name="defaultGap"><dimension>5,5</dimension></param>
   1.106 +        <param name="smallGap"><dimension>8,8</dimension></param>
   1.107 +        <param name="mediumGap"><dimension>10,10</dimension></param>
   1.108 +        <param name="largeGap"><dimension>15,15</dimension></param>
   1.109 +        <param name="namedGaps"><map/></param>
   1.110 +    </theme>
   1.111 +</themes>