summaryrefslogtreecommitdiff
path: root/manual/appendix/wps_tags.tex
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-12-03 20:43:58 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-12-09 17:11:19 +1100
commit685cf5900825b10c952f36301abbbd9968567435 (patch)
tree41cdfed9e5a2943c80ac0d4ffe09c45519a3ecf3 /manual/appendix/wps_tags.tex
parent1fbdc280d7e4b4ffb7ec8dccbfd1c1fc67f1c123 (diff)
downloadrockbox-685cf5900825b10c952f36301abbbd9968567435.tar.gz
rockbox-685cf5900825b10c952f36301abbbd9968567435.zip
9 segment bitmap drawing:
Use %x9(id) to draw an image in the whole current viewport using the 9 segment drawer (which draws the corners as normal and *tiles* the middle segments to the needed width/height). Future work is to make it scale instead of tile Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
Diffstat (limited to 'manual/appendix/wps_tags.tex')
-rw-r--r--manual/appendix/wps_tags.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 9fea2bade3..7551276bdf 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -403,6 +403,13 @@ Examples:
403 use the first subimage when \config{\%mh} is on and the second when it is off\newline 403 use the first subimage when \config{\%mh} is on and the second when it is off\newline
404 \config{offset}: (optional) Add this number to the value from the \config{tag} when 404 \config{offset}: (optional) Add this number to the value from the \config{tag} when
405 chosing the subimage (may be negative)\\ 405 chosing the subimage (may be negative)\\
406 \config{\%x9(n)}
407 & Display an image as a 9-patch bitmap covering the entire viewport.\newline
408 9-patch images are bitmaps split into 9 segments where the four corners
409 are unscaled, the four middle sections are scaled along one axis and the middle
410 section is scaled on both axis.\newline
411 \config{n}: image ID\\
412
406 \end{tagmap} 413 \end{tagmap}
407 414
408Examples: 415Examples: