diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-07 07:34:15 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-07 07:34:15 +0000 |
commit | 91e6b06be97aac8e0f532113723fa9a38fc6cf8c (patch) | |
tree | 973c8538bf4cdfcb418103563e2b42f8ce421a15 /apps/gui/skin_engine/skin_tokens.h | |
parent | 57667c51cf09de052222484ce94fbd6da113a55c (diff) | |
download | rockbox-91e6b06be97aac8e0f532113723fa9a38fc6cf8c.tar.gz rockbox-91e6b06be97aac8e0f532113723fa9a38fc6cf8c.zip |
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
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.h')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.h b/apps/gui/skin_engine/skin_tokens.h index 547bc858f9..25acfdacef 100644 --- a/apps/gui/skin_engine/skin_tokens.h +++ b/apps/gui/skin_engine/skin_tokens.h | |||
@@ -38,8 +38,10 @@ enum wps_token_type { | |||
38 | 38 | ||
39 | /* Alignment */ | 39 | /* Alignment */ |
40 | WPS_TOKEN_ALIGN_LEFT, | 40 | WPS_TOKEN_ALIGN_LEFT, |
41 | WPS_TOKEN_ALIGN_LEFT_RTL, | ||
41 | WPS_TOKEN_ALIGN_CENTER, | 42 | WPS_TOKEN_ALIGN_CENTER, |
42 | WPS_TOKEN_ALIGN_RIGHT, | 43 | WPS_TOKEN_ALIGN_RIGHT, |
44 | WPS_TOKEN_ALIGN_RIGHT_RTL, | ||
43 | 45 | ||
44 | /* Sublines */ | 46 | /* Sublines */ |
45 | WPS_TOKEN_SUBLINE_TIMEOUT, | 47 | WPS_TOKEN_SUBLINE_TIMEOUT, |