forked from len0rd/rockbox
Make the image tags examples nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16869 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f68147e5eb
commit
8f44dd2b72
1 changed files with 8 additions and 7 deletions
|
@ -202,15 +202,16 @@ Ffwd{\textbar}Rew{\textgreater}}
|
||||||
\end{tagmap}
|
\end{tagmap}
|
||||||
\end{table}
|
\end{table}
|
||||||
|
|
||||||
Example 1: image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109 would be:\\
|
Examples:
|
||||||
|
\begin{enumerate}
|
||||||
|
\item Load and display the image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109:\\
|
||||||
\config{\%x{\textbar}a{\textbar}bg.bmp{\textbar}37{\textbar}109{\textbar}}
|
\config{\%x{\textbar}a{\textbar}bg.bmp{\textbar}37{\textbar}109{\textbar}}
|
||||||
|
\item Load a bitmap strip containing 5 volume icon images (all the same size)
|
||||||
Example 2: loads a bitmap strip containing 10 volume icon images (all the same size),
|
with image ID ``M'', and then reference the individual sub-images in a conditional:\\
|
||||||
and then references the individual sub-images in a conditional:\\
|
\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}5{\textbar}}\\
|
||||||
\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}10{\textbar}}\\
|
|
||||||
\config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}%
|
\config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}%
|
||||||
\%xdMe{\textbar}\%xdMf{\textbar}\%xdMg{\textbar}\%xdMh{\textbar}%
|
\%xdMe>}
|
||||||
\%xdMi{\textbar}\%xdMj>}
|
\end{enumerate}
|
||||||
|
|
||||||
|
|
||||||
\note{
|
\note{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue