summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-10-12 12:17:39 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-10-12 12:17:39 +0000
commit3eb5826c8a289d2ff2af246388e17d4aa6483da4 (patch)
tree343690ac844a3d96cec667e1c84793076affa067 /manual
parent69e379a47b6c7830fc17e912eecde6eb5100037f (diff)
downloadrockbox-3eb5826c8a289d2ff2af246388e17d4aa6483da4.tar.gz
rockbox-3eb5826c8a289d2ff2af246388e17d4aa6483da4.zip
improvement for bar tag with slider.
-fix bug the slider is drawn outside of the bounds (FS#11658). -offset the slider position so that the center of the slider indicates current position. -add nobar option. if this option is set, the bar isn't drawn at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/appendix/wps_tags.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 92460e8b32..58d81e659d 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -650,16 +650,22 @@ Example:
\item[vertical] -- force the bar to be drawn vertically.
\item[invert] -- invert the draw direction (i.e. right to left, or top to
bottom).
- \item[slider] -- draw an preloaded image over the top of the bar. This must be
+ \item[slider] -- draw an preloaded image over the top of the bar so that
+ the centre of the image matches current position. This must be
followed by the label of the desired image.
\item[nofill] -- don't draw the fill bar, only the empty image (for the
desired effect use with the ``slider'' option).
+ \item[nobar] -- don't draw the bar entirely including frame (for use
+ with the ``slider'' option).
\end{description}
Example: \config{\%pb(0,0,-,-,-,nofill, slider, slider\_image, invert)} -- draw
a horizontal progressbar which doesn't fill and draws the image
``slider\_image'' which moves right to left.
+Note: if the slider option is used, the bar will be shrank so that the slider will fit
+ inside the specified width and height.
+
\section{Other Tags}
\begin{tagmap}
\config{\%(} & The character `('\\