RTL language enhancements by Tomers Shalev and I.

3 new tokens:
%ax - the next token should follow the language direction (what that means is defined by the individual tokens)
%aL - align left on LTR language (same as %al), right on RTL languages
%aR - align right on LTR language (same as %ar), left on RTL languages

This commit adds %ax support to the %V and %Cl tokens. 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24193 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-01-07 07:34:15 +00:00
parent 57667c51cf
commit 91e6b06be9
13 changed files with 89 additions and 36 deletions

View file

@ -10,8 +10,8 @@
%xl|D|shuffle-160x128x2.bmp|78|97|
%xl|E|repeat-160x128x2.bmp|102|97|4|
%xl|F|playmode-160x128x2.bmp|123|98|5|
%Cl|5|15|s55|s55|
%pb|pb-138x110x2.bmp|2|75|134|6|
%ax%Cl|5|15|s55|s55|
%ax%pb|pb-138x110x2.bmp|2|75|134|6|
#images
%?mh<%xdAa|%xdAb>
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>>
@ -21,7 +21,7 @@
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>
%?C<%C%Vda|%Vdb>
%Vl|a|65|10|-|60|1|-|-|
%ax%Vl|a|65|10|-|60|1|-|-|
%s%al%?it<%it|%fn>
%s%al%?ia<%ia|%?d2<%d2|(root)>>
%s%al%?id<%id|%?d1<%d1|(root)>>
@ -36,4 +36,4 @@
%s%ac%?It<%It|%Fn>
%V|2|82|134|13|1|-|-|
%al%pc%ac%?Sr<%pe %Sx|of| %pp|%pp %Sx|of| %pe>%ar%pr
%aL%pc%ac%?Sr<%pe %Sx|of| %pp|%pp %Sx|of| %pe>%aR%pr