skin.dtd 7.56 KB
Newer Older
1
<!-- version 2.0
2 3 4
-->


5
<!ELEMENT Theme (ThemeInfo,(Include|Bitmap|BitmapFont|Font|Window)*)>
6
    <!ATTLIST Theme
7 8
        version     CDATA   #REQUIRED
        tooltipfont CDATA   "defaultfont"
9 10 11 12 13 14
        magnet      CDATA   "15"
        alpha       CDATA   "255"
        movealpha   CDATA   "255"
    >

<!-- main elements -->
15 16 17 18
<!ELEMENT Include EMPTY>
    <!ATTLIST Include
        file        CDATA   #REQUIRED
    >
19
<!ELEMENT Bitmap (SubBitmap)*>
20 21 22 23
    <!ATTLIST Bitmap
        id          CDATA   #REQUIRED
        file        CDATA   #REQUIRED
        alphacolor  CDATA   #REQUIRED
24 25
        nbFrames    CDATA   "1"
        fps         CDATA   "0"
26
    >
27 28 29 30 31 32 33
<!ELEMENT SubBitmap EMPTY>
    <!ATTLIST SubBitmap
        id          CDATA   #REQUIRED
        x           CDATA   #REQUIRED
        y           CDATA   #REQUIRED
        width       CDATA   #REQUIRED
        height      CDATA   #REQUIRED
34 35
        nbFrames    CDATA   "1"
        fps         CDATA   "0"
36
    >
37 38 39
<!ELEMENT Font EMPTY>
    <!ATTLIST Font
        id          CDATA   #REQUIRED
40
        file        CDATA   #REQUIRED
41 42
        size        CDATA   "12"
    >
43
<!ELEMENT BitmapFont EMPTY>
44
    <!ATTLIST BitmapFont
45 46 47 48
        id          CDATA   #REQUIRED
        file        CDATA   #REQUIRED
        type        CDATA   "digits"
    >
49 50 51 52 53 54 55 56 57
<!ELEMENT ThemeInfo EMPTY>
    <!ATTLIST ThemeInfo
        name        CDATA   #IMPLIED
        author      CDATA   #IMPLIED
        email       CDATA   #IMPLIED
        webpage     CDATA   #IMPLIED
    >
<!ELEMENT Window (Layout)+>
    <!ATTLIST Window
58
        id          CDATA   "none"
59
        visible     CDATA   "true"
60 61
        x           CDATA   "0"
        y           CDATA   "0"
62 63 64 65 66 67 68 69 70 71 72 73 74
        dragdrop    CDATA   "true"
        playondrop  CDATA   "true"
    >
<!ELEMENT Layout (Group)>
    <!ATTLIST Layout
        id          CDATA   "none"
        width       CDATA   #REQUIRED
        height      CDATA   #REQUIRED
        minwidth    CDATA   "-1"
        maxwidth    CDATA   "-1"
        minheight   CDATA   "-1"
        maxheight   CDATA   "-1"
    >
75
<!ELEMENT Group (Group|Image|Button|Playlist|Slider|RadialSlider|Text|Checkbox|
76
                 Anchor|Video|Playtree)+>
77
    <!ATTLIST Group
78 79
        x           CDATA   "0"
        y           CDATA   "0"
80 81 82 83 84
    >

<!-- Anchors -->
<!ELEMENT Anchor EMPTY>
    <!ATTLIST Anchor
85 86
        x           CDATA   "0"
        y           CDATA   "0"
87
        priority    CDATA   #REQUIRED
88
        points      CDATA   "(0,0)"
89 90 91 92 93 94 95 96
        range       CDATA   "10"
    >

<!-- Controls -->
<!ELEMENT Image EMPTY>
    <!ATTLIST Image
        id          CDATA   "none"
        visible     CDATA   "true"
97 98
        x           CDATA   "0"
        y           CDATA   "0"
99 100 101
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        image       CDATA   #REQUIRED
102
        action      CDATA   "none"
103
        action2     CDATA   "none"
104
        resize      CDATA   "mosaic"
105
        help        CDATA   ""
106 107 108 109
    >
<!ELEMENT Button EMPTY>
    <!ATTLIST Button
        id          CDATA   "none"
110
        visible     CDATA   "true"
111 112
        x           CDATA   "0"
        y           CDATA   "0"
113 114 115 116 117 118
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        up          CDATA   #REQUIRED
        down        CDATA   "none"
        over        CDATA   "none"
        action      CDATA   "none"
119 120
        tooltiptext CDATA   ""
        help        CDATA   ""
121
    >
122 123
<!ELEMENT Checkbox EMPTY>
    <!ATTLIST Checkbox
124
        id           CDATA   "none"
125
        visible      CDATA   "true"
