Added checkmate animation.
[NALCG.git] / data / gui / Font.xsd
blob5ab529cd75a44309a10d6fafc92f89c75e15af36
1 <?xml version="1.0" ?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3 <xsd:element name="Font" type="FontType" />
5 <xsd:complexType name="FontType">
6 <xsd:sequence>
7 <xsd:element name="Mapping" type="MapType" maxOccurs="unbounded" minOccurs="0" />
8 </xsd:sequence>
9 <xsd:attributeGroup ref="FontAttrs" />
10 </xsd:complexType>
11 <xsd:complexType name="MapType">
12 <xsd:attribute name="Codepoint" type="xsd:nonNegativeInteger" use="required" />
13 <xsd:attribute name="Image" type="xsd:string" use="required" />
14 <xsd:attribute name="HorzAdvance" type="xsd:integer" use="optional" default="-1" />
15 </xsd:complexType>
16 <xsd:attributeGroup name="FontAttrs">
17 <xsd:attribute name="Name" type="xsd:string" use="required" />
18 <xsd:attribute name="Filename" type="xsd:string" use="required" />
19 <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" />
20 <xsd:attribute name="Type" use="required">
21 <xsd:simpleType>
22 <xsd:restriction base="xsd:string">
23 <xsd:enumeration value="FreeType" />
24 <xsd:enumeration value="Pixmap" />
25 </xsd:restriction>
26 </xsd:simpleType>
27 </xsd:attribute>
28 <xsd:attribute name="Size" type="xsd:nonNegativeInteger" use="optional" default="12" />
29 <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
30 <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
31 <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
32 <xsd:attribute name="AntiAlias" type="xsd:boolean" use="optional" default="true" />
33 </xsd:attributeGroup>
34 </xsd:schema>