source: GTP/trunk/App/Games/CarDriving_BME/Media/gui/GUIScheme.xsd @ 1049

Revision 1049, 2.2 KB checked in by szirmay, 18 years ago (diff)
Line 
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="WindowAlias" type="WindowAliasType" />
12            <xsd:element name="FalagardMapping" type="FalagardMapType" />
13                </xsd:choice>
14                <xsd:attribute name="Name" type="xsd:string" use="required" />
15        </xsd:complexType>
16        <xsd:complexType name="WindowSetType">
17                <xsd:sequence>
18            <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" />
19                </xsd:sequence>
20                <xsd:attribute name="Filename" type="xsd:string" use="required" />
21        </xsd:complexType>
22    <xsd:complexType name="FileDataType">
23        <xsd:attribute name="Filename" type="xsd:string" use="required" />
24        <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
25    </xsd:complexType>
26        <xsd:complexType name="NamedDataType">
27                <xsd:attribute name="Name" type="xsd:string" use="required" />
28                <xsd:attribute name="Filename" type="xsd:string" use="required" />
29                <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
30        </xsd:complexType>
31        <xsd:complexType name="WindowFactoryType">
32                <xsd:attribute name="Name" type="xsd:string" use="required" />
33        </xsd:complexType>
34        <xsd:complexType name="WindowAliasType">
35                <xsd:attribute name="Alias" type="xsd:string" use="required" />
36                <xsd:attribute name="Target" type="xsd:string" use="required" />
37        </xsd:complexType>
38    <xsd:complexType name="FalagardMapType">
39        <xsd:attribute name="WindowType" type="xsd:string" use="required" />
40        <xsd:attribute name="TargetType" type="xsd:string" use="required" />
41        <xsd:attribute name="LookNFeel" type="xsd:string" use="required" />
42    </xsd:complexType>
43</xsd:schema>
Note: See TracBrowser for help on using the repository browser.