File: GUIScheme.xsd

package info (click to toggle)
cegui-mk2 0.8.7%2Bgit20220615-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 57,816 kB
  • sloc: cpp: 306,263; python: 1,175; ansic: 812; sh: 616; xml: 191; java: 162; makefile: 21
file content (56 lines) | stat: -rw-r--r-- 2,990 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xsd:element name="GUIScheme" type="SchemeType" />
	<xsd:complexType name="SchemeType">
        <xsd:choice minOccurs="0" maxOccurs="unbounded">
			<xsd:element name="Imageset" type="NamedDataType" />
            <xsd:element name="ImagesetFromImage" type="NamedDataType" />
			<xsd:element name="Font" type="NamedDataType" />
            <xsd:element name="LookNFeel" type="FileDataType" />
			<xsd:element name="WindowSet" type="WindowSetType" />
			<xsd:element name="WindowRendererSet" type="WindowRendererSetType" />
			<xsd:element name="WindowAlias" type="WindowAliasType" />
            <xsd:element name="FalagardMapping" type="FalagardMapType" />
		</xsd:choice>
		<xsd:attribute name="name" type="xsd:string" use="required" />
		<xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
	</xsd:complexType>
	<xsd:complexType name="WindowSetType">
		<xsd:sequence>
            <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="filename" type="xsd:string" use="required" />
	</xsd:complexType>
	<xsd:complexType name="WindowRendererSetType">
		<xsd:sequence>
            <xsd:element name="WindowRendererFactory" type="WindowRendererFactoryType" minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="filename" type="xsd:string" use="required" />
	</xsd:complexType>
    <xsd:complexType name="FileDataType">
        <xsd:attribute name="filename" type="xsd:string" use="required" />
        <xsd:attribute name="resourceGroup" type="xsd:string" use="optional"  default="" />
    </xsd:complexType>
	<xsd:complexType name="NamedDataType">
		<xsd:attribute name="name" type="xsd:string" use="optional" default="" />
		<xsd:attribute name="filename" type="xsd:string" use="required" />
		<xsd:attribute name="resourceGroup" type="xsd:string" use="optional"  default="" />
	</xsd:complexType>
	<xsd:complexType name="WindowFactoryType">
		<xsd:attribute name="name" type="xsd:string" use="required" />
	</xsd:complexType>
	<xsd:complexType name="WindowRendererFactoryType">
		<xsd:attribute name="name" type="xsd:string" use="required" />
	</xsd:complexType>
	<xsd:complexType name="WindowAliasType">
		<xsd:attribute name="alias" type="xsd:string" use="required" />
		<xsd:attribute name="target" type="xsd:string" use="required" />
	</xsd:complexType>
    <xsd:complexType name="FalagardMapType">
        <xsd:attribute name="windowType" type="xsd:string" use="required" />
        <xsd:attribute name="targetType" type="xsd:string" use="required" />
		<xsd:attribute name="renderer" type="xsd:string" use="required" />
        <xsd:attribute name="lookNFeel" type="xsd:string" use="required" />
        <xsd:attribute name="renderEffect" type="xsd:string" use="optional" default="" />
    </xsd:complexType>
</xsd:schema>