2002-06-02 19:03:03 +00:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<html>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<head>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
|
<title>Creating Skins - MPlayer - The Movie Player for Linux</title>
|
2002-06-12 11:05:55 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="default.css">
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<style type="text/css">
|
|
|
|
|
em.note {color: green;
|
|
|
|
|
font-style: normal;}
|
|
|
|
|
em.warn {color: red;
|
|
|
|
|
font-style: normal;}
|
|
|
|
|
</style>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</head>
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<body>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h1>Appendix D - MPlayer skin format</h1>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The purpose of this document is to describe the MPlayer skin format.
|
|
|
|
|
The information contained here might be wrong, for</p>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<ol type="a">
|
2002-12-12 03:02:03 +00:00
|
|
|
|
<li>It is not me who wrote the GUI.</li>
|
|
|
|
|
<li>The GUI is not finished.</li>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<li>I might be wrong.</li>
|
|
|
|
|
</ol>
|
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>So do not be surprised if something does not work as described here.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Thanks to <em>Zolt<EFBFBD>n Ponekker</em> for his help.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p><em>Andr<EFBFBD>s Mohari <mayday@freemail.hu></em></p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h2><a name="overview">D.1 Overview</a></h2>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>It does not really have anything to do with the skin format, but you should
|
|
|
|
|
know that MPlayer has <b>no</b> builtin skin, so <b>at least one skin
|
|
|
|
|
must be installed in order to be able to use the GUI.</b></p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="directories">D.1.1 Directories</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The directories searched for skins are (in order):</p>
|
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<pre>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
$(DATADIR)/Skin/
|
|
|
|
|
$(PREFIX)/share/mplayer/Skin/
|
2001-09-27 12:56:01 +00:00
|
|
|
|
~/.mplayer/Skin/
|
|
|
|
|
</pre>
|
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Note that the first path may vary according to the way MPlayer was configured
|
|
|
|
|
(see the <code>--prefix</code> and <code>--datadir</code> arguments of the
|
|
|
|
|
<code>configure</code> script).</p>
|
|
|
|
|
|
|
|
|
|
<p>Every skin is installed into its own directory under one of the directories
|
|
|
|
|
listed above, for example:</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
<pre>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
$(PREFIX)/share/mplayer/Skin/default/
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="images">D.1.2 Image formats</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Images must be truecolor (24 or 32 bpp) PNGs.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>In the main window and in the playbar (see below) you can use images with
|
|
|
|
|
`transparency': Regions filled with the color #FF00FF
|
|
|
|
|
(<font color="#FF00FF">magenta</font>) are fully transparent when viewed by
|
|
|
|
|
MPlayer. This means that you can even have shaped windows if your X server
|
|
|
|
|
has the XShape extension.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="components">D.1.3 Skin components</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Skins are quite free-format (unlike the fixed-format skins of Winamp/XMMS,
|
|
|
|
|
for example), so it is up to you to create something great.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Currently there are three windows to be decorated: the
|
|
|
|
|
<a href="#mainwin">main window</a>, the <a href="#subwindow">subwindow</a>,
|
|
|
|
|
the <a href="#mainwin">playbar</a>, and the <a href="#skinmenu">skin menu</a>
|
|
|
|
|
(which can be activated by a right click).</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
<ul>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<li><p>The <b>main window</b> and/or the <b>playbar</b> is where you can
|
|
|
|
|
control MPlayer. The background of the window is an image. Various items
|
|
|
|
|
can (and must) be placed in the window: <em>buttons</em>, <em>potmeters</em>
|
|
|
|
|
(sliders) and <em>labels</em>. For every item, you must specify its position
|
|
|
|
|
and size.</p>
|
|
|
|
|
|
|
|
|
|
<p>A <b>button</b> has three states (pressed, released, disabled), thus its
|
|
|
|
|
image must be divided into three parts vertically. See the
|
|
|
|
|
<a href="#main.button">button</a> item for details.</p>
|
|
|
|
|
|
|
|
|
|
<p>A <b>potmeter</b> (mainly used for the seek bar and volume/balance
|
|
|
|
|
control) can have any number of phases by dividing its image into
|
|
|
|
|
different parts below each other. See
|
|
|
|
|
<a href="#main.hpotmeter">hpotmeter</a> and
|
|
|
|
|
<a href="#main.potmeter">potmeter</a> for details.</p>
|
|
|
|
|
|
|
|
|
|
<p><b>Labels</b> are a bit special: The characters needed to draw them are
|
|
|
|
|
taken from an image file, and the characters in the image are described by
|
|
|
|
|
a <a href="#fonts">font description file</a>. The latter is a plain text
|
|
|
|
|
file which specifies the x,y position and size of each character in the
|
|
|
|
|
image (the image file and its font description file form a font
|
|
|
|
|
<em>together</em>). See <a href="#main.dlabel">dlabel</a> and
|
|
|
|
|
<a href="#main.slabel">slabel</a> for details.</p>
|
|
|
|
|
|
|
|
|
|
<p><em class="note"><b>Note:</b> all images can have full transparency as
|
|
|
|
|
described in the section about <a href="#images">image formats</a>. If the X
|
|
|
|
|
server doesn't support the XShape extension, the parts marked transparent
|
|
|
|
|
will be black. If you'd like to use this feature, the width of the main
|
|
|
|
|
window's background image must be dividable by 8.</em></p>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li>The <b>subwindow</b> is where the movie appears. It can display a
|
|
|
|
|
specified image if there is no movie loaded (it is quite boring to have an
|
|
|
|
|
empty window :-)) <em class=note><b>Note:</b> transparency is
|
|
|
|
|
<b>not allowed</b> here.</em></li>
|
|
|
|
|
|
|
|
|
|
<li><p>The <b>skin menu</b> is just a way to control MPlayer by means of menu
|
|
|
|
|
entries. Two images are required for the menu: one of them is the base image
|
|
|
|
|
that shows the menu in its normal state, the other one is used to display
|
|
|
|
|
the selected entries. When you pop up the menu, the first image is shown. If
|
|
|
|
|
you move the mouse over the menu entries, the currently selected entry is
|
|
|
|
|
copied from the second image over the menu entry below the mouse pointer
|
|
|
|
|
(the second image is never shown as a whole).</p>
|
|
|
|
|
|
|
|
|
|
<p>A menu entry is defined by its position and size in the image (see the
|
|
|
|
|
section about the <a href="#skinmenu">skin menu</a> for details).</p>
|
|
|
|
|
</li>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</ul>
|
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>There is an important thing not mentioned yet: For buttons, potmeters and
|
|
|
|
|
menu entries to work, MPlayer must know what to do if they are clicked. This
|
|
|
|
|
is done by <a href="#guimsg">messages</a> (events). For these items you must
|
|
|
|
|
define the messages to be generated when they are clicked.</p>
|
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="files">D.1.4 Files</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>You need the following files to build a skin:</p>
|
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<ul>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<li>The configuration file named <a href="#skin">skin</a> tells MPlayer how
|
|
|
|
|
to put different parts of the skin together and what to do if you click
|
|
|
|
|
somewhere in the window.</li>
|
|
|
|
|
<li>The background image for the main window.</li>
|
|
|
|
|
<li>Images for the items in the main window (including one or more font
|
|
|
|
|
description files needed to draw labels).</li>
|
|
|
|
|
<li>The image to be displayed in the subwindow (optional).</li>
|
|
|
|
|
<li>Two images for the skin menu (they are needed only if you want to create
|
|
|
|
|
a menu).</li>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</ul>
|
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>With the exception of the skin configuration file, you can name the other
|
|
|
|
|
files whatever you want (but note that font description files must have
|
|
|
|
|
a <code>.fnt</code> extension).</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h2><a name="skinfile">D.2 The skin file</a></h2>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>As mentioned above, this is the skin configuration file. It is line oriented;
|
|
|
|
|
comment lines start with a '<code>;</code>' character at the beginning of the
|
|
|
|
|
line (only spaces and tabs are allowed before the '<code>;</code>').</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The file is made up of sections. Each section describes the skin for an
|
|
|
|
|
application and has the following form:</p>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<table border="1" width="100%">
|
|
|
|
|
<tr bgcolor="silver">
|
|
|
|
|
<td>
|
|
|
|
|
<pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
section = <i>section name</i>
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
end
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</pre>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Currently there is only one application, so you need only one section: its
|
|
|
|
|
name is <b>movieplayer</b>.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Within this section each window is described by a block of the following
|
|
|
|
|
form:</p>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<table border="1" width="100%">
|
|
|
|
|
<tr bgcolor="silver">
|
|
|
|
|
<td>
|
|
|
|
|
<pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
window = <i>window name</i>
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
end
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</pre>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>where <i>window name</i> can be one of these strings:</p>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<ul>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<li><b>main</b> - for the main window</li>
|
|
|
|
|
<li><b>sub</b> - for the subwindow</li>
|
|
|
|
|
<li><b>menu</b> - for the skin menu</li>
|
|
|
|
|
<li><b>playbar</b> - playbar</li>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</ul>
|
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>(The sub and menu blocks are optional - you do not need to create a menu or
|
|
|
|
|
decorate the subwindow.)</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Within a window block, you can define each item for the window by a line in
|
|
|
|
|
this form:</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<dl>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b><code>item = parameter</code></b></dt>
|
|
|
|
|
<dd>Where <code>item</code> is a string that identifies the type of the GUI
|
|
|
|
|
item, <code>parameter</code> is a numeric or textual value (or a list of
|
|
|
|
|
values separated by commas).</dd>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Putting the above together, the whole file looks something like this:</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<table border="1" width="100%">
|
|
|
|
|
<tr bgcolor="silver">
|
|
|
|
|
<td>
|
|
|
|
|
<pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
section = movieplayer
|
|
|
|
|
window = main
|
|
|
|
|
; ... items for main window ...
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
window = sub
|
|
|
|
|
; ... items for subwindow ...
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
window = menu
|
2002-11-29 21:32:41 +00:00
|
|
|
|
; ... items for menu ...
|
2001-09-27 12:56:01 +00:00
|
|
|
|
end
|
2003-01-21 21:11:57 +00:00
|
|
|
|
|
|
|
|
|
window = playbar
|
|
|
|
|
; ... items for playbar ...
|
|
|
|
|
end
|
2001-09-27 12:56:01 +00:00
|
|
|
|
end
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</pre>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<p>The name of an image file must be given without leading directories - images
|
|
|
|
|
are searched for in the <code>Skin</code> directory. You may (but you need
|
|
|
|
|
not) specify the extension of the file. If the file does not exist, MPlayer
|
|
|
|
|
tries to load the file <code><filename>.<ext></code>, where
|
|
|
|
|
<code>png</code> and <code>PNG</code> are tried for <code><ext></code>
|
|
|
|
|
(in this order). The first matching file will be used.</p>
|
|
|
|
|
|
|
|
|
|
<p>Finally some words about positioning. The main window and the subwindow can
|
|
|
|
|
be placed in the different corners of the screen by giving <code>X</code> and
|
|
|
|
|
<code>Y</code> coordinates. <code>0</code> is top or left, <code>-1</code> is
|
|
|
|
|
center and <code>-2</code> is right or bottom, as shown in this
|
|
|
|
|
illustration:</p>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
(0, 0)----(-1, 0)----(-2, 0)
|
|
|
|
|
| | |
|
|
|
|
|
| | |
|
|
|
|
|
(0,-1)----(-1,-1)----(-2,-1)
|
|
|
|
|
| | |
|
|
|
|
|
| | |
|
|
|
|
|
(0,-2)----(-1,-2)----(-2,-2)
|
|
|
|
|
|
|
|
|
|
</pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<table border="1" cellpadding="5" width="100%">
|
|
|
|
|
<tr bgcolor="#ffffcc">
|
|
|
|
|
<td>Here is an example to make this clear. Suppose that you have an image
|
|
|
|
|
called <code>main.png</code> that you use for the main window:
|
|
|
|
|
<blockquote>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<pre>
|
|
|
|
|
base = main, -1, -1
|
|
|
|
|
</pre>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
MPlayer tries to load <code>main</code>, <code>main.png</code>,
|
|
|
|
|
<code>main.PNG</code> files.<br>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="mainwindow">D.2.1 Main window and playbar</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Below is the list of entries that can be used in the
|
|
|
|
|
'<code>window = main</code>' . . . '<code>end</code>', and the
|
|
|
|
|
'<code>window = playbar</code>' . . '<code>end</code>' blocks.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
<dl>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><a name="main.base"><b><code>base = image, X, Y</code></b></a></dt>
|
|
|
|
|
<dd>Lets you specify the background image to be used for the main window.
|
|
|
|
|
The window will appear at the given <code>X,Y</code> position on the screen
|
|
|
|
|
The window will have the size of the image.
|
|
|
|
|
<div><em class="warn"><b>Note:</b> These coordinates do not currently work
|
|
|
|
|
for the display window.</em><br>
|
|
|
|
|
<em class="warn"><b>Warning:</b> Transparent regions in the image (colored
|
|
|
|
|
#FF00FF) appear black on X servers without the XShape extension. The
|
|
|
|
|
image's width must be dividable by 8.</em>
|
|
|
|
|
</div>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.button"><b><code>button = image, X, Y, width, height,
|
|
|
|
|
message</code></b></a></dt>
|
|
|
|
|
<dd>Place a button of <code>width</code> * <code>height</code> size at
|
|
|
|
|
position <code>X</code>,<code>Y</code>. The specified <code>message</code>
|
|
|
|
|
is generated when the button is clicked. The image given by
|
|
|
|
|
<code>image</code> must have three parts below each other (according to the
|
|
|
|
|
possible states of the button), like this:
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
+------------+
|
|
|
|
|
| pressed |
|
|
|
|
|
+------------+
|
|
|
|
|
| released |
|
|
|
|
|
+------------+
|
|
|
|
|
| disabled |
|
|
|
|
|
+------------+
|
2002-06-02 19:03:03 +00:00
|
|
|
|
</pre>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.decoration"><b><code>decoration = enable|disable</code></b>
|
|
|
|
|
</a></dt>
|
|
|
|
|
<dd>Enable or disable window manager decoration of the main window. Default
|
|
|
|
|
is <b>disable</b>.<br><br>
|
|
|
|
|
<em class="warn"><b>Note:</b> This doesn't work for the display window,
|
|
|
|
|
there is no need to.</em><br>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.hpotmeter"><b><code>hpotmeter = button, bwidth, bheight,
|
|
|
|
|
phases, numphases, default, X, Y, width, height, message</code><br>
|
|
|
|
|
<code>vpotmeter = button, bwidth, bheight, phases, numphases, default, X, Y,
|
|
|
|
|
width, height, message</code></b></a></dt>
|
|
|
|
|
<dd>Place a horizontal potmeter of <code>width</code> * <code>height</code>
|
|
|
|
|
size at position <code>X</code>,<code>Y</code>. The image can be divided
|
|
|
|
|
into different parts for the different phases of the potmeter (for example,
|
|
|
|
|
you can have a pot for volume control that turns from green to red while its
|
|
|
|
|
value changes from the minimum to the maximum.). <code>hpotmeter</code> can
|
|
|
|
|
have a button that can be dragged horizontally.
|
|
|
|
|
|
|
|
|
|
<div>The parameters are:</div>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<li><code>button</code> - the image to be used for the button (must have
|
|
|
|
|
three parts below each other, like in case of
|
|
|
|
|
<a href="#main.button">button</a>)</li>
|
|
|
|
|
<li><code>bwidth</code>, <code>bheight</code> - size of the button</li>
|
|
|
|
|
<li><code>phases</code> - The image to be used for the different phases of
|
|
|
|
|
the hpotmeter. A special value of <code>NULL</code> can be used if you
|
|
|
|
|
want no such image. The image must be divided into
|
|
|
|
|
<code>numphases</code>parts vertically like this:
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<pre>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
+------------+
|
|
|
|
|
| phase #1 |
|
|
|
|
|
+------------+
|
|
|
|
|
| phase #2 |
|
|
|
|
|
+------------+
|
|
|
|
|
...
|
|
|
|
|
+------------+
|
|
|
|
|
| phase #n |
|
|
|
|
|
+------------+
|
2002-06-02 19:03:03 +00:00
|
|
|
|
</pre>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li><code>numphases</code> - number of phases stored in the
|
|
|
|
|
<code>phases</code> image</li>
|
|
|
|
|
<li><code>default</code> - default value for hpotmeter (in the range 0 to
|
|
|
|
|
100)</li>
|
|
|
|
|
<li><code>X</code>, <code>Y</code> - position for the hpotmeter</li>
|
|
|
|
|
<li><code>width</code>, <code>height</code> - width and height of the
|
|
|
|
|
<code>hpotmeter</code></li>
|
|
|
|
|
<li><code>message</code> - the message to be generated when the value of
|
|
|
|
|
<code>hpotmeter</code> is changed</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.potmeter"><b><code>potmeter = phases, numphases, default, X,
|
|
|
|
|
Y, width, height, message</code></b></a></dt>
|
|
|
|
|
<dd>A <code>hpotmeter</code> without a button. (I guess it is meant to be
|
|
|
|
|
turned around, but it reacts to horizontal dragging only.) For the
|
|
|
|
|
description of the parameters see <a href="#main.hpotmeter">hpotmeter</a>.
|
|
|
|
|
<code>phases</code> can be <code>NULL</code>, but it is quite useless, since
|
|
|
|
|
you cannot see where the <code>potmeter</code> is set.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.font"><b><code>font = fontfile, fontid</code></b></a></dt>
|
|
|
|
|
<dd>Defines a font. <code>fontfile</code> is the name of a font description
|
|
|
|
|
file with a <code>.fnt</code> extension (<b>do not</b> specify the extension
|
|
|
|
|
here). <code>fontid</code> is used to refer to the font (see
|
|
|
|
|
<a href="#main.dlabel">dlabel</a> and <a href="#main.slabel">slabel</a>).
|
|
|
|
|
Up to 25 fonts can be defined.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.slabel"><b><code>slabel = X, Y, fontid, "text"</code></b>
|
|
|
|
|
</a></dt>
|
|
|
|
|
<dd>
|
|
|
|
|
Place a static label at the position <code>X</code>,<code>Y</code>.
|
|
|
|
|
<code>text</code> is displayed using the font identified by <code>fontid</code>.
|
|
|
|
|
The text is just a raw string (<code>$x</code> variables do not work) that must
|
|
|
|
|
be enclosed between double quotes (but the <code>"</code> character cannot be
|
|
|
|
|
part of the text). The label is displayed using the font identified by
|
|
|
|
|
<code>fontid</code>.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="main.dlabel"><b><code>dlabel = X, Y, length, align, fontid,
|
|
|
|
|
"text"</code></b></a></dt>
|
|
|
|
|
<dd>Place a dynamic label at the position <code>X</code>,<code>Y</code>. The
|
|
|
|
|
label is called dynamic because its text is refreshed periodically. The
|
|
|
|
|
maximum length of the label is given by <code>length</code> (its height is
|
|
|
|
|
the height of a character). If the text to be displayed is wider than that,
|
|
|
|
|
it will be scrolled, otherwise it is aligned within the specified space by
|
|
|
|
|
the value of the <code>align</code> parameter: <code>0</code> is for right,
|
|
|
|
|
<code>1</code> is for center, <code>2</code> is for left.<br>
|
|
|
|
|
The text to be displayed is given by <code>text</code>: It must be written
|
|
|
|
|
between double quotes (but the <code>"</code> character cannot be part of
|
|
|
|
|
the text). The label is displayed using the font identified by
|
|
|
|
|
<code>fontid</code>. You can use the following variables in the text:
|
|
|
|
|
|
|
|
|
|
<table align="center" border="1">
|
|
|
|
|
<tr align="center"><th>Variable</th><th align="left">Meaning</th></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$1</kbd></td>
|
|
|
|
|
<td>play time in <em>hh:mm:ss</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$2</kbd></td>
|
|
|
|
|
<td>play time in <em>mmmm:ss</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$3</kbd></td>
|
|
|
|
|
<td>play time in <em>hh</em> format (hours)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$4</kbd></td>
|
|
|
|
|
<td>play time in <em>mm</em> format (minutes)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$5</kbd></td>
|
|
|
|
|
<td>play time in <em>ss</em> format (seconds)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$6</kbd></td>
|
|
|
|
|
<td>movie length in <em>hh:mm:ss</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$7</kbd></td>
|
|
|
|
|
<td>movie length in <em>mmmm:ss</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$8</kbd></td>
|
|
|
|
|
<td>play time in <em>h:mm:ss</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$v</kbd></td>
|
|
|
|
|
<td>volume in <em>xxx.xx%</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$V</kbd></td>
|
|
|
|
|
<td>volume in <em>xxx.x</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$b</kbd></td>
|
|
|
|
|
<td>balance in <em>xxx.xx%</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$B</kbd></td>
|
|
|
|
|
<td>balance in <em>xxx.x</em> format</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$$</kbd></td>
|
|
|
|
|
<td>the <kbd>$</kbd> character</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$a</kbd></td>
|
|
|
|
|
<td>a character according to the audio type (none: <code>n</code>,
|
|
|
|
|
mono: <code>m</code>, stereo: <code>t</code>)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$t</kbd></td>
|
|
|
|
|
<td>track number (in playlist)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$o</kbd></td>
|
|
|
|
|
<td>filename</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$f</kbd></td>
|
|
|
|
|
<td>filename in lower case</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$F</kbd></td>
|
|
|
|
|
<td>filename in upper case</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$T</kbd></td>
|
|
|
|
|
<td>a character according to the stream type (file: <code>f</code>,
|
|
|
|
|
Video CD: <code>v</code>, DVD: <code>d</code>, URL: <code>u</code>)
|
|
|
|
|
</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$p</kbd></td>
|
|
|
|
|
<td>the "p" character (if a movie is playing and the font has the "p"
|
|
|
|
|
character)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$s</kbd></td>
|
|
|
|
|
<td>the "s" character (if the movie is stopped and the font has the "s"
|
|
|
|
|
character)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$e</kbd></td>
|
|
|
|
|
<td>the "e" character (if playback is paused and the font has the "e"
|
|
|
|
|
character)</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$x</kbd></td>
|
|
|
|
|
<td>movie width</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$y</kbd></td>
|
|
|
|
|
<td>movie height</td></tr>
|
|
|
|
|
<tr><td align="center"><kbd>$C</kbd></td>
|
|
|
|
|
<td>name of the codec used</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<em class="note"><b>Note:</b> The <kbd>$a</kbd>, <kbd>$T</kbd>,
|
|
|
|
|
<kbd>$p</kbd>, <kbd>$s</kbd>and <kbd>$e</kbd> variables all return
|
|
|
|
|
characters that should be displayed as special symbols (for example, "e" is
|
|
|
|
|
for the pause symbol that usually looks something like <code>||</code>). You
|
|
|
|
|
should have a font for normal characters and a different font for symbols.
|
|
|
|
|
See the section about <a href="#symbols">symbols</a> for more
|
|
|
|
|
information.</em>
|
|
|
|
|
</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="subwindow">D.2.2 Subwindow</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The following entries can be used in the '<code>window = sub</code>'
|
|
|
|
|
. . . '<code>end</code>' block.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
<dl>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><a name="sub.base"><b><code>base = image, X, Y, width, height</code></b>
|
|
|
|
|
</a></dt>
|
|
|
|
|
<dd>The image to be displayed in the window. The window will appear at the
|
|
|
|
|
given <code>X</code>,<code>Y</code> position on the screen (<code>0,0</code>
|
|
|
|
|
is the top left corner). You can specify <code>-1</code> for center and
|
|
|
|
|
<code>-2</code> for right (<code>X</code>) and bottom (<code>Y</code>). The
|
|
|
|
|
window will be as large as the image. <code>width</code> and
|
|
|
|
|
<code>height</code> denote the size of the window; they are optional (if
|
|
|
|
|
they are missing, the window is the same size as the image).</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="sub.background"><b><code>background = R, G, B</code></b></a></dt>
|
|
|
|
|
<dd>Lets you set the background color. It is useful if the image is smaller
|
|
|
|
|
than the window. <code>R</code>, <code>G</code> and <code>B</code> specifies
|
|
|
|
|
the red, green and blue component of the color (each of them is a decimal
|
|
|
|
|
number from 0 to 255).</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="skinmenu">D.2.3 Skin menu</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>As mentioned earlier, the menu is displayed using two images. Normal menu
|
|
|
|
|
entries are taken from the image specified by the <code>base</code> item,
|
|
|
|
|
while the currently selected entry is taken from the image specified by the
|
|
|
|
|
<code>selected</code> item. You must define the position and size of each menu
|
|
|
|
|
entry through the <code>menu</code> item.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>These are the entries that can be used in the '<code>window = menu</code>'
|
|
|
|
|
. . . '<code>end</code>' block.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
<dl>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><a name="menu.base"><b><code>base = image</code></b></a></dt>
|
|
|
|
|
<dd>The image for normal menu entries.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="menu.selected"><b><code>selected = image</code></b></a></dt>
|
|
|
|
|
<dd>The image showing the menu with all entries selected.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="menu.menu"><b><code>menu = X, Y, width, height, message</code>
|
|
|
|
|
</b></a></dt>
|
|
|
|
|
<dd>Defines the <code>X,Y</code> position and the size of a menu entry in the
|
|
|
|
|
image. <code>message</code> is the message to be generated when the mouse
|
|
|
|
|
button is released over the entry.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h2><a name="fonts">D.3 Fonts</a></h2>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>As mentioned in the section about the parts of a skin, a font is defined by
|
|
|
|
|
an image and a description file. You can place the characters anywhere in the
|
|
|
|
|
image, but make sure that their position and size is given in the description
|
|
|
|
|
file exactly.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The font description file (with <code>.fnt</code> extension) can have comment
|
|
|
|
|
lines starting with '<code>;</code>'. The file must have a line in the
|
|
|
|
|
form</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<dl>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><a name="font.image"><b><code>image = image</code></b></a></dt>
|
|
|
|
|
<dd>Where <code>image</code> is the name of the image file to be used for the
|
|
|
|
|
font (you do not have to specify the extension).</dd>
|
|
|
|
|
|
|
|
|
|
<dt><a name="font.char"><b><code>"char" = X, Y, width, height</code></b>
|
|
|
|
|
</a></dt>
|
|
|
|
|
<dd>Here <code>X</code> and <code>Y</code> specify the position of the
|
|
|
|
|
<code>char</code> character in the image (<code>0,0</code> is the upper left
|
|
|
|
|
corner). <code>width</code> and <code>height</code> are the dimensions of
|
|
|
|
|
the character in pixels.</dd>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>This example defines the A, B, C characters using <code>font.png</code>.</p>
|
|
|
|
|
|
|
|
|
|
<table width="100%" border="1">
|
|
|
|
|
<tr bgcolor="silver">
|
|
|
|
|
<td>
|
|
|
|
|
<pre>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
; Can be "font" instead of "font.png".
|
2001-09-27 12:56:01 +00:00
|
|
|
|
image = font.png
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
; Three characters are enough for demonstration purposes :-)
|
2001-09-27 12:56:01 +00:00
|
|
|
|
"A" = 0,0, 7,13
|
|
|
|
|
"B" = 7,0, 7,13
|
|
|
|
|
"C" = 14,0, 7,13
|
2003-01-25 03:19:38 +00:00
|
|
|
|
</pre>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h3><a name="symbols">D.3.1 Symbols</a></h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>Some characters have special meanings when returned by some of the variables
|
|
|
|
|
used in <a href="#main.dlabel">dlabel</a>. These characters are meant to be
|
|
|
|
|
shown as symbols so that things like a nice DVD logo can be displayed instead
|
|
|
|
|
of the character 'd' for a DVD stream.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>The following table lists all the characters that can be used to display
|
|
|
|
|
symbols (and thus require a different font).</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<table align="center" border="1">
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><th align="center">Character</th><th align="left">Symbol</th></tr>
|
|
|
|
|
<tr><td align="center"><kbd>p</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>play</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>s</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>stop</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>e</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>pause</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>n</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>no sound</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>m</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>mono sound</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>t</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>stereo sound</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>f</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>stream is a file</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>v</kbd></td>
|
2002-06-02 19:03:03 +00:00
|
|
|
|
<td align=left>stream is a Video CD</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>d</kbd></td>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<td align=left>stream is a DVD</td></tr>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<tr><td align="center"><kbd>u</kbd></td>
|
|
|
|
|
<td align="left">stream is a URL</td></tr>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
2003-01-22 01:25:37 +00:00
|
|
|
|
<h2><a name="guimessages">D.4 GUI messages</a></h2>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p>These are the messages that can be generated by buttons, potmeters and menu
|
|
|
|
|
entries.</p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<p><em class="note"><b>Note:</b> Some of the messages might not work as expected
|
|
|
|
|
(or not work at all). As you know, the GUI is under development.</em></p>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<h3>Playback control:</h3>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<blockquote>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>evNext</b></dt>
|
|
|
|
|
<dd>Jump to next track in the playlist.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evPause</b></dt>
|
|
|
|
|
<dd>Pause playing.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evPauseSwitchToPlay</b></dt>
|
|
|
|
|
<dd>Forms a switch together with <code>evPlaySwitchToPause</code>. They can
|
|
|
|
|
be used to have a common play/pause button. Both messages should be
|
|
|
|
|
assigned to buttons displayed at the very same position in the window.
|
|
|
|
|
This message pauses playing and the image for the
|
|
|
|
|
<code>evPlaySwitchToPause</code> button is displayed (to indicate that the
|
|
|
|
|
button can be pressed to continue playing).</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evPlay</b></dt>
|
|
|
|
|
<dd>Start playing.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evPlaySwitchToPause</b></dt>
|
|
|
|
|
<dd>The opposite of <code>evPauseSwitchToPlay</code>. This message starts
|
|
|
|
|
playing and the image for the <code>evPauseSwitchToPlay</code> button is
|
|
|
|
|
displayed (to indicate that the button can be pressed to pause
|
|
|
|
|
playing).</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evPrev</b></dt>
|
|
|
|
|
<dd>Jump to previous track in the playlist.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evStop</b></dt>
|
|
|
|
|
<dd>Stop playing.</dd>
|
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<h3>Seeking:</h3>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<blockquote>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>evBackward10sec</b></dt>
|
|
|
|
|
<dt><b>evBackward1min</b></dt>
|
|
|
|
|
<dt><b>evBackward10min</b></dt>
|
|
|
|
|
<dd>Seek backward 10 seconds / 1 minute / 10 minutes.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evForward10sec</b></dt>
|
|
|
|
|
<dt><b>evForward1min</b></dt>
|
|
|
|
|
<dt><b>evForward10min</b></dt>
|
|
|
|
|
<dd>Seek forward 10 seconds / 1 minute / 10 minutes.</dd>
|
|
|
|
|
|
|
|
|
|
<dt><b>evSetMoviePosition</b></dt>
|
|
|
|
|
<dd>Seek to position (can be used by a potmeter; the relative value (0-100%)
|
|
|
|
|
of the potmeter is used).</dd>
|
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<h3>Video control:</h3>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<blockquote>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>evDoubleSize</b></dt>
|
|
|
|
|
<dd>Set the movie window to double size.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evFullScreen</b></dt>
|
|
|
|
|
<dd>Switch fullscreen mode on/off.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evNormalSize</b></dt>
|
|
|
|
|
<dd>Set the movie window to its normal size.</dd>
|
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<h3>Audio control:</h3>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<blockquote>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>evDecAudioBufDelay</b></dt>
|
|
|
|
|
<dd>Decrease audio buffer delay.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evDecBalance</b></dt>
|
|
|
|
|
<dd>Decrease balance.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evDecVolume</b></dt>
|
|
|
|
|
<dd>Decrease volume.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evIncAudioBufDelay</b></dt>
|
|
|
|
|
<dd>Increase audio buffer delay.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evIncBalance</b></dt>
|
|
|
|
|
<dd>Increase balance.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evIncVolume</b></dt>
|
|
|
|
|
<dd>Increase volume.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evMute</b></dt>
|
|
|
|
|
<dd>Mute/unmute the sound.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evSetBalance</b></dt>
|
|
|
|
|
<dd>Set balance (can be used by a potmeter; the relative value (0-100%) of
|
|
|
|
|
the potmeter is used).</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evSetVolume</b></dt>
|
|
|
|
|
<dd>Set volume (can be used by a potmeter; the relative value (0-100%) of
|
|
|
|
|
the potmeter is used).</dd>
|
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
|
2002-06-02 19:03:03 +00:00
|
|
|
|
|
|
|
|
|
<h3>Miscellaneous:</h3>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
|
2001-09-27 12:56:01 +00:00
|
|
|
|
<blockquote>
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>evAbout</b></dt>
|
|
|
|
|
<dd>Open the about window.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evDropSubtitle</b></dt>
|
|
|
|
|
<dd>Disables the currently used subtitle.</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evEqualizer</b></dt>
|
|
|
|
|
<dd>Turn the equalizer on/off.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evExit</b></dt>
|
|
|
|
|
<dd>Quit the program.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evIconify</b></dt>
|
|
|
|
|
<dd>Iconify the window.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evLoad</b></dt>
|
|
|
|
|
<dd>Load a file (by opening a file browser window, where you can choose a
|
|
|
|
|
file).</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evLoadPlay</b></dt>
|
|
|
|
|
<dd>Does the same as <code>evLoad</code>, but it automatically starts
|
|
|
|
|
playing after the file is loaded.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evLoadSubtitle</b></dt>
|
|
|
|
|
<dd>Loads a subtitle file (with the fileselector)</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evLoadAudioFile</b></dt>
|
|
|
|
|
<dd>Loads an audio file (with the fileselector)</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evNone</b></dt>
|
|
|
|
|
<dd>Empty message, it has no effect (except maybe in CVS versions :-)).</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evPlayList</b></dt>
|
|
|
|
|
<dd>Open/close the playlist window.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evPlayDVD</b></dt>
|
|
|
|
|
<dd>Tries to open the disc in the given DVD-ROM drive.</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evPlayVCD</b></dt>
|
|
|
|
|
<dd>Tries to open the disc in the given CD-ROM drive.</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evPreferences</b></dt>
|
|
|
|
|
<dd>Open the preferences window.</dd>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evSetAspect</b></dt>
|
|
|
|
|
<dd>Sets displayed image aspect.</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evSetURL</b></dt>
|
|
|
|
|
<dd>Displays the URL dialog window.</dd>
|
2002-11-29 21:32:41 +00:00
|
|
|
|
|
2003-01-25 03:19:38 +00:00
|
|
|
|
<dt><b>evSkinBrowser</b></dt>
|
|
|
|
|
<dd>Open the skin browser window.</dd>
|
|
|
|
|
</dl>
|
2001-09-27 12:56:01 +00:00
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|