ewol/dataTest/exemple.eol

59 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<eol>
<!-- can have "color" and "group" that is consider as global ... -->
<!-- example of a single element -->
<element name="plop"
ratio="1.0"
ClipX="false"
ClipY="false"
internalElemXStart="0.25"
internalElemXStop="0.75"
internalElemYStart="0.25"
internalElemYStop="0.75">
<!--
note we have 5 methode to reference a color :
- #RRGGBB ==> in hexa 0x00<=x<=0xFF
- #RRGGBBAA ==> in hexa 0x00<=x<=0xFF
- R.R;G.G;B.B ==> in double 0<=x<=1
- R.R;G.G;B.B;A.A ==> in double 0<=x<=1
- &NameColor ==> search internal color of the element and after global color ...
-->
<color name="Background" val="#151515"/>
<color name="Border" val="0.0;0.000512;1.0;0.755562535"/>
<!--...-->
<group name="basicRect">
<rect color="..."
position="0.53;0.56"
size="0.22;0.11"
/>
<Line color="..."
positionStart="0.53;0.56"
positionStop="0.22;0.11"
thickness="0.05"
/>
<!-- and more basic display -->
</group>
<!--...-->
<frame id=0 name="basic">
<rect color="..."
position="0.53;0.56"
size="0.22;0.11"
/>
</frame>
<frame id=0 name="hover">
<rect color="..."
position="0.53;0.56"
size="0.22;0.11"
/>
<group name="basicRect"/>
</frame>
<!--...-->
</element>
<!--...-->
</eol>