1
0
Fork 0
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:
Dominik Riebeling 2008-03-28 21:49:41 +00:00
parent f68147e5eb
commit 8f44dd2b72

View file

@ -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{