forked from len0rd/rockbox
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
This commit is contained in:
parent
f1eedb80a2
commit
40ecdf6811
6 changed files with 83 additions and 27 deletions
|
|
@ -565,6 +565,10 @@ Example: \config{\%ax\%V(\dots)}
|
|||
\config{operand}: either a second tag, a number, or text.\newline
|
||||
\config{[option count]}: optional parameter used to select which parameter
|
||||
of a tag to use when the tag has multiple options, e.g. \%?pv<a|b|c|d>\\
|
||||
\config{\%and(tag1, tag2, ..., tagN)}\newline
|
||||
& Logical ``and'' operator. Will be evaluate to true if all the tag parameters are true.\\
|
||||
\config{\%or(tag1, tag2, ..., tagN)}\newline
|
||||
& Logical ``or'' operator. Will be evaluate to true if any of the tag parameters are true.\\
|
||||
\end{tagmap}
|
||||
|
||||
Examples of the \%if tag:\\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue