]> git.sesse.net Git - vlc/blob - modules/gui/skins/parser/skin.dtd
* modules/gui/skins/*: Added a "playondrop" attribute to the "Window"
[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.5 2003/10/22 19:12:56 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         playondrop  CDATA   "true"
75     >
76
77 <!ELEMENT ControlGroup (ControlGroup|ImageControl|ButtonControl|PlayListControl|
78                         SliderControl|TextControl|CheckBoxControl|
79                         RectangleControl|Anchor)+>
80     <!ATTLIST ControlGroup
81         x           CDATA   "\0"
82         y           CDATA   "\0"
83     >
84
85 <!-- Anchors -->
86 <!ELEMENT Anchor EMPTY>
87     <!ATTLIST Anchor
88         x           CDATA   "\0"
89         y           CDATA   "\0"
90         priority    CDATA   #REQUIRED
91         range       CDATA   "10"
92     >
93
94 <!-- Controls -->
95 <!ELEMENT ImageControl EMPTY>
96     <!ATTLIST ImageControl
97         id          CDATA   "none"
98         visible     CDATA   "true"
99         x           CDATA   "\0"
100         y           CDATA   "\0"
101         image       CDATA   #REQUIRED
102         onclick     CDATA   "none"
103         help        CDATA   "\0"
104     >
105 <!ELEMENT RectangleControl EMPTY>
106     <!ATTLIST RectangleControl
107         id          CDATA   "none"
108         visible     CDATA   "true"
109         x           CDATA   "\0"
110         y           CDATA   "\0"
111         w           CDATA   "50"
112         h           CDATA   "50"
113         color       CDATA   "#C0C0C0"
114         onclick     CDATA   "none"
115         help        CDATA   "\0"
116     >
117 <!ELEMENT ButtonControl EMPTY>
118     <!ATTLIST ButtonControl
119         id          CDATA   "none"
120         visible     CDATA   "true"
121         x           CDATA   "\0"
122         y           CDATA   "\0"
123         up          CDATA   #REQUIRED
124         down        CDATA   #REQUIRED
125         disabled    CDATA   "none"
126         onclick     CDATA   "none"
127         onmouseover CDATA   "none"
128         onmouseout  CDATA   "none"
129         tooltiptext CDATA   "none"
130         help        CDATA   "\0"
131     >
132 <!ELEMENT CheckBoxControl EMPTY>
133     <!ATTLIST CheckBoxControl
134         id           CDATA   "none"
135         visible      CDATA   "true"
136         x            CDATA   "\0"
137         y            CDATA   "\0"
138         img1         CDATA   #REQUIRED
139         clickimg1    CDATA   "none"
140         img2         CDATA   #REQUIRED
141         clickimg2    CDATA   "none"
142         disabled1    CDATA   "none"
143         disabled2    CDATA   "none"
144         onclick1     CDATA   "none"
145         onclick2     CDATA   "none"
146         onmouseover1 CDATA   "none"
147         onmouseout1  CDATA   "none"
148         onmouseover2 CDATA   "none"
149         onmouseout2  CDATA   "none"
150         tooltiptext1 CDATA   "none"
151         tooltiptext2 CDATA   "none"
152         help         CDATA   "\0"
153     >
154 <!ELEMENT SliderControl EMPTY>
155     <!ATTLIST SliderControl
156         id          CDATA   "none"
157         visible     CDATA   "true"
158         x           CDATA   "\0"
159         y           CDATA   "\0"
160         type        CDATA   "time"
161         up          CDATA   #REQUIRED
162         down        CDATA   #REQUIRED
163         abs         CDATA   #REQUIRED
164         ord         CDATA   #REQUIRED
165         tooltiptext CDATA   "none"
166         help        CDATA   "\0"
167     >
168 <!ELEMENT TextControl EMPTY>
169     <!ATTLIST TextControl
170         id          CDATA   "none"
171         visible     CDATA   "true"
172         x           CDATA   "\0"
173         y           CDATA   "\0"
174         text        CDATA   ""
175         font        CDATA   #REQUIRED
176         align       CDATA   "left"
177         width       CDATA   "\0"
178         display     CDATA   "none"
179         scroll      CDATA   "true"
180         scrollspace CDATA   "20"
181         help        CDATA   "\0"
182     >
183 <!ELEMENT PlayListControl SliderControl>
184     <!ATTLIST PlayListControl
185         id          CDATA   "none"
186         visible     CDATA   "true"
187         x           CDATA   "\0"
188         y           CDATA   "\0"
189         width       CDATA   "200"
190         infowidth   CDATA   "50"
191         font        CDATA   #REQUIRED
192         playfont    CDATA   "none"
193         selcolor    CDATA   "#0000FF"
194         abs         CDATA   #REQUIRED
195         ord         CDATA   #REQUIRED
196         help        CDATA   "\0"
197         longfilename CDATA   "false"
198     >