126 127
        x            CDATA   "0"
        y            CDATA   "0"
128 129 130 131 132 133 134 135 136 137 138
        lefttop      CDATA   "lefttop"
        rightbottom  CDATA   "lefttop"
        up1          CDATA   #REQUIRED
        down1        CDATA   "none"
        over1        CDATA   "none"
        up2          CDATA   #REQUIRED
        down2        CDATA   "none"
        over2        CDATA   "none"
        state        CDATA   #REQUIRED
        action1      CDATA   "none"
        action2      CDATA   "none"
139 140 141
        tooltiptext1 CDATA   ""
        tooltiptext2 CDATA   ""
        help         CDATA   ""
142
    >
143
<!ELEMENT Slider (SliderBackground)?>
144 145 146
    <!ATTLIST Slider
        id          CDATA   "none"
        visible     CDATA   "true"
147 148
        x           CDATA   "0"
        y           CDATA   "0"
149 150 151 152 153 154 155 156
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        up          CDATA   #REQUIRED
        down        CDATA   "none"
        over        CDATA   "none"
        points      CDATA   #REQUIRED
        thickness   CDATA   "10"
        value       CDATA   "none"
157
        background  CDATA   "none"
158 159
        tooltiptext CDATA   ""
        help        CDATA   ""
160
    >
161 162 163 164 165 166 167 168 169
<!ELEMENT SliderBackground EMPTY>
    <!ATTLIST SliderBackground
        id          CDATA   "none"
        image       CDATA   #REQUIRED
        nbhoriz     CDATA   "1"
        nbvert      CDATA   "1"
        padhoriz    CDATA   "0"
        padvert     CDATA   "0"
    >
170 171 172 173
<!ELEMENT RadialSlider EMPTY>
    <!ATTLIST RadialSlider
        id          CDATA   "none"
        visible     CDATA   "true"
174 175
        x           CDATA   "0"
        y           CDATA   "0"
176 177 178 179
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        sequence    CDATA   #REQUIRED
        nbimages    CDATA   #REQUIRED
180
        minangle    CDATA   "0"
181 182
        maxangle    CDATA   "360"
        value       CDATA   "none"
183 184
        tooltiptext CDATA   ""
        help        CDATA   ""
185 186 187 188 189
    >
<!ELEMENT Text EMPTY>
    <!ATTLIST Text
        id          CDATA   "none"
        visible     CDATA   "true"
190 191
        x           CDATA   "0"
        y           CDATA   "0"
192 193 194
        width       CDATA   "0"
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
195
        text        CDATA   ""
196
        font        CDATA   #REQUIRED
197
        color       CDATA   "#000000"
198 199
        scrolling   CDATA   "auto"
        alignment   CDATA   "left"
200
        help        CDATA   ""
201
    >
202
<!ELEMENT Playlist (Slider)?>
203 204 205
    <!ATTLIST Playlist
        id          CDATA   #REQUIRED
        visible     CDATA   "true"
206 207 208 209
        x           CDATA   "0"
        y           CDATA   "0"
        width       CDATA   "0"
        height      CDATA   "0"
210 211 212
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        font        CDATA   #REQUIRED
213
        bgimage     CDATA   "none"
214 215 216 217 218
        fgcolor     CDATA   "#000000"
        playcolor   CDATA   "#FF0000"
        bgcolor1    CDATA   "#FFFFFF"
        bgcolor2    CDATA   "#FFFFFF"
        selcolor    CDATA   "#0000FF"
219
        help        CDATA   ""
220
    >
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
<!ELEMENT Playtree (Slider)?>
    <!ATTLIST Playtree
        id          CDATA   #REQUIRED
        visible     CDATA   "true"
        x           CDATA   "0"
        y           CDATA   "0"
        width       CDATA   "0"
        height      CDATA   "0"
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
        font        CDATA   #REQUIRED
        bgimage     CDATA   "none"
        itemimage   CDATA   "none"
        openimage   CDATA   "none"
        closedimage CDATA   "none"
        fgcolor     CDATA   "#000000"
        playcolor   CDATA   "#FF0000"
        bgcolor1    CDATA   "#FFFFFF"
        bgcolor2    CDATA   "#FFFFFF"
        selcolor    CDATA   "#0000FF"
        help        CDATA   ""
    >
243 244 245 246 247 248 249 250 251 252
<!ELEMENT Video EMPTY>
    <!ATTLIST Video
        id          CDATA   "none"
        visible     CDATA   "true"
        x           CDATA   "0"
        y           CDATA   "0"
        width       CDATA   "0"
        height      CDATA   "0"
        lefttop     CDATA   "lefttop"
        rightbottom CDATA   "lefttop"
253
        autoresize  CDATA   "false"
254 255
        help        CDATA   ""
    >