annotate DOCS/xml/en/skin.xml @ 26904:b4a743e6d17d

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