diff options
Diffstat (limited to 'manual/advanced_topics/main.tex')
-rw-r--r-- | manual/advanced_topics/main.tex | 29 |
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} |
191 | Example: | 191 | |
192 | \begin{verbatim} | 192 | Example:\\ |
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|\\ |
201 | This example loads and displays a background image, and preloads four other | 201 | \%xl|e|rep\_shuffle.bmp|16|64|\\ |
202 | images at the same x and y position. Which image to display is determined by | 202 | \%?mm<\%xdb|\%xdc|\%xdd|\%xde>\\ |
203 | the \%mm tag (the repeat mode). | 203 | } |
204 | \opt{HAVE_LCD_COLOR}{This example loads and displays a background image.} Four | ||
205 | images at the same x and y position are preloaded. Which image to display is | ||
206 | determined by the \%mm tag (the repeat mode). | ||
204 | 207 | ||
205 | \subsubsection{Example File} | 208 | \subsubsection{Example File} |
206 | \begin{verbatim} | 209 | \begin{verbatim} |