diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-02 22:26:16 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-07 21:41:18 +1100 |
commit | 40ecdf6811d9a717ef67ff1833a67dbb521f91be (patch) | |
tree | ddde16bbb941fb70515a6127339b0a2f176e224f /manual | |
parent | f1eedb80a2efbf60cfc25182b72e3da07e0f1250 (diff) | |
download | rockbox-40ecdf6811d9a717ef67ff1833a67dbb521f91be.tar.gz rockbox-40ecdf6811d9a717ef67ff1833a67dbb521f91be.zip |
skin engine: New logical 'and' and 'or' tags to evaluate multiple tags in a single conditional.
Use these tags to stop having multiple conditionals.. e.g:
OLD: %?C<%?Ia<something>>
NEW: %?and(%C, %Ia)<something>
Change-Id: Ia3bbe4611cf808e87dcd1b1147181461fa08294a
Diffstat (limited to 'manual')
-rw-r--r-- | manual/appendix/wps_tags.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index d882baadea..0096075695 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex | |||
@@ -565,6 +565,10 @@ Example: \config{\%ax\%V(\dots)} | |||
565 | \config{operand}: either a second tag, a number, or text.\newline | 565 | \config{operand}: either a second tag, a number, or text.\newline |
566 | \config{[option count]}: optional parameter used to select which parameter | 566 | \config{[option count]}: optional parameter used to select which parameter |
567 | of a tag to use when the tag has multiple options, e.g. \%?pv<a|b|c|d>\\ | 567 | of a tag to use when the tag has multiple options, e.g. \%?pv<a|b|c|d>\\ |
568 | \config{\%and(tag1, tag2, ..., tagN)}\newline | ||
569 | & Logical ``and'' operator. Will be evaluate to true if all the tag parameters are true.\\ | ||
570 | \config{\%or(tag1, tag2, ..., tagN)}\newline | ||
571 | & Logical ``or'' operator. Will be evaluate to true if any of the tag parameters are true.\\ | ||
568 | \end{tagmap} | 572 | \end{tagmap} |
569 | 573 | ||
570 | Examples of the \%if tag:\\ | 574 | Examples of the \%if tag:\\ |