@@ -110,30 +110,30 @@ difficulty to understand how VLC skins work.</para>
...
@@ -110,30 +110,30 @@ difficulty to understand how VLC skins work.</para>
<sect3id="Theme">
<sect3id="Theme">
<title>Theme</title>
<title>Theme</title>
<para>Main tag, for global attributes</para>
<para>Main tag, for global attributes</para>
<sect4id="version">
<sect4id="themeversion">
<title>version</title>
<title>version</title>
<para>Version of the DTD used when making the skin, such as "2.0" (you can find the version in the <!--TODO: link-->DTD itself). This number might be used in the future to provide a better backward compatibility with older skins.</para>
<para>Version of the DTD used when making the skin, such as "2.0" (you can find the version in the <!--TODO: link-->DTD itself). This number might be used in the future to provide a better backward compatibility with older skins.</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
</sect4>
</sect4>
<sect4id="tooltipfont">
<sect4id="themetooltipfont">
<title>tooltipfont</title>
<title>tooltipfont</title>
<para>Identifiant of a <linklinkend="Font">Font</link> or <linklinkend="BitmapFont">BitmapFont</link>, used for the tooltips (beware that any character not present in a <linklinkend="BitmapFont">BitmapFont</link> will be printed as a space, so will be invisible). The default value uses a font provided with VLC, so you don't need to provide it with your skin.</para>
<para>Identifiant of a <linklinkend="Font">Font</link> or <linklinkend="BitmapFont">BitmapFont</link>, used for the tooltips (beware that any character not present in a <linklinkend="BitmapFont">BitmapFont</link> will be printed as a space, so will be invisible). The default value uses a font provided with VLC, so you don't need to provide it with your skin.</para>
<para>Default value: defaultfont</para>
<para>Default value: defaultfont</para>
</sect4>
</sect4>
<sect4id="magnet">
<sect4id="thememagnet">
<title>magnet</title>
<title>magnet</title>
<para>Allows to select the range of action (in pixels) of magnetism with borders of the screen: when the distance between the border of the screen and an anchor of a window is less than this value, the window will stick to the border. 0 disables magnetism with the screen borders.</para>
<para>Allows to select the range of action (in pixels) of magnetism with borders of the screen: when the distance between the border of the screen and an anchor of a window is less than this value, the window will stick to the border. 0 disables magnetism with the screen borders.</para>
<para>Default value: 15</para>
<para>Default value: 15</para>
</sect4>
</sect4>
<sect4id="alpha">
<sect4id="themealpha">
<title>alpha</title>
<title>alpha</title>
<para>Sets the alpha transparency of the windows. The value must be between 1 (nearly total transparency) and 255 (total opacity). Low values should be avoided.</para>
<para>Sets the alpha transparency of the windows. The value must be between 1 (nearly total transparency) and 255 (total opacity). Low values should be avoided.</para>
<note><para>This only works if transparency is not disabled in the preferences of the skins2 module.</para></note>
<note><para>This only works if transparency is not disabled in the preferences of the skins2 module.</para></note>
<para>Default value: 255</para>
<para>Default value: 255</para>
</sect4>
</sect4>
<sect4id="movealpha">
<sect4id="thememovealpha">
<title>movealpha</title>
<title>movealpha</title>
<para>Sets the alpha transparency of the windows when they are moving. Same range as <linklinkend="alpha">alpha</link>.</para>
<para>Sets the alpha transparency of the windows when they are moving. Same range as <linklinkend="themealpha">alpha</link>.</para>
<note><para>This only works if transparency is not disabled in the preferences of the skins2 module.</para></note>
<note><para>This only works if transparency is not disabled in the preferences of the skins2 module.</para></note>
<para>Default value: 255</para>
<para>Default value: 255</para>
</sect4>
</sect4>
...
@@ -142,22 +142,22 @@ difficulty to understand how VLC skins work.</para>
...
@@ -142,22 +142,22 @@ difficulty to understand how VLC skins work.</para>
<sect3id="ThemeInfo">
<sect3id="ThemeInfo">
<title>ThemeInfo</title>
<title>ThemeInfo</title>
<para>You can enter here some information about you (but this information is currently unused by VLC...)</para>
<para>You can enter here some information about you (but this information is currently unused by VLC...)</para>
<sect4id="name">
<sect4id="themeinfoname">
<title>name</title>
<title>name</title>
<para>Skin name. Not supported yet.</para>
<para>Skin name. Not supported yet.</para>
<para><emphasis>Implied.</emphasis></para>
<para><emphasis>Implied.</emphasis></para>
</sect4>
</sect4>
<sect4id="author">
<sect4id="themeinfoauthor">
<title>author</title>
<title>author</title>
<para>Author of the skin. Not supported yet.</para>
<para>Author of the skin. Not supported yet.</para>
<para><emphasis>Implied.</emphasis></para>
<para><emphasis>Implied.</emphasis></para>
</sect4>
</sect4>
<sect4id="email">
<sect4id="themeinfoemail">
<title>email</title>
<title>email</title>
<para>Email of the author. Not supported yet.</para>
<para>Email of the author. Not supported yet.</para>
<para><emphasis>Implied.</emphasis></para>
<para><emphasis>Implied.</emphasis></para>
</sect4>
</sect4>
<sect4id="webpage">
<sect4id="themeinfowebpage">
<title>webpage</title>
<title>webpage</title>
<para>Web page in relation with the skin. Not supported yet.</para>
<para>Web page in relation with the skin. Not supported yet.</para>
@@ -177,18 +177,18 @@ difficulty to understand how VLC skins work.</para>
...
@@ -177,18 +177,18 @@ difficulty to understand how VLC skins work.</para>
<para>Indicates the path and name of the bitmap file used. This path can be absolute (but you should definitely avoid it), or relative to the path of the XML file.</para>
<para>Indicates the path and name of the bitmap file used. This path can be absolute (but you should definitely avoid it), or relative to the path of the XML file.</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
</sect4>
</sect4>
<sect4id="alphacolor">
<sect4id="bitmapalphacolor">
<title>alphacolor</title>
<title>alphacolor</title>
<para>Transparency color of the bitmap. It must be indicated with the following format: "#RRGGBB", where RR stands for the hexadecimal value of the red component, GG for the green one, and BB for the blue one.</para>
<para>Transparency color of the bitmap. It must be indicated with the following format: "#RRGGBB", where RR stands for the hexadecimal value of the red component, GG for the green one, and BB for the blue one.</para>
<note><para>If your PNG file specifies a transparency mask, it will be taken into account too.</para></note>
<note><para>If your PNG file specifies a transparency mask, it will be taken into account too.</para></note>
<para>Default value: #000000</para><!--XXX: should we change it into a less often used color?-->
<para>Default value: #000000</para><!--XXX: should we change it into a less often used color?-->
</sect4>
</sect4>
<sect4id="nbframes">
<sect4id="bitmapnbframes">
<title>nbframes</title>
<title>nbframes</title>
<para>This attribute is needed to define animated bitmaps; it is the number of frames (images) contained in your animation. All the different frames are just images laid vertically in the bitmap. Animated GIFs are not supported at the moment. (since VLC 0.8.5)</para>
<para>This attribute is needed to define animated bitmaps; it is the number of frames (images) contained in your animation. All the different frames are just images laid vertically in the bitmap. Animated GIFs are not supported at the moment. (since VLC 0.8.5)</para>
<para>Default value: 1</para>
<para>Default value: 1</para>
</sect4>
</sect4>
<sect4id="fps">
<sect4id="bitmapfps">
<title>fps</title>
<title>fps</title>
<para>Only used in animated bitmaps; it is the number of frames (images) per seconds of the animation. (since VLC 0.8.5)</para>
<para>Only used in animated bitmaps; it is the number of frames (images) per seconds of the animation. (since VLC 0.8.5)</para>
<para>Default value: 0</para>
<para>Default value: 0</para>
...
@@ -226,12 +226,12 @@ difficulty to understand how VLC skins work.</para>
...
@@ -226,12 +226,12 @@ difficulty to understand how VLC skins work.</para>
</sect4>
</sect4>
<sect4id="subbitmapnbframes">
<sect4id="subbitmapnbframes">
<title>nbframes</title>
<title>nbframes</title>
<para>Same as in <linklinkend="nbframes">Bitmap</link> tag.</para>
<para>Same as in <linklinkend="bitmapnbframes">Bitmap</link> tag.</para>
<para>Default value: 1</para>
<para>Default value: 1</para>
</sect4>
</sect4>
<sect4id="subbitmapfps">
<sect4id="subbitmapfps">
<title>fps</title>
<title>fps</title>
<para>Same as in <linklinkend="fps">Bitmap</link> tag.</para>
<para>Same as in <linklinkend="bitmapfps">Bitmap</link> tag.</para>
</sect4>
</sect4>
</sect3>
</sect3>
...
@@ -249,7 +249,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -249,7 +249,7 @@ difficulty to understand how VLC skins work.</para>
<para>This is the file containing a TrueType font.</para>
<para>This is the file containing a TrueType font.</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
</sect4>
</sect4>
<sect4id="size">
<sect4id="fontsize">
<title>size</title>
<title>size</title>
<para>This is the size of the font, in points.</para>
<para>This is the size of the font, in points.</para>
<para>Default value: 12</para>
<para>Default value: 12</para>
...
@@ -269,7 +269,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -269,7 +269,7 @@ difficulty to understand how VLC skins work.</para>
<para>This is the file containing a bitmap font, à la Winamp.</para>
<para>This is the file containing a bitmap font, à la Winamp.</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
</sect4>
</sect4>
<sect4id="type">
<sect4id="bitmapfonttype">
<title>type</title>
<title>type</title>
<para>Type of font, one of "digits" or "text".</para>
<para>Type of font, one of "digits" or "text".</para>
<para>Default value: digits</para>
<para>Default value: digits</para>
...
@@ -299,14 +299,14 @@ difficulty to understand how VLC skins work.</para>
...
@@ -299,14 +299,14 @@ difficulty to understand how VLC skins work.</para>
<para>Initial top position of the window.</para>
<para>Initial top position of the window.</para>
<para>Default value: 0</para>
<para>Default value: 0</para>
</sect4>
</sect4>
<sect4id="dragdrop">
<sect4id="windowdragdrop">
<title>dragdrop</title>
<title>dragdrop</title>
<para>Indicates whether drag and drop of media files is allowed on this window.</para>
<para>Indicates whether drag and drop of media files is allowed on this window.</para>
<para>Default value: true</para>
<para>Default value: true</para>
</sect4>
</sect4>
<sect4id="playondrop">
<sect4id="windowplayondrop">
<title>playondrop</title>
<title>playondrop</title>
<para>Indicates whether a dropped file is played directly (true) or only enqueued (false). This attribute has no effect if <linklinkend="dragdrop">dragdrop</link> is set to "false".</para>
<para>Indicates whether a dropped file is played directly (true) or only enqueued (false). This attribute has no effect if <linklinkend="windowdragdrop">dragdrop</link> is set to "false".</para>
<para>Default value: true</para>
<para>Default value: true</para>
</sect4>
</sect4>
</sect3>
</sect3>
...
@@ -363,7 +363,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -363,7 +363,7 @@ difficulty to understand how VLC skins work.</para>
<sect3id="Anchor">
<sect3id="Anchor">
<title>Anchor</title>
<title>Anchor</title>
<para>Create a "magnetic point" (or curve) in the current window. If an anchor of another window enters in the range of action of this anchor, the 2 anchors will automatically be on the same place, and the windows are "sticked". Each anchor has a priority (<linklinkend="priority">priority</link> attribute), and the anchor with the highest priority is the winner, which means that when moving its window all the other anchored windows will move too. To break the effect of 2 anchored windows, you need to move the window whose anchor has the lower priority.</para>
<para>Create a "magnetic point" (or curve) in the current window. If an anchor of another window enters in the range of action of this anchor, the 2 anchors will automatically be on the same place, and the windows are "sticked". Each anchor has a priority (<linklinkend="anchorpriority">priority</link> attribute), and the anchor with the highest priority is the winner, which means that when moving its window all the other anchored windows will move too. To break the effect of 2 anchored windows, you need to move the window whose anchor has the lower priority.</para>
<sect4id="anchorx">
<sect4id="anchorx">
<title>x</title>
<title>x</title>
<para>Is it really necessary to explain ?</para>
<para>Is it really necessary to explain ?</para>
...
@@ -374,7 +374,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -374,7 +374,7 @@ difficulty to understand how VLC skins work.</para>
<para>...</para>
<para>...</para>
<para>Default value: 0</para>
<para>Default value: 0</para>
</sect4>
</sect4>
<sect4id="priority">
<sect4id="anchorpriority">
<title>priority</title>
<title>priority</title>
<para>Priority of anchor (see the previous description).</para>
<para>Priority of anchor (see the previous description).</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
...
@@ -385,7 +385,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -385,7 +385,7 @@ difficulty to understand how VLC skins work.</para>
<note><para>You don't need to change this parameter if all you want is a ponctual anchor.</para></note>
<note><para>You don't need to change this parameter if all you want is a ponctual anchor.</para></note>
<para>Default value: (0,0)</para>
<para>Default value: (0,0)</para>
</sect4>
</sect4>
<sect4id="range">
<sect4id="anchorrange">
<title>range</title>
<title>range</title>
<para>Range of action of the anchor, in pixels. Default is "10".</para>
<para>Range of action of the anchor, in pixels. Default is "10".</para>
<para>Default value: 10</para>
<para>Default value: 10</para>
...
@@ -442,7 +442,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -442,7 +442,7 @@ difficulty to understand how VLC skins work.</para>
<para>Identifiant of a <linklinkend="Bitmap">Bitmap</link>.</para>
<para>Identifiant of a <linklinkend="Bitmap">Bitmap</link>.</para>
<para><emphasis>Required.</emphasis></para>
<para><emphasis>Required.</emphasis></para>
</sect4>
</sect4>
<sect4id="resize">
<sect4id="imageresize">
<title>resize</title>
<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>
<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>
<para>Default value: mosaic.</para>
<para>Default value: mosaic.</para>
...
@@ -452,6 +452,11 @@ difficulty to understand how VLC skins work.</para>
...
@@ -452,6 +452,11 @@ difficulty to understand how VLC skins work.</para>
<para>Action triggered by a click on the control. Possible values are 'move', to move the window, 'resizeE', to resize horizontally, 'resizeS' to resize vertically, and 'resizeSE' to resize both horizontally and vertically. Mnemonics: S, E and SE stand for South, East, and South-East. The 'resizeS' and 'resizeE' actions are available since VLC 0.8.5 only.</para>
<para>Action triggered by a click on the control. Possible values are 'move', to move the window, 'resizeE', to resize horizontally, 'resizeS' to resize vertically, and 'resizeSE' to resize both horizontally and vertically. Mnemonics: S, E and SE stand for South, East, and South-East. The 'resizeS' and 'resizeE' actions are available since VLC 0.8.5 only.</para>
<para>Default value: none</para>
<para>Default value: none</para>
</sect4>
</sect4>
<sect4id="imageaction2">
<title>action2</title>
<para>Action triggered by a double-click on the control. See <linklinkend="actions">Actions</link> for a list of possible actions. (Since VLC 0.8.5).</para>
<para>Default value: none</para>
</sect4>
</sect3>
</sect3>
<sect3id="Button">
<sect3id="Button">
...
@@ -601,7 +606,7 @@ difficulty to understand how VLC skins work.</para>
...
@@ -601,7 +606,7 @@ difficulty to understand how VLC skins work.</para>
<para>Points defining the <linklinkend="bezier">Bezier curve</link> followed by the slider cursor.</para>
<para>Points defining the <linklinkend="bezier">Bezier curve</link> followed by the slider cursor.</para>
<para>Default value: none</para>
<para>Default value: none</para>
</sect4>
</sect4>
<sect4id="thickness">
<sect4id="sliderthickness">
<title>thickness</title>
<title>thickness</title>
<para>Thickness of the slider curve. This attribute is used to determine whether the mouse is over the slider (hence whether a mouse click will have an effect on the cursor position).</para>
<para>Thickness of the slider curve. This attribute is used to determine whether the mouse is over the slider (hence whether a mouse click will have an effect on the cursor position).</para>
<para>Default value: 10</para>
<para>Default value: 10</para>
...
@@ -889,6 +894,9 @@ difficulty to understand how VLC skins work.</para>
...
@@ -889,6 +894,9 @@ difficulty to understand how VLC skins work.</para>
<listitem><para>
<listitem><para>
<emphasis>$D</emphasis>: Duration of the stream, when available (the output format is H:MM:SS).
<emphasis>$D</emphasis>: Duration of the stream, when available (the output format is H:MM:SS).
</para></listitem>
</para></listitem>
<listitem><para>
<emphasis>$t, $l, $d</emphasis>: Same as $T, $L and $D, except that the hour in the format is displayed only if its value is different from 0. These text variables were needed to support Winamp2 skins, but it is advised to use the uppercase ones. (Since VLC 0.8.5).
</para></listitem>
<listitem><para>
<listitem><para>
<emphasis>$H</emphasis>: Value of the <linklinkend="help">help</link> attribute of the control that is under the mouse. The main use of this escape character is to create a kind of status bar, providing contextual help.</para>
<emphasis>$H</emphasis>: Value of the <linklinkend="help">help</link> attribute of the control that is under the mouse. The main use of this escape character is to create a kind of status bar, providing contextual help.</para>
<note><para>Escape sequences in the help string are also transformed (except $H itself, it would generate an infinite loop!).</para></note>
<note><para>Escape sequences in the help string are also transformed (except $H itself, it would generate an infinite loop!).</para></note>
...
@@ -990,10 +998,10 @@ difficulty to understand how VLC skins work.</para>
...
@@ -990,10 +998,10 @@ difficulty to understand how VLC skins work.</para>
<para>Since VLC 0.8.5, it is also possible to archive your skin in a zip file.</para>
<para>Since VLC 0.8.5, it is also possible to archive your skin in a zip file.</para>
<para>It is advised to rename your .tar.gz (or .zip) archive with the .vlt extention, for 2 main reasons:</para>
<para>It is advised to rename your .tar.gz (or .zip) archive with the .vlt extension, for 2 main reasons:</para>
<itemizedlist>
<itemizedlist>
<listitem><para>on some systems, the "Change skin" dialog box only displays files which have a .vlt or .xml extention,</para></listitem>
<listitem><para>on some systems, the "Change skin" dialog box only displays files which have a .vlt or .xml extension,</para></listitem>
<listitem><para>in the future, .vlt files could be associated to VLC in such a way that double-clicking a .vlt file would automatically load the skin in VLC.</para></listitem>
<listitem><para>in the future, .vlt files could be associated to VLC in such a way that double-clicking a .vlt file would automatically load the skin in VLC.</para></listitem>