[5700] | 1 | <?xml version="1.0"?> |
---|
| 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
---|
[8079] | 3 | <xsd:element name="CEGUIConfig" type="CEGUIConfigType"/> |
---|
[5700] | 4 | |
---|
[11795] | 5 | <xsd:complexType name="CEGUIConfigType"> |
---|
| 6 | <xsd:sequence> |
---|
| 7 | <xsd:choice minOccurs="0" maxOccurs="unbounded"> |
---|
| 8 | <xsd:element name="Logging" type="loggingType" /> |
---|
| 9 | <xsd:element name="AutoLoad" type="autoLoadType" /> |
---|
| 10 | <xsd:element name="ResourceDirectory" type="resourceDirectoryType" /> |
---|
| 11 | <xsd:element name="DefaultResourceGroup" type="defaultResourceGroupType" /> |
---|
| 12 | <xsd:element name="Scripting" type="scriptingType" /> |
---|
| 13 | <xsd:element name="DefaultXMLParser" type="defaultObjectType" /> |
---|
| 14 | <xsd:element name="DefaultImageCodec" type="defaultObjectType" /> |
---|
| 15 | <xsd:element name="DefaultFont" type="defaultObjectType" /> |
---|
| 16 | <xsd:element name="DefaultMouseCursor" type="defaultMouseCursorType" /> |
---|
| 17 | <xsd:element name="DefaultTooltip" type="defaultObjectType" /> |
---|
| 18 | <xsd:element name="DefaultGUISheet" type="defaultObjectType" /> |
---|
| 19 | </xsd:choice> |
---|
| 20 | </xsd:sequence> |
---|
| 21 | </xsd:complexType> |
---|
| 22 | |
---|
| 23 | <xsd:complexType name="loggingType"> |
---|
| 24 | <xsd:simpleContent> |
---|
| 25 | <xsd:extension base="xsd:string"> |
---|
| 26 | <xsd:attribute name="filename" type="xsd:string" use="optional" default="CEGUI.log" /> |
---|
| 27 | <xsd:attribute name="level" type="logLevel" use="optional" default="Standard" /> |
---|
| 28 | </xsd:extension> |
---|
| 29 | </xsd:simpleContent> |
---|
| 30 | </xsd:complexType> |
---|
| 31 | |
---|
| 32 | <xsd:complexType name="autoLoadType"> |
---|
| 33 | <xsd:simpleContent> |
---|
| 34 | <xsd:extension base="xsd:string"> |
---|
| 35 | <xsd:attribute name="type" type="resourceType" use="required" /> |
---|
| 36 | <xsd:attribute name="group" type="xsd:string" use="optional" default="" /> |
---|
| 37 | <xsd:attribute name="pattern" type="xsd:string" use="optional" default="*" /> |
---|
| 38 | </xsd:extension> |
---|
| 39 | </xsd:simpleContent> |
---|
| 40 | </xsd:complexType> |
---|
| 41 | |
---|
| 42 | <xsd:complexType name="resourceDirectoryType"> |
---|
| 43 | <xsd:simpleContent> |
---|
| 44 | <xsd:extension base="xsd:string"> |
---|
| 45 | <xsd:attribute name="group" type="xsd:string" use="required" /> |
---|
| 46 | <xsd:attribute name="directory" type="xsd:string" use="required" /> |
---|
| 47 | </xsd:extension> |
---|
| 48 | </xsd:simpleContent> |
---|
| 49 | </xsd:complexType> |
---|
| 50 | |
---|
| 51 | <xsd:complexType name="defaultResourceGroupType"> |
---|
| 52 | <xsd:simpleContent> |
---|
| 53 | <xsd:extension base="xsd:string"> |
---|
| 54 | <xsd:attribute name="type" type="resourceType" use="optional" default="Default" /> |
---|
| 55 | <xsd:attribute name="group" type="xsd:string" use="required" /> |
---|
| 56 | </xsd:extension> |
---|
| 57 | </xsd:simpleContent> |
---|
| 58 | </xsd:complexType> |
---|
| 59 | |
---|
| 60 | <xsd:complexType name="scriptingType"> |
---|
| 61 | <xsd:simpleContent> |
---|
| 62 | <xsd:extension base="xsd:string"> |
---|
| 63 | <xsd:attribute name="initScript" type="xsd:string" use="optional" default="" /> |
---|
| 64 | <xsd:attribute name="terminateScript" type="xsd:string" use="optional" default="" /> |
---|
| 65 | </xsd:extension> |
---|
| 66 | </xsd:simpleContent> |
---|
| 67 | </xsd:complexType> |
---|
| 68 | |
---|
| 69 | <xsd:complexType name="defaultObjectType"> |
---|
| 70 | <xsd:simpleContent> |
---|
| 71 | <xsd:extension base="xsd:string"> |
---|
| 72 | <xsd:attribute name="name" type="xsd:string" use="required" /> |
---|
| 73 | </xsd:extension> |
---|
| 74 | </xsd:simpleContent> |
---|
| 75 | </xsd:complexType> |
---|
| 76 | |
---|
| 77 | <xsd:complexType name="defaultMouseCursorType"> |
---|
| 78 | <xsd:simpleContent> |
---|
| 79 | <xsd:extension base="xsd:string"> |
---|
| 80 | <xsd:attribute name="imageset" type="xsd:string" use="required" /> |
---|
| 81 | <xsd:attribute name="image" type="xsd:string" use="required" /> |
---|
| 82 | </xsd:extension> |
---|
| 83 | </xsd:simpleContent> |
---|
| 84 | </xsd:complexType> |
---|
| 85 | |
---|
| 86 | <xsd:simpleType name="logLevel"> |
---|
[5700] | 87 | <xsd:restriction base="xsd:string"> |
---|
| 88 | <xsd:enumeration value="Errors"/> |
---|
| 89 | <xsd:enumeration value="Standard"/> |
---|
| 90 | <xsd:enumeration value="Informative"/> |
---|
| 91 | <xsd:enumeration value="Insane"/> |
---|
| 92 | </xsd:restriction> |
---|
| 93 | </xsd:simpleType> |
---|
[8079] | 94 | |
---|
[11795] | 95 | <xsd:simpleType name="resourceType"> |
---|
| 96 | <xsd:restriction base="xsd:string"> |
---|
| 97 | <xsd:enumeration value="Imageset"/> |
---|
| 98 | <xsd:enumeration value="Font"/> |
---|
| 99 | <xsd:enumeration value="Scheme"/> |
---|
| 100 | <xsd:enumeration value="LookNFeel"/> |
---|
| 101 | <xsd:enumeration value="Layout"/> |
---|
| 102 | <xsd:enumeration value="Script"/> |
---|
| 103 | <xsd:enumeration value="XMLSchema"/> |
---|
| 104 | <xsd:enumeration value="Default"/> |
---|
| 105 | </xsd:restriction> |
---|
| 106 | </xsd:simpleType> |
---|
[8079] | 107 | |
---|
[5700] | 108 | </xsd:schema> |
---|