Add a description of the bacdrop functionality and include description of relevant options for greyscale targets too

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11522 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2006-11-13 15:14:28 +00:00
parent 6a27006a5d
commit da55588fc7
4 changed files with 29 additions and 11 deletions

View file

@ -38,6 +38,19 @@ If your language is not yet supported and you want to write your own language
file find the instructions on the Rockbox website:
\wikilink{HowtoUpdateLangfile}
\nopt{archos}{%
\subsection{\label{ref:LoadingBackdrops}Loading Backdrops}
Rockbox supports showing an image as a backdrop in the \setting{File Browser}
and the menus. The backdrop image must be a \fname{.bmp} file of the exact
same dimensions as the display in your \dap{} (\genericimg{} with the last
number giving the colour depth in bits). To use an image as a backdrop browse
to it in the \setting{File Browser} and open the \setting{File Menu}
(see \reference{ref:Filemenu}) on it and select the option
\setting{Set As Backdrop}. If you want rockbox to remember your
backdrop the next time you start your \dap{} the backdrop must be placed in
the \fname{/.rockbox/backdrops} folder.
}%
\section{\label{ref:ConfiguringtheWPS}Configuring the WPS}
\subsection{WPS -- General Info}
@ -197,19 +210,20 @@ displaying images:
\item Load and always show the image, using the \config{\%x} tag
\item Preload the image with \config{\%xl} and show it with \config{\%xd}.
This way you can have your images displayed conditionally.
\opt{HAVE_LCD_COLOR}{
\nopt{archos}{%
\item Load an image and show as backdrop using the \config{\%X} tag. The
image must be of the same exact dimensions as your display.
}
}%
\end{enumerate}
\optv{HAVE_LCD_COLOR}{
\optv{SWCODEC}{% This doesn't depend on SWCODEC but we don't have a \noptv
% command.
Example on background image use:
\begin{example}
%X|background.bmp|
\end{example}
The image with filename \fname{background.bmp} is loaded and used in the WPS.
}
}%
Example on bitmap preloading and use:
\begin{example}

View file

@ -183,8 +183,11 @@
disk poweroff & on, off & N/A\\
}%
\opt{HAVE_LCD_COLOR}{
\nopt{archos}{%
backdrop & /path/filename.bmp & N/A\\
}%
\opt{HAVE_LCD_COLOR}{
foreground color & 000000 to FFFFFF & RRGGBB\\
background color & 000000 to FFFFFF & RRGGBB\\
}

View file

@ -165,11 +165,11 @@ Ffwd{\textbar}Rew{\textgreater}}
\section{Images}
\begin{table}
\begin{tagmap}{}{}
\opt{h300,x5,ipodcolor,ipodvideo}{
\nopt{archos}{%
\config{\%X{\textbar}filename.bmp{\textbar}}
& Load and set a backdrop image for the WPS. %
This image must be exactly the same size as your LCD.\\
}
}%
\config{\%P{\textbar}filename.bmp{\textbar}}
& Load a Progress bar image for the WPS. Use \config{\%pb} tag to show the
progress bar\\

View file

@ -94,12 +94,13 @@
of inverted text (\setting{Bar (inverse)} option) or a small arrow to the
left of the menu text (\setting{Pointer} option).
\opt{HAVE_LCD_COLOR}{
\nopt{archos}{%
\item[Clear Backdrop:]
Rockbox allows you to select bitmap pictures to use as backdrops.
These backdrops are set in the \setting{File Menu}, see
\reference{ref:Filemenu}.
Rockbox allows you to select bitmap pictures to use as backdrops,
see \reference{ref:LoadingBackdrops} for further information.
This option allows you to clear the backdrops that you set.
}%
\opt{HAVE_LCD_COLOR}{
\item[Set Background Colour:]
Sets the background colour for the LCD display.
\item[Set Foreground Colour:]