[vlc-commits] skins2: update documentation (width/height for image and slider)

Erwan Tulou git at videolan.org
Sat Jun 22 19:20:07 CEST 2013


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Jun 22 19:17:58 2013 +0200| [fe44d66bf432f5b077dff97b6015b78b761eb11f] | committer: Erwan Tulou

skins2: update documentation (width/height for image and slider)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe44d66bf432f5b077dff97b6015b78b761eb11f
---

 doc/skins/skins2-howto.xml |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/doc/skins/skins2-howto.xml b/doc/skins/skins2-howto.xml
index 1db076c..2f1599d 100644
--- a/doc/skins/skins2-howto.xml
+++ b/doc/skins/skins2-howto.xml
@@ -524,6 +524,16 @@ difficulty to understand how VLC skins work.</para>
     <para>Identifiant of a <link linkend="Bitmap">Bitmap</link>.</para>
     <para><emphasis>Required.</emphasis></para>
   </sect3>
+  <sect3 id="imagewidth">
+    <title>width</title>
+    <para>Width of the image. If set, this width supersedes the actual width of the image. The initial resizing takes the resize policy into account</para>
+    <para>Default value: -1</para>
+  </sect3>
+  <sect3 id="imageheight">
+    <title>height</title>
+    <para>Height of the image. If set, this height supersedes the actual height of the image. The initial resizing takes the resize policy into account</para>
+    <para>Default value: -1</para>
+  </sect3>
   <sect3 id="imageresize">
     <title>resize</title>
     <para>Since VLC 0.8.2. Specify the behaviour of the image when it is resized. Possible values are 'mosaic' (the image is repeated as many times as necessary to reach the wanted dimensions) and 'scale' (the image is actually rescaled). Beware that the 'scale' behaviour is much slower than the 'mosaic' one, so make sure to use it only when it's really needed.</para>
@@ -714,6 +724,16 @@ difficulty to understand how VLC skins work.</para>
     <para>Variable controlled by the slider. This must be a <link linkend="percent">percentage variable</link>, e.g "volume" or "time" (only exception: the <link linkend="Slider">Slider</link> defined inside the <link linkend="Playtree">Playtree</link> tag does not need to set this attribute).</para>
     <para>Default value: none</para>
   </sect3>
+  <sect3 id="sliderwidth">
+    <title>width</title>
+    <para>Width of the slider. If set, this width supersedes the actual width of the slider computed from the curve width. (new after VLC 2.1.0)</para>
+    <para>Default value: -1</para>
+  </sect3>
+  <sect3 id="sliderheight">
+    <title>height</title>
+    <para>Height of the slider. If set, this height supersedes the actual height of the slider computed from the curve height. (new after VLC 2.1.0)</para>
+    <para>Default value: -1</para>
+  </sect3>
   <sect3 id="slidertooltiptext">
     <title>tooltiptext</title>
     <para>Tooltip associated with the slider. See also <link linkend="textvars">Text variables</link>.</para>



More information about the vlc-commits mailing list