summaryrefslogtreecommitdiff
path: root/manual/advanced_topics/main.tex
diff options
context:
space:
mode:
authorMartin Arver <martin.arver@gmail.com>2006-06-04 15:03:39 +0000
committerMartin Arver <martin.arver@gmail.com>2006-06-04 15:03:39 +0000
commit959d23e231014de4e8cf4f8a7808633ed7eaf459 (patch)
tree5e02b3f6fabbec0a2d62e326926ca74d9bb27d94 /manual/advanced_topics/main.tex
parent95afcf58c9fccfbc54ecc7778e0621d189483b20 (diff)
downloadrockbox-959d23e231014de4e8cf4f8a7808633ed7eaf459.tar.gz
rockbox-959d23e231014de4e8cf4f8a7808633ed7eaf459.zip
Fix for 6) in FS #5460. Add a HAVE_LCD_COLOR option to the platform files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10050 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics/main.tex')
-rw-r--r--manual/advanced_topics/main.tex29
1 files changed, 16 insertions, 13 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex
index 59d86be3a5..ca528fb0ea 100644
--- a/manual/advanced_topics/main.tex
+++ b/manual/advanced_topics/main.tex
@@ -188,19 +188,22 @@ displaying images:
188 your display. 188 your display.
189 } 189 }
190\end{enumerate} 190\end{enumerate}
191Example: 191
192\begin{verbatim} 192Example:\\
193%X|background.bmp| 193\opt{HAVE_LCD_COLOR}{
194%x|a|static_icon.bmp|50|50| 194 \config{\%X|background.bmp|}\\
195%xl|b|rep_off.bmp|16|64| 195}
196%xl|c|rep_all.bmp|16|64| 196\config{
197%xl|d|rep_one.bmp|16|64| 197 \%x|a|static\_icon.bmp|50|50|\\
198%xl|e|rep_shuffle.bmp|16|64| 198 \%xl|b|rep\_off.bmp|16|64|\\
199%?mm<%xdb|%xdc|%xdd|%xde> 199 \%xl|c|rep\_all.bmp|16|64|\\
200\end{verbatim} 200 \%xl|d|rep\_one.bmp|16|64|\\
201This example loads and displays a background image, and preloads four other 201 \%xl|e|rep\_shuffle.bmp|16|64|\\
202images at the same x and y position. Which image to display is determined by 202 \%?mm<\%xdb|\%xdc|\%xdd|\%xde>\\
203the \%mm tag (the repeat mode). 203}
204\opt{HAVE_LCD_COLOR}{This example loads and displays a background image.} Four
205images at the same x and y position are preloaded. Which image to display is
206determined by the \%mm tag (the repeat mode).
204 207
205\subsubsection{Example File} 208\subsubsection{Example File}
206\begin{verbatim} 209\begin{verbatim}