GUILayout.xsd
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:2k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. <?xml version="1.0"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  3. <xsd:element name="GUILayout" type="GUILayoutType"/>
  4. <xsd:complexType name="GUILayoutType">
  5. <xsd:sequence>
  6. <xsd:element name="Window" type="WindowType" />
  7. </xsd:sequence>
  8. <xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/>
  9. </xsd:complexType>
  10. <xsd:complexType name="WindowType">
  11. <xsd:sequence>
  12. <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
  13. <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
  14. <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
  15. <xsd:element name="Window" type="WindowType"  minOccurs="0" maxOccurs="unbounded" />
  16. <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
  17. </xsd:sequence>
  18. <xsd:attribute name="Type" type="xsd:string" use="required"/>
  19. <xsd:attribute name="Name" type="xsd:string" use="required"/>
  20. </xsd:complexType>
  21. <xsd:complexType name="PropertyType">
  22. <xsd:attribute name="Name" type="xsd:string" use="required"/>
  23. <xsd:attribute name="Value" type="xsd:string" use="required"/>
  24. </xsd:complexType>
  25. <xsd:complexType name="LayoutImportType">
  26. <xsd:attribute name="Filename" type="xsd:string" use="required"/>
  27. <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" />
  28. <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
  29. </xsd:complexType>
  30. <xsd:complexType name="EventType">
  31. <xsd:attribute name="Name" type="xsd:string" use="required"/>
  32. <xsd:attribute name="Function" type="xsd:string" use="required"/>
  33. </xsd:complexType>
  34. </xsd:schema>