Merge pull request #8 from filux/translations2
[megaglest-data.git] / data / cegui / themes / default / xml_schemas / GUIScheme.xsd
blob410d01a76be356c25ecfc102bd9712b6d8fc6af7
1 <?xml version="1.0" ?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3 <xsd:element name="GUIScheme" type="SchemeType" />
4 <xsd:complexType name="SchemeType">
5 <xsd:choice minOccurs="0" maxOccurs="unbounded">
6 <xsd:element name="Imageset" type="NamedDataType" />
7 <xsd:element name="ImagesetFromImage" type="NamedDataType" />
8 <xsd:element name="Font" type="NamedDataType" />
9 <xsd:element name="LookNFeel" type="FileDataType" />
10 <xsd:element name="WindowSet" type="WindowSetType" />
11 <xsd:element name="WindowRendererSet" type="WindowRendererSetType" />
12 <xsd:element name="WindowAlias" type="WindowAliasType" />
13 <xsd:element name="FalagardMapping" type="FalagardMapType" />
14 </xsd:choice>
15 <xsd:attribute name="name" type="xsd:string" use="required" />
16 <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
17 </xsd:complexType>
18 <xsd:complexType name="WindowSetType">
19 <xsd:sequence>
20 <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" />
21 </xsd:sequence>
22 <xsd:attribute name="filename" type="xsd:string" use="required" />
23 </xsd:complexType>
24 <xsd:complexType name="WindowRendererSetType">
25 <xsd:sequence>
26 <xsd:element name="WindowRendererFactory" type="WindowRendererFactoryType" minOccurs="0" maxOccurs="unbounded" />
27 </xsd:sequence>
28 <xsd:attribute name="filename" type="xsd:string" use="required" />
29 </xsd:complexType>
30 <xsd:complexType name="FileDataType">
31 <xsd:attribute name="filename" type="xsd:string" use="required" />
32 <xsd:attribute name="resourceGroup" type="xsd:string" use="optional" default="" />
33 </xsd:complexType>
34 <xsd:complexType name="NamedDataType">
35 <xsd:attribute name="name" type="xsd:string" use="optional" default="" />
36 <xsd:attribute name="filename" type="xsd:string" use="required" />
37 <xsd:attribute name="resourceGroup" type="xsd:string" use="optional" default="" />
38 </xsd:complexType>
39 <xsd:complexType name="WindowFactoryType">
40 <xsd:attribute name="name" type="xsd:string" use="required" />
41 </xsd:complexType>
42 <xsd:complexType name="WindowRendererFactoryType">
43 <xsd:attribute name="name" type="xsd:string" use="required" />
44 </xsd:complexType>
45 <xsd:complexType name="WindowAliasType">
46 <xsd:attribute name="alias" type="xsd:string" use="required" />
47 <xsd:attribute name="target" type="xsd:string" use="required" />
48 </xsd:complexType>
49 <xsd:complexType name="FalagardMapType">
50 <xsd:attribute name="windowType" type="xsd:string" use="required" />
51 <xsd:attribute name="targetType" type="xsd:string" use="required" />
52 <xsd:attribute name="renderer" type="xsd:string" use="required" />
53 <xsd:attribute name="lookNFeel" type="xsd:string" use="required" />
54 <xsd:attribute name="renderEffect" type="xsd:string" use="optional" default="" />
55 </xsd:complexType>
56 </xsd:schema>