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

Revision 1049, 1.7 KB checked in by szirmay, 19 years ago (diff)
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
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="Parent" type="xsd:string" use="optional" default=""/>
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:element name="Window" type="WindowType"  minOccurs="0" maxOccurs="unbounded" />
19                        <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
20                </xsd:sequence>
21                <xsd:attribute name="Type" type="xsd:string" use="required"/>
22                <xsd:attribute name="Name" type="xsd:string" use="required"/>
23        </xsd:complexType>
24
25        <xsd:complexType name="PropertyType">
26                <xsd:attribute name="Name" type="xsd:string" use="required"/>
27                <xsd:attribute name="Value" type="xsd:string" use="required"/>
28        </xsd:complexType>
29
30        <xsd:complexType name="LayoutImportType">
31                <xsd:attribute name="Filename" type="xsd:string" use="required"/>
32                <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" />
33                <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
34        </xsd:complexType>
35
36        <xsd:complexType name="EventType">
37                <xsd:attribute name="Name" type="xsd:string" use="required"/>
38                <xsd:attribute name="Function" type="xsd:string" use="required"/>
39        </xsd:complexType>
40
41</xsd:schema>
42
Note: See TracBrowser for help on using the repository browser.