diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-03-28 21:49:41 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-03-28 21:49:41 +0000 |
| commit | 8f44dd2b72fd9b537512fece7bf13c5fe286d39c (patch) | |
| tree | 36721d9d09080d5c071a513e468a6803dea5e4b2 /manual/appendix | |
| parent | f68147e5eb21157a9835195c0f0778cf515fe73a (diff) | |
| download | rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.zip rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.gz rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.bz2 rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.xz | |
Make the image tags examples nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16869 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/appendix')
| -rw-r--r-- | manual/appendix/wps_tags.tex | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 59be264..30bdc04 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -202,15 +202,16 @@ Ffwd{\textbar}Rew{\textgreater}} \end{tagmap} \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}} - -Example 2: loads a bitmap strip containing 10 volume icon images (all the same size), -and then references the individual sub-images in a conditional:\\ -\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}10{\textbar}}\\ +\item Load a bitmap strip containing 5 volume icon images (all the same size) +with image ID ``M'', and then reference the individual sub-images in a conditional:\\ +\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}5{\textbar}}\\ \config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}% -\%xdMe{\textbar}\%xdMf{\textbar}\%xdMg{\textbar}\%xdMh{\textbar}% -\%xdMi{\textbar}\%xdMj>} +\%xdMe>} +\end{enumerate} \note{ |