]> git.sesse.net Git - vlc/blob - modules/gui/skins/parser/skin.dtd
30f314640aa36510c0a8260972e64f11517e30c5
[vlc] / modules / gui / skins / parser / skin.dtd
1 <!--
2  *****************************************************************************
3  * skin.dtd: DTD for the VLC skins
4  *****************************************************************************
5  * Copyright (C) 2003 VideoLAN
6  * $Id: skin.dtd,v 1.4 2003/04/20 20:28:39 ipkiss Exp $
7  *
8  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
9  *          Emmanuel Puig    <karibu@via.ecp.fr>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111,
24  * USA.
25  *****************************************************************************
26 -->
27
28
29 <!ELEMENT Theme (ThemeInfo,(Bitmap|Font|Window|Event)*)>
30     <!ATTLIST Theme
31         magnet      CDATA   "9"
32     >
33
34 <!-- main elements -->
35 <!ELEMENT Bitmap EMPTY>
36     <!ATTLIST Bitmap
37         id          CDATA   #REQUIRED
38         file        CDATA   #REQUIRED
39         alphacolor  CDATA   #REQUIRED
40     >
41 <!ELEMENT Event EMPTY>
42     <!ATTLIST Event
43         id          CDATA   #REQUIRED
44         event       CDATA   #REQUIRED
45         key         CDATA   "none"
46     >
47 <!ELEMENT Font EMPTY>
48     <!ATTLIST Font
49         id          CDATA   "default"
50         font        CDATA   "arial"
51         size        CDATA   "12"
52         color       CDATA   "#000000"
53         weight      CDATA   "400"
54         italic      CDATA   "false"
55         underline   CDATA   "false"
56     >
57 <!ELEMENT ThemeInfo EMPTY>
58     <!ATTLIST ThemeInfo
59         name        CDATA   #IMPLIED
60         author      CDATA   #IMPLIED
61         email       CDATA   #IMPLIED
62         webpage     CDATA   #IMPLIED
63     >
64 <!ELEMENT Window (ControlGroup)>
65     <!ATTLIST Window
66         id          CDATA   #REQUIRED
67         visible     CDATA   "true"
68         x           CDATA   "\0"
69         y           CDATA   "\0"
70         fadetime    CDATA   "500"
71         alpha       CDATA   "255"
72         movealpha   CDATA   "255"
73         dragdrop    CDATA   "true"
74     >
75
76 <!ELEMENT ControlGroup (ControlGroup|ImageControl|ButtonControl|PlayListControl|
77                         SliderControl|TextControl|CheckBoxControl|
78                         RectangleControl|Anchor)+>
79     <!ATTLIST ControlGroup
80         x           CDATA   "\0"
81         y           CDATA   "\0"
82     >
83
84 <!-- Anchors -->
85 <!ELEMENT Anchor EMPTY>
86     <!ATTLIST Anchor
87         x           CDATA   "\0"
88         y           CDATA   "\0"
89         priority    CDATA   #REQUIRED
90         range       CDATA   "10"
91     >
92
93 <!-- Controls -->
94 <!ELEMENT ImageControl EMPTY>
95     <!ATTLIST ImageControl
96         id          CDATA   "none"
97         visible     CDATA   "true"
98         x           CDATA   "\0"
99         y           CDATA   "\0"
100         image       CDATA   #REQUIRED
101         onclick     CDATA   "none"
102         help        CDATA   "\0"
103     >
104 <!ELEMENT RectangleControl EMPTY>
105     <!ATTLIST RectangleControl
106         id          CDATA   "none"
107         visible     CDATA   "true"
108         x           CDATA   "\0"
109         y           CDATA   "\0"
110         w           CDATA   "50"
111         h           CDATA   "50"
112         color       CDATA   "#C0C0C0"
113         onclick     CDATA   "none"
114         help        CDATA   "\0"
115     >
116 <!ELEMENT ButtonControl EMPTY>
117     <!ATTLIST ButtonControl
118         id          CDATA   "none"
119         visible     CDATA   "true"
120         x           CDATA   "\0"
121         y           CDATA   "\0"
122         up          CDATA   #REQUIRED
123         down        CDATA   #REQUIRED
124         disabled    CDATA   "none"
125         onclick     CDATA   "none"
126         onmouseover CDATA   "none"
127         onmouseout  CDATA   "none"
128         tooltiptext CDATA   "none"
129         help        CDATA   "\0"
130     >
131 <!ELEMENT CheckBoxControl EMPTY>
132     <!ATTLIST CheckBoxControl
133         id           CDATA   "none"
134         visible      CDATA   "true"
135         x            CDATA   "\0"
136         y            CDATA   "\0"
137         img1         CDATA   #REQUIRED
138         clickimg1    CDATA   "none"
139         img2         CDATA   #REQUIRED
140         clickimg2    CDATA   "none"
141         disabled1    CDATA   "none"
142         disabled2    CDATA   "none"
143         onclick1     CDATA   "none"
144         onclick2     CDATA   "none"
145         onmouseover1 CDATA   "none"
146         onmouseout1  CDATA   "none"
147         onmouseover2 CDATA   "none"
148         onmouseout2  CDATA   "none"
149         tooltiptext1 CDATA   "none"
150         tooltiptext2 CDATA   "none"
151         help         CDATA   "\0"
152     >
153 <!ELEMENT SliderControl EMPTY>
154     <!ATTLIST SliderControl
155         id          CDATA   "none"
156         visible     CDATA   "true"
157         x           CDATA   "\0"
158         y           CDATA   "\0"
159         type        CDATA   "time"
160         up          CDATA   #REQUIRED
161         down        CDATA   #REQUIRED
162         abs         CDATA   #REQUIRED
163         ord         CDATA   #REQUIRED
164         tooltiptext CDATA   "none"
165         help        CDATA   "\0"
166     >
167 <!ELEMENT TextControl EMPTY>
168     <!ATTLIST TextControl
169         id          CDATA   "none"
170         visible     CDATA   "true"
171         x           CDATA   "\0"
172         y           CDATA   "\0"
173         text        CDATA   ""
174         font        CDATA   #REQUIRED
175         align       CDATA   "left"
176         width       CDATA   "\0"
177         display     CDATA   "none"
178         scroll      CDATA   "true"
179         scrollspace CDATA   "20"
180         help        CDATA   "\0"
181     >
182 <!ELEMENT PlayListControl SliderControl>
183     <!ATTLIST PlayListControl
184         id          CDATA   "none"
185         visible     CDATA   "true"
186         x           CDATA   "\0"
187         y           CDATA   "\0"
188         width       CDATA   "200"
189         infowidth   CDATA   "50"
190         font        CDATA   #REQUIRED
191         playfont    CDATA   "none"
192         selcolor    CDATA   "#0000FF"
193         abs         CDATA   #REQUIRED
194         ord         CDATA   #REQUIRED
195         help        CDATA   "\0"
196         longfilename CDATA   "false"
197     >