annotate DOCS/xml/en/skin.xml @ 14059:384ae6f896cf

Explain how (not) to handle execute permissions and binary files.
author diego
date Mon, 29 Nov 2004 11:28:02 +0000
parents e193600132d5
children 9635dcba8f29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10875
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <appendix id="skin">
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
4 <title><application>MPlayer</application> skin format</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
6 The purpose of this document is to describe the
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
7 <application>MPlayer</application> skin format. The information contained here
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
8 might be wrong, for
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 <listitem><para>It is not me who wrote the GUI.</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 <listitem><para>The GUI is not finished.</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 <listitem><para>I might be wrong.</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 So do not be surprised if something does not work as described here.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <para>Thanks to <emphasis>Zoltán Ponekker</emphasis> for his help.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 <para><emphasis>András Mohari &lt;mayday@freemail.hu&gt;</emphasis></para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <sect1 id="skin-overview">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <title>Overview</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 It does not really have anything to do with the skin format, but you should
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
25 know that <application>MPlayer</application> has <emphasis role="bold">no</emphasis>
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
26 builtin skin, so <emphasis role="bold">at least one skin must be installed
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
27 in order to be able to use the GUI.</emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <sect2 id="skin-overview-directories">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <title>Directories</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 The directories searched for skins are (in order):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <filename class="directory">$(DATADIR)/Skin/</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <filename class="directory">$(PREFIX)/share/mplayer/Skin/</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <filename class="directory">~/.mplayer/Skin/</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
48 Note that the first path may vary according to the way <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
49 was configured (see the <option>--prefix</option> and <option>--datadir</option>
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
50 arguments of the <command>configure</command> script).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 Every skin is installed into its own directory under one of the directories
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 listed above, for example:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <screen>$(PREFIX)/share/mplayer/Skin/default/</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
60 <sect2 id="skin-overview-formats">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 <title>Image formats</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 <para>Images must be truecolor (24 or 32 bpp) PNGs.</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 In the main window and in the playbar (see below) you can use images with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 `transparency': Regions filled with the color #FF00FF (magenta) are fully
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
66 transparent when viewed by <application>MPlayer</application>. This means
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
67 that you can even have shaped windows if your X server has the XShape extension.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 <sect2 id="skin-overview-components">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 <title>Skin components</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <para>
11715
ff768aa3c2fc missing <application> tags
paszczi
parents: 11540
diff changeset
74 Skins are quite free-format (unlike the fixed-format skins of
ff768aa3c2fc missing <application> tags
paszczi
parents: 11540
diff changeset
75 <application>Winamp</application>/<application>XMMS</application>,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 for example), so it is up to you to create something great.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <para>
12405
e7bdd6e9c6f9 wrong number, pointed out by Scognito
diego
parents: 11715
diff changeset
80 Currently there are four windows to be decorated: the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 <link linkend="skin-file-main">main window</link>, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <link linkend="skin-file-subwindow">subwindow</link>, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 <link linkend="skin-file-main">playbar</link>, and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 <link linkend="skin-file-menu">skin menu</link> (which can be activated
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 by a right click).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 The <emphasis role="bold">main window</emphasis> and/or the
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
90 <emphasis role="bold">playbar</emphasis> is where you can control
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
91 <application>MPlayer</application>. The background of the window is an image.
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
92 Various items can (and must) be placed in the window: <emphasis>buttons</emphasis>,
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
93 <emphasis>potmeters</emphasis> (sliders) and <emphasis>labels</emphasis>.
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
94 For every item, you must specify its position and size.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96 A <emphasis role="bold">button</emphasis> has three states (pressed, released,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 disabled), thus its image must be divided into three parts vertically. See the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 <link linkend="skin-button">button</link> item for details.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 A <emphasis role="bold">potmeter</emphasis> (mainly used for the seek bar and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 volume/balance control) can have any number of phases by dividing its image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 into different parts below each other. See
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <link linkend="skin-hpotmeter">hpotmeter</link> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <link linkend="skin-potmeter">potmeter</link> for details.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 <emphasis role="bold">Labels</emphasis> are a bit special: The characters
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 needed to draw them are taken from an image file, and the characters in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 image are described by a <link linkend="skin-fonts">font description file</link>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 The latter is a plain text file which specifies the x,y position and size of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 each character in the image (the image file and its font description file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 form a font <emphasis>together</emphasis>). See <link linkend="skin-dlabel">dlabel</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 and <link linkend="skin-slabel">slabel</link> for details.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <note><para>All images can have full transparency as described in the section about
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 <link linkend="skin-overview-formats">image formats</link>. If the X server
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 doesn't support the XShape extension, the parts marked transparent will be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 black. If you'd like to use this feature, the width of the main window's
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 background image must be dividable by 8.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 The <emphasis role="bold">subwindow</emphasis> is where the movie appears. It
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 can display a specified image if there is no movie loaded (it is quite boring
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 to have an empty window :-)) <emphasis role="bold">Note:</emphasis> transparency
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 is <emphasis role="bold">not allowed</emphasis> here.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 <listitem><para>
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
130 The <emphasis role="bold">skin menu</emphasis> is just a way to control
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
131 <application>MPlayer</application> by means of menu entries. Two images
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
132 are required for the menu: one of them is the base image that shows the
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
133 menu in its normal state, the other one is used to display the selected
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
134 entries. When you pop up the menu, the first image is shown. If you move
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
135 the mouse over the menu entries, the currently selected entry is copied
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
136 from the second image over the menu entry below the mouse pointer
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 (the second image is never shown as a whole).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 A menu entry is defined by its position and size in the image (see the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 section about the <link linkend="skin-file-menu">skin menu</link> for details).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 There is an important thing not mentioned yet: For buttons, potmeters and
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
147 menu entries to work, <application>MPlayer</application> must know what to
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
148 do if they are clicked. This is done by <link linkend="skin-gui">messages</link>
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
149 (events). For these items you must define the messages to be generated when
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
150 they are clicked.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 <sect2 id="skin-files">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <title>Files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 You need the following files to build a skin:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 The configuration file named <link linkend="skin-file">skin</link> tells
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
161 <application>MPlayer</application> how to put different parts of the skin
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
162 together and what to do if you click somewhere in the window.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 The background image for the main window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 Images for the items in the main window (including one or more font
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 description files needed to draw labels).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 The image to be displayed in the subwindow (optional).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 Two images for the skin menu (they are needed only if you want to create
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 a menu).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 With the exception of the skin configuration file, you can name the other
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 files whatever you want (but note that font description files must have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 a <filename>.fnt</filename> extension).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 </sect1>
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12438
diff changeset
185
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <sect1 id="skin-file">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <title>The skin file</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 As mentioned above, this is the skin configuration file. It is line oriented;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 comment lines start with a '<literal>;</literal>' character at the beginning
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 of the line (only spaces and tabs are allowed before the '<literal>;</literal>').
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 The file is made up of sections. Each section describes the skin for an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 application and has the following form:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 section = <replaceable>section name</replaceable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 .
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 .
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 .
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 end
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
207 Currently there is only one application, so you need only one section: its name is
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
208 <emphasis role="bold">movieplayer</emphasis>.
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
209 </para>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
210
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
211 <para>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
212 Within this section each window is described by a block of the following form:
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
213 <programlisting>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
214 window = <replaceable>window name</replaceable>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
215 .
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
216 .
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
217 .
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
218 end
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
219 </programlisting>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
220 </para>
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
221
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
222 <para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
223 where <replaceable>window name</replaceable> can be one of these strings:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
224 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
225 <listitem><para><emphasis role="bold">main</emphasis> - for the main window</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 <listitem><para><emphasis role="bold">sub</emphasis> - for the subwindow</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 <listitem><para><emphasis role="bold">menu</emphasis> - for the skin menu</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 <listitem><para><emphasis role="bold">playbar</emphasis> - playbar</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 (The sub and menu blocks are optional - you do not need to create a menu or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 decorate the subwindow.)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 Within a window block, you can define each item for the window by a line in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 this form:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <programlisting>item = parameter</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 Where <literal>item</literal> is a string that identifies the type of the GUI
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 item, <literal>parameter</literal> is a numeric or textual value (or a list of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 values separated by commas).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 Putting the above together, the whole file looks something like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 section = movieplayer
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 window = main
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 ; ... items for main window ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 end
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 window = sub
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 ; ... items for subwindow ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 end
12815
3c99b7a8c840 trailing whitespace removed (cosmetics)
diego
parents: 12438
diff changeset
257
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 window = menu
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 ; ... items for menu ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 end
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 window = playbar
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 ; ... items for playbar ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 end
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 end
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 The name of an image file must be given without leading directories - images
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 are searched for in the <filename class="directory">Skin</filename> directory.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 You may (but you need not) specify the extension of the file. If the file does
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
273 not exist, <application>MPlayer</application> tries to load the file
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <filename>&lt;filename&gt;.&lt;ext&gt;</filename>, where <literal>png</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 and <literal>PNG</literal> are tried for <filename>&lt;ext&gt;</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 (in this order). The first matching file will be used.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 Finally some words about positioning. The main window and the subwindow can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 be placed in the different corners of the screen by giving <literal>X</literal> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 <literal>Y</literal> coordinates. <literal>0</literal> is top or left,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <literal>-1</literal> is center and <literal>-2</literal> is right or bottom, as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 shown in this illustration:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 (0, 0)----(-1, 0)----(-2, 0)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 | | |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 | | |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 (0,-1)----(-1,-1)----(-2,-1)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 | | |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 | | |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 (0,-2)----(-1,-2)----(-2,-2)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 </informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 Here is an example to make this clear. Suppose that you have an image called
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <filename>main.png</filename> that you use for the main window:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <programlisting>base = main, -1, -1</programlisting>
11540
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
302 <application>MPlayer</application> tries to load <filename>main</filename>,
d480f7e36b74 <application> attack
wight
parents: 11444
diff changeset
303 <filename>main.png</filename>, <filename>main.PNG</filename> files.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 <sect2 id="skin-file-main">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 <title>Main window and playbar</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 Below is the list of entries that can be used in the
11444
d6ef9000aed5 &nbsp; removed for added consistency, we do not use them anywhere else.
diego
parents: 10913
diff changeset
311 '<literal>window = main</literal>' ... '<literal>end</literal>',
d6ef9000aed5 &nbsp; removed for added consistency, we do not use them anywhere else.
diego
parents: 10913
diff changeset
312 and the '<literal>window = playbar</literal>' ... '<literal>end</literal>'
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 blocks.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 <anchor id="skin-main-base"/>base = image, X, Y
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 Lets you specify the background image to be used for the main window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 The window will appear at the given <literal>X,Y</literal> position on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 the screen The window will have the size of the image.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 <note><para>These coordinates do not currently work for the display window.</para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 <warning><para>Transparent regions in the image (colored #FF00FF) appear black
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 on X servers without the XShape extension. The image's width must be dividable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 by 8.</para></warning>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 <anchor id="skin-button"/>button = image, X, Y, width, height, message
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 Place a button of <literal>width</literal> * <literal>height</literal> size at
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 position <literal>X,Y</literal>. The specified <literal>message</literal> is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 generated when the button is clicked. The image given by <literal>image</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
341 must have three parts below each other (according to the possible states of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 button), like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 <informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
347 | pressed |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 | released |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351 | disabled |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354 </informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 <anchor id="skin-decoration"/>decoration = enable|disable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 Enable or disable window manager decoration of the main window. Default is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 <emphasis role="bold">disable</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 <note><para>This doesn't work for the display window, there is no need to.</para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 <anchor id="skin-hpotmeter"/>hpotmeter = button, bwidth, bheight, phases, numphases, default, X, Y, width, height, message
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 <anchor id="skin-vpotmeter"/>vpotmeter = button, bwidth, bheight, phases, numphases, default, X, Y, width, height, message
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 Place a horizontal (hpotmeter) or vertical (vpotmeter) potmeter of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <literal>width</literal> * <literal>height</literal> size at position
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 <literal>X,Y</literal>. The image can be divided into different parts for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387 different phases of the potmeter (for example, you can have a pot for volume
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 control that turns from green to red while its value changes from the minimum
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 to the maximum.). <literal>hpotmeter</literal> can have a button that can be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
390 dragged horizontally. The parameters are:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 <listitem><para><literal>button</literal> - the image to be used for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394 button (must have three parts below each other, like in case of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 <link linkend="skin-button">button</link>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </para></listitem>
12438
a380d3539e42 missing spaces
diego
parents: 12405
diff changeset
397 <listitem><para><literal>bwidth</literal>, <literal>bheight</literal> - size
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 of the button
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 <listitem><para><literal>phases</literal> - the image to be used for the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401 different phases of the hpotmeter. A special value of <literal>NULL</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
402 can be used if you want no such image. The image must be divided into
12438
a380d3539e42 missing spaces
diego
parents: 12405
diff changeset
403 <literal>numphases</literal> parts vertically like this:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 <informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
408 | phase #1 |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 | phase #2 |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 ...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 | phase #n |
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 +------------+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 </informalfigure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 <listitem><para><literal>numphases</literal> - number of phases stored in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 <literal>phases</literal> image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
421 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 <listitem><para><literal>default</literal> - default value for hpotmeter
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423 (in the range <literal>0</literal> to <literal>100</literal>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424 </para></listitem>
12438
a380d3539e42 missing spaces
diego
parents: 12405
diff changeset
425 <listitem><para><literal>X</literal>, <literal>Y</literal> - position for the hpotmeter
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 </para></listitem>
12438
a380d3539e42 missing spaces
diego
parents: 12405
diff changeset
427 <listitem><para><literal>width</literal>, <literal>height</literal> - width and height
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
428 of the <literal>hpotmeter</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 <listitem><para><literal>message</literal> - the message to be generated when the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 value of <literal>hpotmeter</literal> is changed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
438 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 <anchor id="skin-potmeter"/>potmeter = phases, numphases, default, X, Y, width, height, message
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 A <literal>hpotmeter</literal> without a button. (I guess it is meant to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444 turned around, but it reacts to horizontal dragging only.) For the description
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 of the parameters see <link linkend="skin-hpotmeter">hpotmeter</link>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 <literal>phases</literal> can be <literal>NULL</literal>, but it is quite useless,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447 since you cannot see where the <literal>potmeter</literal> is set.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453 <anchor id="skin-font"/>font = fontfile, fontid
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 Defines a font. <literal>fontfile</literal> is the name of a font description file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457 with a <filename>.fnt</filename> extension (do not specify the extension here).
10111
a570a78537aa various fixes and updates
nicolas
parents: 9675
diff changeset
458 <literal>fontid</literal> is used to refer to the font (see <link linkend="skin-dlabel">dlabel</link>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
459 and <link linkend="skin-slabel">slabel</link>). Up to 25 fonts can be defined.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
461 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465 <anchor id="skin-slabel"/>slabel = X, Y, fontid, &quot;text&quot;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
468 Place a static label at the position <literal>X,Y</literal>. <literal>text</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 is displayed using the font identified by <literal>fontid</literal>. The text is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470 just a raw string (<literal>$x</literal> variables do not work) that must be enclosed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 between double quotes (but the &quot; character cannot be part of the text). The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 label is displayed using the font identified by <literal>fontid</literal>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
473 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
474 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
475
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
476 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
477 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
478 <anchor id="skin-dlabel"/>dlabel = X, Y, length, align, fontid, &quot;text&quot;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 <listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
481 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
482 Place a dynamic label at the position <literal>X,Y</literal>. The label is called
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
483 dynamic because its text is refreshed periodically. The maximum length of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
484 label is given by <literal>length</literal> (its height is the height of a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
485 character). If the text to be displayed is wider than that, it will be scrolled,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486 otherwise it is aligned within the specified space by the value of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
487 <literal>align</literal> parameter: <literal>0</literal> is for right,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488 <literal>1</literal> is for center, <literal>2</literal> is for left.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
490 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 The text to be displayed is given by <literal>text</literal>: It must be written
10875
a0d3ce3d87af fixed &quot; character
nauj27
parents: 10111
diff changeset
492 between double quotes (but the &quot; character cannot be part of the text). The
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
493 label is displayed using the font identified by <literal>fontid</literal>. You
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494 can use the following variables in the text:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 <informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
499 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
500 <row><entry>Variable</entry><entry>Meaning</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
501 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
502 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
503 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
504 <entry>$1</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 <entry>play time in <emphasis>hh:mm:ss</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 <entry>$2</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
509 <entry>play time in <emphasis>mmmm:ss</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
510 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
511 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
512 <entry>$3</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
513 <entry>play time in <emphasis>hh</emphasis> format (hours)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
514 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
515 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
516 <entry>$4</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
517 <entry>play time in <emphasis>mm</emphasis> format (minutes)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520 <entry>$5</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
521 <entry>play time in <emphasis>ss</emphasis> format (seconds)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
522 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
523 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
524 <entry>$6</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
525 <entry>movie length in <emphasis>hh:mm:ss</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
526 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
528 <entry>$7</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
529 <entry>movie length in <emphasis>mmmm:ss</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
530 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
532 <entry>$8</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
533 <entry>play time in <emphasis>h:mm:ss</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
534 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
535 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
536 <entry>$v</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
537 <entry>volume in <emphasis>xxx.xx</emphasis>% format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
538 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
539 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
540 <entry>$V</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
541 <entry>volume in <emphasis>xxx.xx</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
542 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
543 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
544 <entry>$b</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
545 <entry>balance in <emphasis>xxx.xx</emphasis>% format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
546 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
547 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
548 <entry>$B</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
549 <entry>balance in <emphasis>xxx.xx</emphasis> format</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
550 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
551 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
552 <entry>$$</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
553 <entry>the $ character</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
554 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
555 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
556 <entry>$a</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
557 <entry>a character according to the audio type (none: <literal>n</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
558 mono: <literal>m</literal>, stereo: <literal>t</literal>)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
559 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
560 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
561 <entry>$t</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
562 <entry>track number (in playlist)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
563 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
564 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
565 <entry>$o</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
566 <entry>filename</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
567 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
568 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
569 <entry>$f</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
570 <entry>filename in lower case</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
571 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
572 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
573 <entry>$F</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
574 <entry>filename in upper case</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
575 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
576 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
577 <entry>$T</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
578 <entry>a character according to the stream type (file: <literal>f</literal>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
579 Video CD: <literal>v</literal>, DVD: <literal>d</literal>, URL: <literal>u</literal>)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
580 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
581 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
582 <entry>$p</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
583 <entry>the <keycap>p</keycap> character (if a movie is playing and the font has
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
584 the <keycap>p</keycap> character)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
585 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
586 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
587 <entry>$s</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
588 <entry>the <keycap>s</keycap> character (if the movie is stopped and the font has
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
589 the <keycap>s</keycap> character)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
590 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
591 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
592 <entry>$e</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
593 <entry>the <keycap>e</keycap> character (if playback is paused and the font has
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
594 the <keycap>e</keycap> character)</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
595 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
596 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
597 <entry>$x</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
598 <entry>movie width</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
599 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
600 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
601 <entry>$y</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
602 <entry>movie height</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
603 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
604 <row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
605 <entry>$C</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
606 <entry>name of the codec used</entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
607 </row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
608
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
609 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
610 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
611 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
612 </listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
613
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
614 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
615 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
616
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
617 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
618 The <literal>$a, $T, $p, $s</literal> and <literal>$e</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
619 variables all return characters that should be displayed as special symbols (for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
620 example, <keycap>e</keycap> is for the pause symbol that usually looks something
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
621 like ||). You should have a font for normal characters and a different font for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
622 symbols. See the section about <link linkend="skin-fonts-symbols">symbols</link>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
623 for more information.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
624 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
625 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
626
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
627 <sect2 id="skin-file-subwindow">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
628 <title>Subwindow</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
629 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
630 The following entries can be used in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
631 '<literal>window = sub</literal>' . . . '<literal>end</literal>' block.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
632 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
633
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
634 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
635 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
636 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
637 <anchor id="skin-sub-base"/>base = image, X, Y, width, height
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
638 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
639 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
640 The image to be displayed in the window. The window will appear at the given
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
641 <literal>X,Y</literal> position on the screen (<literal>0,0</literal> is the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
642 top left corner). You can specify <literal>-1</literal> for center and <literal>-2</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
643 for right (<literal>X</literal>) and bottom (<literal>Y</literal>). The window
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
644 will be as large as the image. <literal>width</literal> and <literal>height</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
645 denote the size of the window; they are optional (if they are missing, the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
646 window is the same size as the image).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
647 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
648 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
649
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
650 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
651 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
652 <anchor id="skin-background"/>background = R, G, B
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
653 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
654 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
655 Lets you set the background color. It is useful if the image is smaller than
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
656 the window. <literal>R</literal>, <literal>G</literal> and <literal>B</literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
657 specifies the red, green and blue component of the color (each of them is a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
658 decimal number from 0 to 255).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
659 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
660 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
661 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
662 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
663
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
664 <sect2 id="skin-file-menu">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
665 <title>Skin menu</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
666 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
667 As mentioned earlier, the menu is displayed using two images. Normal menu
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
668 entries are taken from the image specified by the <literal>base</literal> item,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
669 while the currently selected entry is taken from the image specified by the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
670 <literal>selected</literal> item. You must define the position and size of each
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
671 menu entry through the menu item.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
672 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
673
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
674 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
675 The following entries can be used in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
676 '<literal>window = menu</literal>'. . .'<literal>end</literal>' block.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
677 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
678
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
679 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
680 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
681 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
682 <anchor id="skin-menu-base"/>base = image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
683 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
684 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685 The image for normal menu entries.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
686 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
687 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
688
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
689 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
690 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
691 <anchor id="skin-selected"/>selected = image
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
692 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
693 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
694 The image showing the menu with all entries selected.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
695 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
696 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
697
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
698 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
699 <term><literal>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
700 <anchor id="skin-menu"/>menu = X, Y, width, height, message
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
701 </literal></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
702 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
703 Defines the <literal>X,Y</literal> position and the size of a menu entry in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
704 the image. <literal>message</literal> is the message to be generated when the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
705 mouse button is released over the entry.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
706 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
707 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
708 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
709 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
710 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
711
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
712 <sect1 id="skin-fonts">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
713 <title>Fonts</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
714 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
715 As mentioned in the section about the parts of a skin, a font is defined by an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
716 image and a description file. You can place the characters anywhere in the image,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
717 but make sure that their position and size is given in the description file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
718 exactly.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
719 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
720
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
721 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
722 The font description file (with <filename>.fnt</filename> extension) can have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
723 comment lines starting with '<literal>;</literal>'. The file must have a line
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
724 in the form
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
725 <anchor id="skin-font-image"/>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
726 <programlisting>image = <replaceable>image</replaceable></programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
727 Where <literal><replaceable>image</replaceable></literal> is the name of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
728 image file to be used for the font (you do not have to specify the extension).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
729 <anchor id="skin-font-char"/>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
730 <programlisting>&quot;char&quot; = X, Y, width, height</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
731 Here <literal>X</literal> and <literal>Y</literal> specify the position of the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
732 <literal>char</literal> character in the image (<literal>0,0</literal> is the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
733 upper left corner). <literal>width</literal> and <literal>height</literal> are
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
734 the dimensions of the character in pixels.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
735 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
736
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
737 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
738 This example defines the A, B, C characters using <filename>font.png</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
739 <programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
740 ; Can be &quot;font&quot; instead of &quot;font.png&quot;.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
741 image = font.png
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
742
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
743 ; Three characters are enough for demonstration purposes :-)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
744 &quot;A&quot; = 0,0, 7,13
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
745 &quot;B&quot; = 7,0, 7,13
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
746 &quot;C&quot; = 14,0, 7,13
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
747 </programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
748 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
749
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
750 <sect2 id="skin-fonts-symbols">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
751 <title>Symbols</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
752 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
753 Some characters have special meanings when returned by some of the variables
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
754 used in <link linkend="skin-dlabel">dlabel</link>. These characters are meant
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
755 to be shown as symbols so that things like a nice DVD logo can be displayed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
756 instead of the character '<literal>d</literal>' for a DVD stream.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
757 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
758 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
759 The following table lists all the characters that can be used to display
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
760 symbols (and thus require a different font).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
761 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
762
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
763 <informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
764 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
765 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
766 <row><entry>Character</entry><entry>Symbol</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
767 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
768 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
769 <row><entry><keycap>p</keycap></entry><entry>play</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
770 <row><entry><keycap>s</keycap></entry><entry>stop</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
771 <row><entry><keycap>e</keycap></entry><entry>pause</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
772 <row><entry><keycap>n</keycap></entry><entry>no sound</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
773 <row><entry><keycap>m</keycap></entry><entry>mono sound</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
774 <row><entry><keycap>t</keycap></entry><entry>stereo sound</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
775 <row><entry><keycap>f</keycap></entry><entry>stream is a file</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
776 <row><entry><keycap>v</keycap></entry><entry>stream is a Video CD</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
777 <row><entry><keycap>d</keycap></entry><entry>stream is a DVD</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
778 <row><entry><keycap>u</keycap></entry><entry>stream is a URL</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
779 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
780 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
781 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
782 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
784
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
785 <sect1 id="skin-gui">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
786 <title>GUI messages</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
787 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
788 These are the messages that can be generated by buttons, potmeters and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
789 menu entries.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
790 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
791 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
792 Some of the messages might not work as expected (or not work at all).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
793 As you know, the GUI is under development.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
794 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
795
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
796 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
797 <title>Playback control:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
798 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
799 <term><emphasis role="bold">evNext</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
800 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
801 Jump to next track in the playlist.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
802 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
803 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
804
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
805 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
806 <term><emphasis role="bold">evPause</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
807 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
808 Forms a switch together with <literal>evPlaySwitchToPause</literal>. They can
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
809 be used to have a common play/pause button. Both messages should be assigned to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
810 buttons displayed at the very same position in the window. This message pauses
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
811 playing and the image for the <literal>evPlaySwitchToPause</literal> button is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
812 displayed (to indicate that the button can be pressed to continue playing).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
813 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
814 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
815
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
816 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
817 <term><emphasis role="bold">evPlay</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
818 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
819 Start playing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
820 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
821 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
822
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
823 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
824 <term><emphasis role="bold">evPlaySwitchToPause</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
825 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
826 The opposite of <literal>evPauseSwitchToPlay</literal>. This message starts
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
827 playing and the image for the <literal>evPauseSwitchToPlay</literal> button
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
828 is displayed (to indicate that the button can be pressed to pause playing).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
829 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
830 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
831
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
832 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
833 <term><emphasis role="bold">evPrev</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
834 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
835 Jump to previous track in the playlist.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
836 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
837 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
838
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
839 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
840 <term><emphasis role="bold">evStop</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
842 Stop playing.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
843 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
844 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
845 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
846
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
847 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
848 <title>Seeking:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
849 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
850 <term><emphasis role="bold">evBackward10sec</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
851 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
852 Seek backward 10 seconds.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
853 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
854 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
855
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
856 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
857 <term><emphasis role="bold">evBackward1min</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
858 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
859 Seek backward 1 minute.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
860 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
861 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
862
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
863 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
864 <term><emphasis role="bold">evBackward10min</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
865 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
866 Seek backward 10 minutes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
867 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
868 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
869
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
870 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
871 <term><emphasis role="bold">evForward10sec</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
872 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
873 Seek forward 10 seconds.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
874 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
875 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
876
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
877 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
878 <term><emphasis role="bold">evForward1min</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
879 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
880 Seek forward 1 minute.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
881 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
882 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
883
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
884 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
885 <term><emphasis role="bold">evForward10min</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
886 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
887 Seek forward 10 minutes.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
888 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
889 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
890
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
891 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
892 <term><emphasis role="bold">evSetMoviePosition</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
893 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
894 Seek to position (can be used by a potmeter; the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
895 relative value (0-100%) of the potmeter is used).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
896 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
897 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
898 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
899
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
900 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
901 <title>Video control:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
902 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
903 <term><emphasis role="bold">evDoubleSize</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
904 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
905 Set the movie window to double size.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
906 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
907 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
908 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
909 <term><emphasis role="bold">evFullScreen</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
910 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
911 Switch fullscreen mode on/off.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
912 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
913 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
914 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
915 <term><emphasis role="bold">evNormalSize</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
916 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
917 Set the movie window to its normal size.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
918 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
919 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
920 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
921
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
922 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
923 <title>Audio control:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
924 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
925 <term><emphasis role="bold">evDecAudioBufDelay</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
926 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
927 Decrease audio buffer delay.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
928 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
929 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
930
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
931 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
932 <term><emphasis role="bold">evDecBalance</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
933 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
934 Decrease balance.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
935 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
936 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
937
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
938 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
939 <term><emphasis role="bold">evDecVolume</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
940 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
941 Decrease volume.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
942 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
943 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
944
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
945 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
946 <term><emphasis role="bold">evIncAudioBufDelay</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
947 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
948 Increase audio buffer delay.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
949 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
950 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
951
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
952 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
953 <term><emphasis role="bold">evIncBalance</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
954 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
955 Increase balance.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
956 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
957 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
958
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
959 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
960 <term><emphasis role="bold">evIncVolume</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
961 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
962 Increase volume.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
963 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
964 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
965
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
966 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
967 <term><emphasis role="bold">evMute</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
968 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
969 Mute/unmute the sound.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
970 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
971 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
972
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
973 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
974 <term><emphasis role="bold">evSetBalance</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
975 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
976 Set balance (can be used by a potmeter; the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
977 relative value (0-100%) of the potmeter is used).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
978 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
979 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
980
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
981 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
982 <term><emphasis role="bold">evSetVolume</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
983 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
984 Set volume (can be used by a potmeter; the relative
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
985 value (0-100%) of the potmeter is used).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
986 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
987 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
988 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
989
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
990 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
991 <title>Miscellaneous:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
992 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
993 <term><emphasis role="bold">evAbout</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
994 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
995 Open the about window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
996 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
997 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
998
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
999 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1000 <term><emphasis role="bold">evDropSubtitle</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1001 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1002 Disables the currently used subtitle.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1003 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1004 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1005
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1006 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1007 <term><emphasis role="bold">evEqualizer</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1008 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1009 Turn the equalizer on/off.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1010 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1011 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1012
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1013 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1014 <term><emphasis role="bold">evExit</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1015 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1016 Quit the program.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1017 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1018 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1019
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1020 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1021 <term><emphasis role="bold">evIconify</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1022 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1023 Iconify the window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1024 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1025 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1026
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1027 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1028 <term><emphasis role="bold">evLoad</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1029 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1030 Load a file (by opening a file browser window, where you can choose a file).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1031 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1032 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1033
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1034 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1035 <term><emphasis role="bold">evLoadPlay</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1036 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1037 Does the same as <literal>evLoad</literal>, but it automatically starts playing after
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1038 the file is loaded.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1039 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1040 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1041
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1042 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1043 <term><emphasis role="bold">evLoadSubtitle</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1044 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1045 Loads a subtitle file (with the fileselector)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1046 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1047 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1048
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1049 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1050 <term><emphasis role="bold">evLoadAudioFile</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1051 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1052 Loads an audio file (with the fileselector)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1053 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1054 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1055
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1056 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1057 <term><emphasis role="bold">evNone</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1058 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1059 Empty message, it has no effect (except maybe in CVS versions :-)).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1060 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1061 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1062
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1063 <varlistentry>
13752
e193600132d5 Important typo noticed by Piero di Vita <scognito at libero dot it>
diego
parents: 12815
diff changeset
1064 <term><emphasis role="bold">evPlaylist</emphasis></term>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1065 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1066 Open/close the playlist window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1067 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1068 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1069
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1070 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1071 <term><emphasis role="bold">evPlayDVD</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1072 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1073 Tries to open the disc in the given DVD-ROM drive.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1074 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1075 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1076
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1077 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1078 <term><emphasis role="bold">evPlayVCD</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1079 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1080 Tries to open the disc in the given CD-ROM drive.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1081 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1082 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1083
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1084 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1085 <term><emphasis role="bold">evPreferences</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1086 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1087 Open the preferences window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1088 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1089 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1090
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1091 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1092 <term><emphasis role="bold">evSetAspect</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1093 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1094 Sets displayed image aspect.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1095 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1096 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1097
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1098 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1099 <term><emphasis role="bold">evSetURL</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1100 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1101 Displays the URL dialog window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1102 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1103 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1104
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1105 <varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1106 <term><emphasis role="bold">evSkinBrowser</emphasis></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1107 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1108 Open the skin browser window.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1109 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1110 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1111 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1113 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1114
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1115 </appendix>