Commit graph

11 commits

Author SHA1 Message Date
Jonathan Gordon
91e6b06be9 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
2010-01-07 07:34:15 +00:00
Tomer Shalev
98676a9107 FS#10879 - Cabbie: Fix usage of spaces to position strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24120 a1c6a512-1295-4272-9138-f99709370657
2009-12-28 20:10:24 +00:00
Tomer Shalev
ec0f4b4044 FS#10783 - WPS translation
- Use the %Sx skin tag in WPS to translate 'Next Track', 'Next', and 'of' (X of Y tracks)
- New conditional skin token 'Sr' which checks whether the currently loaded language is an RTL language (Hebrew/Arabic). It uses lang_is_rtl().
- Added Hebrew translation


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23638 a1c6a512-1295-4272-9138-f99709370657
2009-11-15 21:39:39 +00:00
Jonathan Gordon
322bfd2f0a remove the overlapping viewports in cabbie so there is no bitmpa flickering when the WPS is redrawn... hopefully I havnt stuffed any of them up...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17865 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 05:54:02 +00:00
Jonathan Gordon
c1b8df05e1 forgot 2 lcd sizes, and fix the progress viewport in 160x128x2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17762 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 07:51:26 +00:00
Jonathan Gordon
ef9c9d6354 replace %m from all svn WPS with use conditional viewports.
One thing I forgot to mention in the cond vp commit... if any viewports are defined in a WPS, it wont let you display text in the default viewport (the one which has everything up untill the first %V..) You should only use that viewport for image placement



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17761 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 07:32:27 +00:00
Jonathan Gordon
5a169bb717 commit FS#9027 - conditional viewports
** BREAKS CURRENT WPS's  **
* %P has been removed, merged with the new %pb
* %pb is now %pb or %pb|bitmap|x|y|width|height| (any of those params can be - to use sane defaults... check wiki/task for more explaination)

* New %Vl and %Vd tags which are used to setup and display conditionaly displayed viewports (%Vl|<id>|<usual %V params>| to set up, then %Vd<id> to enable the viewport
* bumps the max allowed viewport count to 24
* you can setup 3 different progressbars in a WPS... max of one per viewport though

http://www.rockbox.org/tracker/task/9027?getfile=16785 is a simple perl script to convert old %P/%pb to the new %pb syntax

I'll commit changes to the cabbie wps soon which shows how to use %Vl/%Vd properly...

Reminder: %m will be removed soonish also so when fixing your WPS's remember to use conditional viewports to replace %m


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17759 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 06:04:17 +00:00
Marianne Arnold
a0e4549717 Cabbiev2 greyscale versions (138x110 and 160x128): new icons which are a bit more like the colour ones (size-wise and looking 3D) and already using the new bitmap strip feature. Also convert the line endings of the two .wps files to unix style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16786 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 00:17:34 +00:00
Marianne Arnold
48f7d7d057 Cabbiev2 cleanup and a few corrections: (1) Get rid of two completely unused bitmaps. (2) Combine the two bitmaps used as background on the Iriver remote into one, name it consistently and change the .wps file accordingly. (3) Add the missing '0dB' volume image to the greyscale versions, including .wps file changes. Rename those greyscale volume images while at it, so that they are consistent with the rest - the 'vol08' one is now 'vol-9', because it is used for above line level. (4) Use the %X tag correctly, currently there were coordinates specified with it in most .wps files. (5) Set the bitmap's mime-type correctly for conformity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16742 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:17:28 +00:00
Marianne Arnold
d08af61394 Several fixes for the cabbiev2 theme. (1) Rename the files used for the rwps and change the WPSLIST so that it is done the same way as for iCatcher and .rwps files are actually included in the zip. (2) Replace the Iaudio rwps background which was taken fron the unicode version before with the correct one. (3) Fix the e200 wps to look like the author intended and with the progressbar at the right spot. (4) Make the 160x128 greyscale version use the helvR10 font as the colour version does. This also fixes a potential issue with the Iaudio rwps. (5) Clean up the WPSLIST a bit and drop (hopefully) unnecessary definitions. I guess it could be even simplified some more, someone with a bit perl foo should look into this. -- (3) and (4) taken from the last entries in FS#8443 by Apoo Maha.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16196 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 01:10:43 +00:00
Michael Giacomelli
8b01677c52 Commit new theme: Cabbie 2.0\! Thanks to everyone in the forums who made this possible. If you see any problems
please report them in FS#8443.  Once we are satisfied that Cabbie 2.0 is workable, it will hopefully become the new default rockbox theme\!

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16126 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 00:26:53 +00:00