From: Cyril Deguet Date: Sat, 11 Nov 2006 17:58:22 +0000 (+0000) Subject: * doc about SliderBackground (forgot to commit that a long time ago...) X-Git-Tag: 0.9.0-test0~9526 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8c2453995bb548f3ad8ccd740ac4d16704800df2;p=vlc * doc about SliderBackground (forgot to commit that a long time ago...) --- diff --git a/doc/skins/skins2-howto.xml b/doc/skins/skins2-howto.xml index 2be162efee..b1fdaecb4d 100644 --- a/doc/skins/skins2-howto.xml +++ b/doc/skins/skins2-howto.xml @@ -607,7 +607,7 @@ difficulty to understand how VLC skins work. Slider - Create a slider. + Create a slider. This element can be used alone, or can contain a SliderBackground element. See the common attributes. up @@ -646,6 +646,38 @@ difficulty to understand how VLC skins work. + + + SliderBackground + Set of background images associated to a slider (it must be a sub-element of a Slider). 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"). + See the common attributes. + + image + Identifiant of a Bitmap; image containing the sub-images used to draw the background of the slider. + Required. + + + nbhoriz + Number of sub-images in the horizontal direction. + Default value: 1 + + + nbvert + Number of sub-images in the vertical direction. + Default value: 1 + + + padhoriz + Horizontal padding: number of unused pixel rows between two sub-images. + Default value: 0 + + + padvert + Vertical padding: number of unused pixel lines between two sub-images. + Default value: 0 + + + RadialSlider Create a circular slider from a list of images with the different possible positions.