diff options
author | Alex Parker <rockbox@aeparker.com> | 2011-08-19 11:43:51 +0000 |
---|---|---|
committer | Alex Parker <rockbox@aeparker.com> | 2011-08-19 11:43:51 +0000 |
commit | 77a78ee8f4927258ae8778435200c61a41a68db2 (patch) | |
tree | e57328ef9406751eb6343edc3356c09dbe470e2d /manual/advanced_topics/main.tex | |
parent | 0aa2fcb3b66b7281dc1dedd954d98b005bd4f1b5 (diff) | |
download | rockbox-77a78ee8f4927258ae8778435200c61a41a68db2.tar.gz rockbox-77a78ee8f4927258ae8778435200c61a41a68db2.zip |
Manual: add %Vg and %Vs tags. Closes FS#12230.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30332 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics/main.tex')
-rw-r--r-- | manual/advanced_topics/main.tex | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index 66da59e04b..17e72cd51a 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex | |||
@@ -263,6 +263,27 @@ area of the screen. | |||
263 | \nopt{lcd_color}{\opt{lcd_non-mono}{\input{advanced_topics/viewports/grayscale-vp-syntax.tex}}} | 263 | \nopt{lcd_color}{\opt{lcd_non-mono}{\input{advanced_topics/viewports/grayscale-vp-syntax.tex}}} |
264 | \opt{lcd_color}{\input{advanced_topics/viewports/colour-vp-syntax.tex}} | 264 | \opt{lcd_color}{\input{advanced_topics/viewports/colour-vp-syntax.tex}} |
265 | 265 | ||
266 | \opt{lcd_non-mono}{ | ||
267 | \subsubsection{Viewport Line Text Styles} | ||
268 | \begin{tagmap} | ||
269 | \config{\%Vs(mode[,param])} | ||
270 | & Set the viewport text style to `mode' from this point forward\\ | ||
271 | \end{tagmap} | ||
272 | |||
273 | Mode can be the following: | ||
274 | |||
275 | \begin{rbtabular}{.75\textwidth}{lX}{\textbf{Mode} & \textbf{Description}}{}{} | ||
276 | clear & Restore the default style\\ | ||
277 | invert & Draw lines inverted\\ | ||
278 | color & Draw the text coloured by the value given in `param'. Functionally | ||
279 | equivalent to using the \%Vf() tag\\ | ||
280 | \opt{lcd_color}{% | ||
281 | gradient & Draw the next `param' lines using a gradient as | ||
282 | defined by \%Vg. By default the gradient is drawn over 1 line. | ||
283 | \%Vs(gradient,2) will use 2 lines to fully change from the start colour to | ||
284 | the end colour\\} | ||
285 | \end{rbtabular} | ||
286 | } | ||
266 | 287 | ||
267 | \subsubsection{Conditional Viewports} | 288 | \subsubsection{Conditional Viewports} |
268 | 289 | ||