From 0c4f89370d05056faa789aa9cabcccc4e509fb9f Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 19 Jul 2020 19:38:45 -0400 Subject: [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 --- manual/appendix/wps_tags.tex | 91 +++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 47 deletions(-) (limited to 'manual/appendix') 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} -- cgit v1.2.3