summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-28 21:49:41 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-28 21:49:41 +0000
commit8f44dd2b72fd9b537512fece7bf13c5fe286d39c (patch)
tree36721d9d09080d5c071a513e468a6803dea5e4b2 /manual
parentf68147e5eb21157a9835195c0f0778cf515fe73a (diff)
downloadrockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.gz
rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.zip
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')
-rw-r--r--manual/appendix/wps_tags.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 59be264fa8..30bdc04363 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -202,15 +202,16 @@ Ffwd{\textbar}Rew{\textgreater}}
202 \end{tagmap} 202 \end{tagmap}
203\end{table} 203\end{table}
204 204
205Example 1: image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109 would be:\\ 205Examples:
206\begin{enumerate}
207\item Load and display the image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109:\\
206\config{\%x{\textbar}a{\textbar}bg.bmp{\textbar}37{\textbar}109{\textbar}} 208\config{\%x{\textbar}a{\textbar}bg.bmp{\textbar}37{\textbar}109{\textbar}}
207 209\item Load a bitmap strip containing 5 volume icon images (all the same size)
208Example 2: loads a bitmap strip containing 10 volume icon images (all the same size), 210with image ID ``M'', and then reference the individual sub-images in a conditional:\\
209and then references the individual sub-images in a conditional:\\ 211\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}5{\textbar}}\\
210\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}10{\textbar}}\\
211\config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}% 212\config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}%
212\%xdMe{\textbar}\%xdMf{\textbar}\%xdMg{\textbar}\%xdMh{\textbar}% 213\%xdMe>}
213\%xdMi{\textbar}\%xdMj>} 214\end{enumerate}
214 215
215 216
216\note{ 217\note{