summaryrefslogtreecommitdiffstats
path: root/manual/appendix/wps_tags.tex
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-19 19:38:45 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit0c4f89370d05056faa789aa9cabcccc4e509fb9f (patch)
tree6ddf7fff0a47564db41d39927ea1acbdb03e74ee /manual/appendix/wps_tags.tex
parent092c340a2062fa98b7387fc5fd63578ddae7d0b6 (diff)
downloadrockbox-0c4f89370d.tar.gz
rockbox-0c4f89370d.zip
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
Diffstat (limited to 'manual/appendix/wps_tags.tex')
-rw-r--r--manual/appendix/wps_tags.tex91
1 files changed, 44 insertions, 47 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 1aec7bae99..1a0661c008 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -53,61 +53,58 @@ conditionals to show alternate information in preference to assuming.
These tags, when written with a capital ``I'' (e.g. \config{\%Ia} or \config{\%Ic}),
show the information for the next song to be played.
-\nopt{lcd_charcell}{
- \section{Viewports}
- \begin{tagmap}
- \nopt{lcd_non-mono}{%
- \config{\%V(x,y,[width],\tabnlindent[height],[font])}
- & See section \ref{ref:Viewports}\\}
-
- \nopt{lcd_color}{\opt{lcd_non-mono}{%
- \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
- \config{\%Vf([fgshade])}\newline
- \config{\%Vb([bgshade])}
- & See section \ref{ref:Viewports}\\}}
-
- \opt{lcd_color}{%
- \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
- \config{\%Vf([fgcolour])}\newline
- \config{\%Vb([bgcolour])}\newline
- \config{\%Vg(start,end \tabnlindent[,text])}
- & See section \ref{ref:Viewports}\\}
-
- \opt{lcd_non-mono}{%
- \config{\%Vs(mode[,param])}
- & See section \ref{ref:Viewports}\\}
-
- \config{\%Vl('identifier',\newline\dots)} & Preloads a viewport for later
+\section{Viewports}
+ \begin{tagmap}
+ \nopt{lcd_non-mono}{%
+ \config{\%V(x,y,[width],\tabnlindent[height],[font])}
+ & See section \ref{ref:Viewports}\\}
+
+ \nopt{lcd_color}{\opt{lcd_non-mono}{%
+ \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
+ \config{\%Vf([fgshade])}\newline
+ \config{\%Vb([bgshade])}
+ & See section \ref{ref:Viewports}\\}}
+
+ \opt{lcd_color}{%
+ \config{\%V(x,y,[width],\tabnlindent[height],[font])}\newline
+ \config{\%Vf([fgcolour])}\newline
+ \config{\%Vb([bgcolour])}\newline
+ \config{\%Vg(start,end \tabnlindent[,text])}
+ & See section \ref{ref:Viewports}\\}
+
+ \opt{lcd_non-mono}{%
+ \config{\%Vs(mode[,param])}
+ & See section \ref{ref:Viewports}\\}
+ \config{\%Vl('identifier',\newline\dots)} & Preloads a viewport for later
display. `identifier' is a single lowercase letter (a-z) and the `\dots'
parameters use the same logic as the \%V tag explained above.\\
- \config{\%Vd('identifier')} & Display the `identifier' viewport. E.g.
- \config{\%?C<\%Vd(a)|\%Vd(b)>}
- will show viewport `a' if album art is found, and `b' if it isn't.\\
+ \config{\%Vd('identifier')} & Display the `identifier' viewport. E.g.
+ \config{\%?C<\%Vd(a)|\%Vd(b)>}
+ will show viewport `a' if album art is found, and `b' if it isn't.\\
- \config{\%Vi('label',\dots)} &
- Declare a Custom UI Viewport. The `\dots' parameters use the same logic as
- the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\
+ \config{\%Vi('label',\dots)} &
+ Declare a Custom UI Viewport. The `\dots' parameters use the same logic as
+ the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\
- \config{\%VI('label')} & Set the Info Viewport to use the viewport called
- label, as declared with the previous tag.\\
+ \config{\%VI('label')} & Set the Info Viewport to use the viewport called
+ label, as declared with the previous tag.\\
- \config{\%VB} & Draw this viewport on the backdrop layer.\\
- \end{tagmap}
+ \config{\%VB} & Draw this viewport on the backdrop layer.\\
+ \end{tagmap}
- \section{Additional Fonts}
- \begin{tagmap}
- \config{\%Fl('id',filename)} & See section \ref{ref:multifont}.\\
- \end{tagmap}
+\section{Additional Fonts}
+ \begin{tagmap}
+ \config{\%Fl('id',filename)} & See section \ref{ref:multifont}.\\
+ \end{tagmap}
- \section{Misc Coloring Tags}
- \begin{tagmap}
- \config{\%dr(x,y,width,height,[color1,color2])} & Color a rectangle. \\
- \end{tagmap}
- width and height can be ``$-$'' to fill the viewport. If no color is
- specified the viewports foreground color will be used. If two
- colors are specified it will do a gradient fill.
-}
+\section{Misc Coloring Tags}
+ \begin{tagmap}
+ \config{\%dr(x,y,width,height,[color1,color2])} & Color a rectangle. \\
+ \end{tagmap}
+ width and height can be ``$-$'' to fill the viewport. If no color is
+ specified the viewports foreground color will be used. If two
+ colors are specified it will do a gradient fill.
\section{Power Related Information}
\begin{tagmap}