Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 18, 2016, 10:58:18 PM (9 years ago)
Author:
landauf
Message:

updated xsd files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8/data/gui/schemes/GUIScheme.xsd

    r8079 r11121  
    11<?xml version="1.0" ?>
    22<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    3     <xsd:element name="GUIScheme" type="SchemeType" />
    4     <xsd:complexType name="SchemeType">
     3        <xsd:element name="GUIScheme" type="SchemeType" />
     4        <xsd:complexType name="SchemeType">
    55        <xsd:choice minOccurs="0" maxOccurs="unbounded">
    6             <xsd:element name="Imageset" type="NamedDataType" />
     6                        <xsd:element name="Imageset" type="NamedDataType" />
    77            <xsd:element name="ImagesetFromImage" type="NamedDataType" />
    8             <xsd:element name="Font" type="NamedDataType" />
     8                        <xsd:element name="Font" type="NamedDataType" />
    99            <xsd:element name="LookNFeel" type="FileDataType" />
    10             <xsd:element name="WindowSet" type="WindowSetType" />
    11             <xsd:element name="WindowRendererSet" type="WindowRendererSetType" />
    12             <xsd:element name="WindowAlias" type="WindowAliasType" />
     10                        <xsd:element name="WindowSet" type="WindowSetType" />
     11                        <xsd:element name="WindowRendererSet" type="WindowRendererSetType" />
     12                        <xsd:element name="WindowAlias" type="WindowAliasType" />
    1313            <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="" />
    1633    </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>
    4849    <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="" />
    5355    </xsd:complexType>
    5456</xsd:schema>
Note: See TracChangeset for help on using the changeset viewer.