Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/levels/data/gui/configs/Imageset.xsd @ 6874

Last change on this file since 6874 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
4        <xsd:element name="Imageset" type="ImagesetType"/>
5       
6        <xsd:complexType name="ImagesetType">
7                <xsd:sequence>
8                        <xsd:element name="Image" type="ImageType" maxOccurs="unbounded"/>
9                </xsd:sequence>
10                <xsd:attribute name="Imagefile" type="xsd:string" use="required"/>
11                <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
12                <xsd:attribute name="Name" type="xsd:string" use="required"/>
13                <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
14                <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
15                <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
16        </xsd:complexType>
17       
18        <xsd:complexType name="ImageType">
19                <xsd:attribute name="Name" type="xsd:string" use="required"/>
20                <xsd:attribute name="XPos" type="xsd:nonNegativeInteger" use="required"/>
21                <xsd:attribute name="YPos" type="xsd:nonNegativeInteger" use="required"/>
22                <xsd:attribute name="Width" type="xsd:nonNegativeInteger" use="required"/>
23                <xsd:attribute name="Height" type="xsd:nonNegativeInteger" use="required"/>
24                <xsd:attribute name="XOffset" type="xsd:integer" use="optional" default="0"/>
25                <xsd:attribute name="YOffset" type="xsd:integer" use="optional" default="0"/>                                           
26        </xsd:complexType>
27
28</xsd:schema>
Note: See TracBrowser for help on using the repository browser.