|
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|
2 <xsd:schema xmlns="http://www.nokia.com/sdt/ui/skin" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.nokia.com/sdt/ui/skin"> |
|
3 <xsd:element name="skin"> |
|
4 <xsd:annotation> |
|
5 <xsd:documentation>Skin used to define the appearance and layout of the UI design surface</xsd:documentation> |
|
6 </xsd:annotation> |
|
7 <xsd:complexType> |
|
8 <xsd:sequence> |
|
9 <xsd:element ref="editorArea"/> |
|
10 <xsd:element maxOccurs="unbounded" minOccurs="0" ref="hotZone"/> |
|
11 <xsd:element maxOccurs="1" minOccurs="0" ref="backgroundColor"/> |
|
12 </xsd:sequence> |
|
13 <xsd:attribute name="name" type="xsd:string" use="required"/> |
|
14 <xsd:attribute name="width" type="xsd:short" use="required"/> |
|
15 <xsd:attribute name="height" type="xsd:short" use="required"/> |
|
16 <xsd:attribute name="imageFilePath" type="xsd:string" use="required"/> |
|
17 </xsd:complexType> |
|
18 </xsd:element> |
|
19 <xsd:element name="backgroundColor"> |
|
20 <xsd:annotation> |
|
21 <xsd:documentation>Defines the background color the editor should take to match the skin</xsd:documentation> |
|
22 </xsd:annotation> |
|
23 <xsd:complexType> |
|
24 <xsd:attribute name="red" type="xsd:short" use="required"/> |
|
25 <xsd:attribute name="green" type="xsd:short" use="required"/> |
|
26 <xsd:attribute name="blue" type="xsd:short" use="required"/> |
|
27 </xsd:complexType> |
|
28 </xsd:element> |
|
29 <xsd:element name="editorArea"> |
|
30 <xsd:annotation> |
|
31 <xsd:documentation>Defines the size and location of the visual layout area</xsd:documentation> |
|
32 </xsd:annotation> |
|
33 <xsd:complexType> |
|
34 <xsd:attribute name="x" type="xsd:short" use="required"/> |
|
35 <xsd:attribute name="y" type="xsd:short" use="required"/> |
|
36 <xsd:attribute name="width" type="xsd:short" use="required"/> |
|
37 <xsd:attribute name="height" type="xsd:short" use="required"/> |
|
38 </xsd:complexType> |
|
39 </xsd:element> |
|
40 <xsd:element name="hotZone"> |
|
41 <xsd:annotation> |
|
42 <xsd:documentation>Rectangular region of the skin that can have different visual states and receive mouse events</xsd:documentation> |
|
43 </xsd:annotation> |
|
44 <xsd:complexType> |
|
45 <xsd:sequence> |
|
46 <xsd:element name="event"> |
|
47 <xsd:complexType> |
|
48 <xsd:attribute name="id" type="xsd:string" use="required"/> |
|
49 </xsd:complexType> |
|
50 </xsd:element> |
|
51 <xsd:element maxOccurs="unbounded" minOccurs="0" name="state"> |
|
52 <xsd:complexType> |
|
53 <xsd:attribute name="name" type="xsd:string" use="required"/> |
|
54 <xsd:attribute name="imageFilePath" type="xsd:string" use="required"/> |
|
55 </xsd:complexType> |
|
56 </xsd:element> |
|
57 </xsd:sequence> |
|
58 <xsd:attribute name="x" type="xsd:short" use="required"/> |
|
59 <xsd:attribute name="y" type="xsd:short" use="required"/> |
|
60 <xsd:attribute name="width" type="xsd:short" use="required"/> |
|
61 <xsd:attribute name="height" type="xsd:short" use="required"/> |
|
62 <xsd:attribute default="false" name="sticky" type="xsd:boolean"/> |
|
63 </xsd:complexType> |
|
64 </xsd:element> |
|
65 </xsd:schema> |