Changeset 11121 for code/branches/cegui0.8/data/gui
- Timestamp:
- Feb 18, 2016, 10:58:18 PM (9 years ago)
- Location:
- code/branches/cegui0.8/data/gui
- Files:
-
- 3 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 -
code/branches/cegui0.8/data/gui/layouts/GUILayout.xsd
r9348 r11121 2 2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 3 3 4 <xsd:element name="GUILayout" type="GUILayoutType"/> 4 <xsd:element name="GUILayout" type="GUILayoutType"/> 5 6 <xsd:complexType name="GUILayoutType"> 7 <xsd:sequence> 8 <xsd:element name="Window" type="WindowType" /> 9 </xsd:sequence> 10 <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" /> 11 </xsd:complexType> 12 13 <xsd:complexType name="WindowType"> 14 <xsd:sequence> 15 <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> 16 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 17 <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> 18 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 19 <xsd:element name="Window" type="WindowType" /> 20 <xsd:element name="AutoWindow" type="AutoWindowType" /> 21 </xsd:choice> 22 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 23 <xsd:element name="UserString" type="UserStringType" minOccurs="0" maxOccurs="unbounded" /> 24 </xsd:sequence> 25 <xsd:attribute name="type" type="xsd:string" use="required"/> 26 <xsd:attribute name="name" type="xsd:string" use="optional" default="" /> 27 </xsd:complexType> 5 28 6 <xsd:complexType name="GUILayoutType"> 7 <xsd:sequence> 8 <xsd:element name="Window" type="WindowType" /> 9 </xsd:sequence> 10 <xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/> 11 </xsd:complexType> 29 <xsd:complexType name="AutoWindowType"> 30 <xsd:sequence> 31 <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> 32 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 33 <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> 34 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 35 <xsd:element name="Window" type="WindowType" /> 36 <xsd:element name="AutoWindow" type="AutoWindowType" /> 37 </xsd:choice> 38 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 39 </xsd:sequence> 40 <xsd:attribute name="namePath" type="xsd:string" use="required"/> 41 </xsd:complexType> 12 42 13 <xsd:complexType name="WindowType"> 14 <xsd:sequence> 15 <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> 16 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 17 <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> 18 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 19 <xsd:element name="Window" type="WindowType" /> 20 <xsd:element name="AutoWindow" type="AutoWindowType" /> 21 </xsd:choice> 22 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 23 </xsd:sequence> 24 <xsd:attribute name="Type" type="xsd:string" use="required"/> 25 <xsd:attribute name="Name" type="xsd:string" use="optional" default="" /> 26 </xsd:complexType> 43 <xsd:complexType name="PropertyType"> 44 <xsd:simpleContent> 45 <xsd:extension base="xsd:string"> 46 <xsd:attribute name="name" type="xsd:string" use="required"/> 47 <xsd:attribute name="value" type="xsd:string" use="optional"/> 48 </xsd:extension> 49 </xsd:simpleContent> 50 </xsd:complexType> 51 52 <xsd:complexType name="UserStringType"> 53 <xsd:simpleContent> 54 <xsd:extension base="xsd:string"> 55 <xsd:attribute name="name" type="xsd:string" use="required"/> 56 <xsd:attribute name="value" type="xsd:string" use="optional"/> 57 </xsd:extension> 58 </xsd:simpleContent> 59 </xsd:complexType> 60 61 <xsd:complexType name="LayoutImportType"> 62 <xsd:attribute name="filename" type="xsd:string" use="required"/> 63 <xsd:attribute name="resourceGroup" type="xsd:string" use="optional" default="" /> 64 </xsd:complexType> 27 65 28 <xsd:complexType name="AutoWindowType"> 29 <xsd:sequence> 30 <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> 31 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 32 <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> 33 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 34 <xsd:element name="Window" type="WindowType" /> 35 <xsd:element name="AutoWindow" type="AutoWindowType" /> 36 </xsd:choice> 37 <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> 38 </xsd:sequence> 39 <xsd:attribute name="NameSuffix" type="xsd:string" use="required"/> 40 </xsd:complexType> 41 42 <xsd:complexType name="PropertyType"> 43 <xsd:simpleContent> 44 <xsd:extension base="xsd:string"> 45 <xsd:attribute name="Name" type="xsd:string" use="required"/> 46 <xsd:attribute name="Value" type="xsd:string" use="optional"/> 47 </xsd:extension> 48 </xsd:simpleContent> 49 </xsd:complexType> 50 51 <xsd:complexType name="LayoutImportType"> 52 <xsd:attribute name="Filename" type="xsd:string" use="required"/> 53 <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" /> 54 <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> 55 </xsd:complexType> 56 57 <xsd:complexType name="EventType"> 58 <xsd:attribute name="Name" type="xsd:string" use="required"/> 59 <xsd:attribute name="Function" type="xsd:string" use="required"/> 60 </xsd:complexType> 66 <xsd:complexType name="EventType"> 67 <xsd:attribute name="name" type="xsd:string" use="required"/> 68 <xsd:attribute name="function" type="xsd:string" use="required"/> 69 </xsd:complexType> 61 70 62 71 </xsd:schema> -
code/branches/cegui0.8/data/gui/schemes/GUIScheme.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="GUIScheme" type="SchemeType" /> 4 <xsd:complexType name="SchemeType"> 5 5 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 6 6 <xsd:element name="Imageset" type="NamedDataType" /> 7 7 <xsd:element name="ImagesetFromImage" type="NamedDataType" /> 8 8 <xsd:element name="Font" type="NamedDataType" /> 9 9 <xsd:element name="LookNFeel" type="FileDataType" /> 10 11 12 10 <xsd:element name="WindowSet" type="WindowSetType" /> 11 <xsd:element name="WindowRendererSet" type="WindowRendererSetType" /> 12 <xsd:element name="WindowAlias" type="WindowAliasType" /> 13 13 <xsd:element name="FalagardMapping" type="FalagardMapType" /> 14 </xsd:choice> 15 <xsd:attribute name="Name" type="xsd:string" use="required" /> 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="" /> 16 33 </xsd:complexType> 17 <xsd:complexType name="WindowSetType"> 18 <xsd:sequence> 19 <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" /> 20 </xsd:sequence> 21 <xsd:attribute name="Filename" type="xsd:string" use="required" /> 22 </xsd:complexType> 23 <xsd:complexType name="WindowRendererSetType"> 24 <xsd:sequence> 25 <xsd:element name="WindowRendererFactory" type="WindowRendererFactoryType" minOccurs="0" maxOccurs="unbounded" /> 26 </xsd:sequence> 27 <xsd:attribute name="Filename" type="xsd:string" use="required" /> 28 </xsd:complexType> 29 <xsd:complexType name="FileDataType"> 30 <xsd:attribute name="Filename" type="xsd:string" use="required" /> 31 <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> 32 </xsd:complexType> 33 <xsd:complexType name="NamedDataType"> 34 <xsd:attribute name="Name" type="xsd:string" use="required" /> 35 <xsd:attribute name="Filename" type="xsd:string" use="required" /> 36 <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> 37 </xsd:complexType> 38 <xsd:complexType name="WindowFactoryType"> 39 <xsd:attribute name="Name" type="xsd:string" use="required" /> 40 </xsd:complexType> 41 <xsd:complexType name="WindowRendererFactoryType"> 42 <xsd:attribute name="Name" type="xsd:string" use="required" /> 43 </xsd:complexType> 44 <xsd:complexType name="WindowAliasType"> 45 <xsd:attribute name="Alias" type="xsd:string" use="required" /> 46 <xsd:attribute name="Target" type="xsd:string" use="required" /> 47 </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> 48 49 <xsd:complexType name="FalagardMapType"> 49 <xsd:attribute name="WindowType" type="xsd:string" use="required" /> 50 <xsd:attribute name="TargetType" type="xsd:string" use="required" /> 51 <xsd:attribute name="Renderer" type="xsd:string" use="required" /> 52 <xsd:attribute name="LookNFeel" type="xsd:string" use="required" /> 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="" /> 53 55 </xsd:complexType> 54 56 </xsd:schema>
Note: See TracChangeset
for help on using the changeset viewer.