@@ -607,7 +607,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -607,7 +607,7 @@ difficulty to understand how VLC skins work.</para>
<sect2id="Slider">
<sect2id="Slider">
<title>Slider</title>
<title>Slider</title>
<para>Create a slider.</para>
<para>Create a slider. This element can be used alone, or can contain a <linklinkend="SliderBackground">SliderBackground</link> element.</para>
<para>See the <linklinkend="commattr">common attributes</link>.</para>
<para>See the <linklinkend="commattr">common attributes</link>.</para>
<sect3id="sliderup">
<sect3id="sliderup">
<title>up</title>
<title>up</title>
...
@@ -646,6 +646,38 @@ difficulty to understand how VLC skins work.</para>
...
@@ -646,6 +646,38 @@ difficulty to understand how VLC skins work.</para>
</sect3>
</sect3>
</sect2>
</sect2>
<sect2id="SliderBackground">
<title>SliderBackground</title>
<para>Set of background images associated to a slider (it must be a sub-element of a <linklinkend="Slider">Slider</link>). The displayed image depends on the value of the corresponding slider; if the SliderBackground contains n images, the image #m will be displayed, where m = n * (slider value). A SliderBackground actually contains a single image, which is divided into a grid to build all the sub-images. All the sub-images of the grid have the same size, and can be separated by unused pixel lines or rows if needed (this is called "padding").</para>
<para>See the <linklinkend="commattr">common attributes</link>.</para>
<sect3id="sbg_image">
<title>image</title>
<para>Identifiant of a <linklinkend="Bitmap">Bitmap</link>; image containing the sub-images used to draw the background of the slider.</para>
<para><emphasis>Required.</emphasis></para>
</sect3>
<sect3id="nbhoriz">
<title>nbhoriz</title>
<para>Number of sub-images in the horizontal direction.</para>
<para>Default value: 1</para>
</sect3>
<sect3id="nbvert">
<title>nbvert</title>
<para>Number of sub-images in the vertical direction.</para>
<para>Default value: 1</para>
</sect3>
<sect3id="padhoriz">
<title>padhoriz</title>
<para>Horizontal padding: number of unused pixel rows between two sub-images.</para>
<para>Default value: 0</para>
</sect3>
<sect3id="padvert">
<title>padvert</title>
<para>Vertical padding: number of unused pixel lines between two sub-images.</para>
<para>Default value: 0</para>
</sect3>
</sect2>
<sect2id="RadialSlider">
<sect2id="RadialSlider">
<title>RadialSlider</title>
<title>RadialSlider</title>
<para>Create a circular slider from a list of images with the different possible positions.</para>
<para>Create a circular slider from a list of images with the different possible positions.</para>