summaryrefslogtreecommitdiff
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
parent95afcf58c9fccfbc54ecc7778e0621d189483b20 (diff)
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
-rw-r--r--manual/advanced_topics/main.tex29
-rw-r--r--manual/platform/h300.tex1
-rw-r--r--manual/platform/ipodcolor.tex1
-rw-r--r--manual/platform/ipodnano.tex1
-rw-r--r--manual/platform/ipodvideo.tex1
-rw-r--r--manual/platform/x5.tex1
6 files changed, 21 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:
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}
diff --git a/manual/platform/h300.tex b/manual/platform/h300.tex
index 5fa549a145..136122e290 100644
--- a/manual/platform/h300.tex
+++ b/manual/platform/h300.tex
@@ -6,6 +6,7 @@
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IRIVER_H300_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H3xx}
diff --git a/manual/platform/ipodcolor.tex b/manual/platform/ipodcolor.tex
index ed6094f52e..3a245bbb22 100644
--- a/manual/platform/ipodcolor.tex
+++ b/manual/platform/ipodcolor.tex
@@ -4,6 +4,7 @@
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IPOD_4G_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Color}
diff --git a/manual/platform/ipodnano.tex b/manual/platform/ipodnano.tex
index 4dcbc06e05..0173652e1f 100644
--- a/manual/platform/ipodnano.tex
+++ b/manual/platform/ipodnano.tex
@@ -4,6 +4,7 @@
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IPOD_4G_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Nano}
diff --git a/manual/platform/ipodvideo.tex b/manual/platform/ipodvideo.tex
index 490d7b8541..6611f7538c 100644
--- a/manual/platform/ipodvideo.tex
+++ b/manual/platform/ipodvideo.tex
@@ -4,6 +4,7 @@
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IPOD_4G_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Video}
diff --git a/manual/platform/x5.tex b/manual/platform/x5.tex
index d0ce41d860..0981d0b374 100644
--- a/manual/platform/x5.tex
+++ b/manual/platform/x5.tex
@@ -6,6 +6,7 @@
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IAUDIO_X5_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\newcommand{\playerman}{Iaudio}
\newcommand{\playertype}{X5}