[MPlayer-DOCS] r37016 - in trunk: Changelog DOCS/xml/cs/skin.xml DOCS/xml/de/skin.xml DOCS/xml/en/skin.xml DOCS/xml/es/skin.xml DOCS/xml/fr/skin.xml DOCS/xml/hu/skin.xml DOCS/xml/pl/skin.xml DOCS/xml/ru/skin.xml ...

ib subversion at mplayerhq.hu
Mon Mar 17 13:29:47 CET 2014


Author: ib
Date: Mon Mar 17 13:29:46 2014
New Revision: 37016

Log:
Replace old item 'potmeter' by new item 'pimage'.

Recent versions of the X11/GTK GUI didn't allow to control a potmeter,
because that didn't seem to make any sense.

In order to get rid of the confusing potmeter that doesn't distinguish
from a hpotmeter and in order to allow the more useful behaviour recent
versions of the X11/GTK GUI have been utilized (and because we're still
supporting item 'potmeter' for reasons of compatibility with old skins),
introduce new item 'pimage' that reuses most of the current potmeter
code.

Additionally, remove remaining code and documentation of 'potmeter'.

Modified:
   trunk/DOCS/xml/en/skin.xml

Changes in other areas also in this revision:
Modified:
   trunk/Changelog
   trunk/DOCS/xml/cs/skin.xml
   trunk/DOCS/xml/de/skin.xml
   trunk/DOCS/xml/es/skin.xml
   trunk/DOCS/xml/fr/skin.xml
   trunk/DOCS/xml/hu/skin.xml
   trunk/DOCS/xml/pl/skin.xml
   trunk/DOCS/xml/ru/skin.xml
   trunk/gui/app/app.h
   trunk/gui/app/gui.h
   trunk/gui/skin/skin.c
   trunk/gui/ui/main.c
   trunk/gui/ui/playbar.c
   trunk/gui/ui/render.c
   trunk/gui/win32/gui.c
   trunk/gui/win32/skinload.c
   trunk/gui/win32/skinload.h
   trunk/gui/win32/widgetrender.c

Modified: trunk/DOCS/xml/en/skin.xml
==============================================================================
--- trunk/DOCS/xml/en/skin.xml	Sun Mar 16 14:30:18 2014	(r37015)
+++ trunk/DOCS/xml/en/skin.xml	Mon Mar 17 13:29:46 2014	(r37016)
@@ -47,8 +47,7 @@ Currently there are four windows to be d
   A <emphasis role="bold">potmeter</emphasis> (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
-  <link linkend="skin-hpotmeter">hpotmeter</link> and
-  <link linkend="skin-potmeter">potmeter</link> for details.
+  <link linkend="skin-hpotmeter">hpotmeter</link> for details.
   </para>
 
   <para>
@@ -438,15 +437,21 @@ blocks.
 
 <varlistentry>
   <term><literal>
-  <anchor id="skin-potmeter"/>potmeter = phases, numphases, default, X, Y, width, height, message
+  <anchor id="skin-pimage"/>pimage = phases, numphases, default, X, Y, width, height, message
   </literal></term>
   <listitem><para>
-  A <literal>hpotmeter</literal> 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 <link linkend="skin-hpotmeter">hpotmeter</link>.
-  <literal>phases</literal> can be <literal>NULL</literal>, but it is quite
-  useless, since you cannot see where the <literal>potmeter</literal> is set.
-  </para></listitem>
+  Place different phases of an image at position <literal>X,Y</literal>.
+  This element goes nicely with potentiometers to visualize their state.
+  <literal>phases</literal> can be <literal>NULL</literal>, but this is quite
+  useless, since nothing will be displayed then.
+  For a description of the parameters see
+  <link linkend="skin-hpotmeter">hpotmeter</link>. There is only a difference
+  concerning the message:</para>
+  <itemizedlist><listitem><para>
+  <literal>message</literal> - the message to be reacted on, i.e. which
+  shall cause a change of <literal>pimage</literal>.
+  </para></listitem></itemizedlist>
+  </listitem>
 </varlistentry>
 
 <varlistentry>


More information about the MPlayer-DOCS mailing list