From 959d23e231014de4e8cf4f8a7808633ed7eaf459 Mon Sep 17 00:00:00 2001 From: Martin Arver Date: Sun, 4 Jun 2006 15:03:39 +0000 Subject: 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 --- manual/advanced_topics/main.tex | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'manual/advanced_topics/main.tex') 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: your display. } \end{enumerate} -Example: -\begin{verbatim} -%X|background.bmp| -%x|a|static_icon.bmp|50|50| -%xl|b|rep_off.bmp|16|64| -%xl|c|rep_all.bmp|16|64| -%xl|d|rep_one.bmp|16|64| -%xl|e|rep_shuffle.bmp|16|64| -%?mm<%xdb|%xdc|%xdd|%xde> -\end{verbatim} -This example loads and displays a background image, and preloads four other -images at the same x and y position. Which image to display is determined by -the \%mm tag (the repeat mode). + +Example:\\ +\opt{HAVE_LCD_COLOR}{ + \config{\%X|background.bmp|}\\ +} +\config{ + \%x|a|static\_icon.bmp|50|50|\\ + \%xl|b|rep\_off.bmp|16|64|\\ + \%xl|c|rep\_all.bmp|16|64|\\ + \%xl|d|rep\_one.bmp|16|64|\\ + \%xl|e|rep\_shuffle.bmp|16|64|\\ + \%?mm<\%xdb|\%xdc|\%xdd|\%xde>\\ +} +\opt{HAVE_LCD_COLOR}{This example loads and displays a background image.} Four +images at the same x and y position are preloaded. Which image to display is +determined by the \%mm tag (the repeat mode). \subsubsection{Example File} \begin{verbatim} -- cgit v1.2.3