mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
manual: fix skinned list tag mixup (FS#13895)
Change-Id: I890fe8800aa6e8640f445cd79ee3fa192398ad0c
This commit is contained in:
parent
58f75311d8
commit
1a8efac956
1 changed files with 5 additions and 5 deletions
|
|
@ -330,17 +330,17 @@ Examples:
|
|||
number, can be used in normal viewports to get the selected items icon number.\\
|
||||
\config{\%LN} & Get the position of the current item in the list (1-based). Useful for displaying numbered lists.\\
|
||||
\config{\%LR} & Get the row number on which the current item will be drawn (1-based). Can be used to change the style based on where on the screen the item appears.\\
|
||||
\config{\%Lc} & Get the column number on which the current item will be drawn (1-based). Can be used to change the style based on where on the screen the item appears.\\
|
||||
\config{\%LC} & Use as a conditional to determine if the current item is the selected item\\
|
||||
\config{\%Lb} & BAR TAG to show the scroll bar, params/options like other bar types. It still needs a bit of work though. Use as a conditional to find out if the bar is actually needed\\
|
||||
\config{\%LB(viewport,width,\tabnlindent height[,tile])} & specify the
|
||||
\config{\%LC} & Get the column number on which the current item will be drawn (1-based). Can be used to change the style based on where on the screen the item appears.\\
|
||||
\config{\%Lc} & Use as a conditional to determine if the current item is the selected item\\
|
||||
\config{\%LB} & BAR TAG to show the scroll bar, params/options like other bar types. It still needs a bit of work though. Use as a conditional to find out if the bar is actually needed\\
|
||||
\config{\%Lb(viewport,width,\tabnlindent height[,tile])} & specify the
|
||||
viewport label to draw for each item and the size of each item. if the
|
||||
last param is 'tile' it will form a grid instead of a list\\
|
||||
\end{tagmap}
|
||||
\note{To do this you need at least one viewport which will be drawn for each item on the screen, and the ui viewport configured (using the %Vi tag). To make this work do the following:
|
||||
Setup the ui viewport as normal. As many items as can fit in this viewport will be displayed (Titles are not included and need to be drawn in a seperate viewport manually)
|
||||
Create one or more viewports with a shared label which you want to display for each item. The x/y position is relative to an imaginary box which each item fits in inside the ui viewport.
|
||||
Tell the skin to draw the lists using the \%LB() tag}
|
||||
Tell the skin to draw the lists using the \%Lb() tag}
|
||||
|
||||
|
||||
\section{Changing Volume}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue