Changeset 8c2453995bb548f3ad8ccd740ac4d16704800df2

Show
Ignore:
Timestamp:
11/11/06 18:58:22 (2 years ago)
Author:
Cyril Deguet <asmax@videolan.org>
git-committer:
Cyril Deguet <asmax@videolan.org> 1163267902 +0000
git-parent:

[6e3e276ac07e0acad6fb69f99e1b9dcf6ae8503e]

git-author:
Cyril Deguet <asmax@videolan.org> 1163267902 +0000
Message:

* doc about SliderBackground? (forgot to commit that a long time ago...)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/skins/skins2-howto.xml

    r35b15af r8c24539  
    608608<sect2 id="Slider"> 
    609609  <title>Slider</title> 
    610   <para>Create a slider.</para> 
     610  <para>Create a slider. This element can be used alone, or can contain a <link linkend="SliderBackground">SliderBackground</link> element.</para> 
    611611  <para>See the <link linkend="commattr">common attributes</link>.</para> 
    612612  <sect3 id="sliderup"> 
     
    644644    <para>Tooltip associated with the slider. See also <link linkend="textvars">Text variables</link>.</para> 
    645645    <para>Default value: </para> 
     646  </sect3> 
     647</sect2> 
     648 
     649 
     650<sect2 id="SliderBackground"> 
     651  <title>SliderBackground</title> 
     652  <para>Set of background images associated to a slider (it must be a sub-element of a <link linkend="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> 
     653  <para>See the <link linkend="commattr">common attributes</link>.</para> 
     654  <sect3 id="sbg_image"> 
     655    <title>image</title> 
     656    <para>Identifiant of a <link linkend="Bitmap">Bitmap</link>; image containing the sub-images used to draw the background of the slider.</para> 
     657    <para><emphasis>Required.</emphasis></para> 
     658  </sect3> 
     659  <sect3 id="nbhoriz"> 
     660    <title>nbhoriz</title> 
     661    <para>Number of sub-images in the horizontal direction.</para> 
     662    <para>Default value: 1</para> 
     663  </sect3> 
     664  <sect3 id="nbvert"> 
     665    <title>nbvert</title> 
     666    <para>Number of sub-images in the vertical direction.</para> 
     667    <para>Default value: 1</para> 
     668  </sect3> 
     669  <sect3 id="padhoriz"> 
     670    <title>padhoriz</title> 
     671    <para>Horizontal padding: number of unused pixel rows between two sub-images.</para> 
     672    <para>Default value: 0</para> 
     673  </sect3> 
     674  <sect3 id="padvert"> 
     675    <title>padvert</title> 
     676    <para>Vertical padding: number of unused pixel lines between two sub-images.</para> 
     677    <para>Default value: 0</para> 
    646678  </sect3> 
    647679</sect2>