Mercurial > mplayer.hg
comparison DOCS/xml/en/skin.xml @ 32910:f34e21c5dc2f
Improve documentation on dlabel.
Throughout the skin documentation 'width' is used, so use it
instead of 'length' for the dlabel documentation, too.
Additionally, the German translation has been revised.
author | ib |
---|---|
date | Wed, 02 Mar 2011 13:30:44 +0000 |
parents | e91f07a9d5cd |
children | d32c24fea761 |
comparison
equal
deleted
inserted
replaced
32909:39d7be48ee84 | 32910:f34e21c5dc2f |
---|---|
473 </para></listitem> | 473 </para></listitem> |
474 </varlistentry> | 474 </varlistentry> |
475 | 475 |
476 <varlistentry> | 476 <varlistentry> |
477 <term><literal> | 477 <term><literal> |
478 <anchor id="skin-dlabel"/>dlabel = X, Y, length, align, fontfile, "text" | 478 <anchor id="skin-dlabel"/>dlabel = X, Y, width, align, fontfile, "text" |
479 </literal></term> | 479 </literal></term> |
480 <listitem> | 480 <listitem> |
481 <para> | 481 <para> |
482 Place a dynamic label at the position <literal>X,Y</literal>. The label is | 482 Place a dynamic label at the position <literal>X,Y</literal>. The label is |
483 called dynamic because its text is refreshed periodically. The maximum length | 483 called dynamic because its text is refreshed periodically. The maximum width |
484 of the label is given by <literal>length</literal> (its height is the height | 484 of the label is given by <literal>width</literal> (its height is the height |
485 of a character). If the text to be displayed is wider than that, it will be | 485 of a character). If the text to be displayed is wider than that, it will be |
486 scrolled, | 486 scrolled, |
487 otherwise it is aligned within the specified space by the value of the | 487 otherwise it is aligned within the specified space by the value of the |
488 <literal>align</literal> parameter: <literal>0</literal> is for right, | 488 <literal>align</literal> parameter: <literal>0</literal> is for right, |
489 <literal>1</literal> is for center, <literal>2</literal> is for left. | 489 <literal>1</literal> is for center, <literal>2</literal> is for left. |