Commit graph

11 commits

Author SHA1 Message Date
Tomer Shalev
2f2213d63e WPS: Revert some of r24193 as decided in FS#10882.
This commit reverts having the track progress bar mirrored horizontally. This
is done because the code that makes the progress bar sensitive to language
direction conflicts with direction of buttons used to control playback, i.e.
progress bar fills to the left, but pressing long left makes it move to the
right, towards the beginning of the track.
The code that swap the progress bar direction was not (and will not be)
committed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24196 a1c6a512-1295-4272-9138-f99709370657
2010-01-07 17:16:33 +00:00
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
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
198224d78b Cabbiev2 for the small H10: the lock image wasn't renamed yet. Fixes issue when making zip as reported in IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16852 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 22:30:15 +00:00
Dave Chapman
10e1acc7ad Use bitmap strips for the remaining five colour versions of Cabbiev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16783 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 15:36:05 +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
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