From 2c3662500571a7da261c56244acb58128a5da8f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Teuli=C3=A8re?= Date: Thu, 1 Dec 2005 22:30:39 +0000 Subject: [PATCH] * doc/skins/skins2-howto.xml: Documented the new attributes of the Text control, and fixed a few details --- doc/skins/skins2-howto.xml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/doc/skins/skins2-howto.xml b/doc/skins/skins2-howto.xml index 9800bc6cef..df813fa80f 100644 --- a/doc/skins/skins2-howto.xml +++ b/doc/skins/skins2-howto.xml @@ -217,7 +217,7 @@ difficulty to understand how VLC skins work. Font - Declares a font to be used in a Text or Playlist. + Declares a font to be used in a Text or Playlist. id Identifiant of the font that will be used with controls. @@ -428,7 +428,7 @@ difficulty to understand how VLC skins work. action - Action triggered by a click on the control. Possible values are "move", to move the window, or "resizeSE" (SE as in South-East ; other directions will be added in the future) to resize the window in the corresponding direction. + 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. Default value: none @@ -529,12 +529,12 @@ difficulty to understand how VLC skins work. Identifiant of a Font or BitmapFont (beware that any character not present in the BitmapFont will be printed as a space, so will be invisible). Required. - + text - Text to display. See Text variables. + Text to display. See also Text variables. Default value: - + color Color of the text, using the #RRGGBB format. Default value: #000000 @@ -544,6 +544,16 @@ difficulty to understand how VLC skins work. Width of the text in pixels. If set to "0", the width is automatically calculated to fit with the current text. Default value: 0 + + alignment + Alignment of the text inside the control. Possible values are 'left', 'center' and 'right'. The 'width' and 'center' alignments are computed using the width of the control (as given by the width attribute). Available since VLC 0.8.5. + Default value: left + + + scrolling + Scrolling behaviour of the text (only when it doesn't fit in the width of the control). Possible values are 'auto', 'manual' and 'none'. If this attribute is set to 'auto', the text automatically starts scrolling. The user can drag the text, and click on it to start/stop the scrolling. If this attribute is set to 'manual', the text only scrolls when dragged by the user. If this attribute is set to 'none', no scrolling is possible at all. Available since VLC 0.8.5. + Default value: auto + @@ -603,12 +613,12 @@ difficulty to understand how VLC skins work. minangle - Minimum angle of the rotation, corresponging to 0%. + Minimum angle of the rotation, corresponding to 0%. Default value: 0 maxangle - Maximum angle of the rotation, corresponging to 100%. + Maximum angle of the rotation, corresponding to 100%. Default value: 360 @@ -832,7 +842,7 @@ difficulty to understand how VLC skins work. Text variables -When specifying the text attribute of the Text control or any tooltip attribute, you can insert escape sequences which will be expanded dynamically. An escape sequence always starts with the '$' character, followed by one or more predefined letters. Here is the list of accepted escape sequences: +When specifying the text attribute of the Text control or any tooltip attribute, you can insert escape sequences which will be expanded dynamically. An escape sequence always starts with the '$' character, followed by one or more predefined letters. Here is the list of accepted escape sequences: -- 2.39.2