Changeset 11121 for code/branches/cegui0.8/data/gui/configs
- Timestamp:
- Feb 18, 2016, 10:58:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8/data/gui/configs/CEGUIConfig.xsd
r8079 r11121 1 1 <?xml version="1.0"?> 2 2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 3 4 3 <xsd:element name="CEGUIConfig" type="CEGUIConfigType"/> 5 4 6 <xsd:simpleType name="LogLevel"> 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"> 7 87 <xsd:restriction base="xsd:string"> 8 88 <xsd:enumeration value="Errors"/> … … 13 93 </xsd:simpleType> 14 94 15 <xsd:complexType name="CEGUIConfigType"> 16 <xsd:attribute name="Logfile" type="xsd:string" use="optional" default=""/> 17 <xsd:attribute name="Scheme" type="xsd:string" use="optional" default=""/> 18 <xsd:attribute name="DefaultFont" type="xsd:string" use="optional" default=""/> 19 <xsd:attribute name="Layout" type="xsd:string" use="optional" default=""/> 20 <xsd:attribute name="InitScript" type="xsd:string" use="optional" default=""/> 21 <xsd:attribute name="TerminateScript" type="xsd:string" use="optional" default=""/> 22 <xsd:attribute name="DefaultResourceGroup" type="xsd:string" use="optional" default="" /> 23 <xsd:attribute name="LoggingLevel" type="LogLevel" use="optional" default="Standard" /> 24 </xsd:complexType> 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> 25 107 26 108 </xsd:schema> 27 28
Note: See TracChangeset
for help on using the changeset viewer.