Commit graph

14 commits

Author SHA1 Message Date
Jonathan Gordon
9ac4b44610 SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Jonathan Gordon
2d62a570e3 Fix yellow and all the shipped themes that show AA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26697 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 15:17:39 +00:00
Jonathan Gordon
5b0521c9aa Changeover to the new skin format. SkinBreakingChange in the wiki has the runown of the changes.
Major changes are paramerterised tags now use %tag(param,param), colours are removed from the %V() tag, %Vi gets a required (but can be -) label as its first param).

utils/skinupdater/ has a program to update individual skins, and a perl script to update a whole zip.
Themesite will be unusable for the time being (you should be able to upload new themes once it updates checkwps though).

I obviously havnt tested every updated wps in this change so let me know if one doesnt load


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26641 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 03:44:11 +00:00
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
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
43141cbfdb Small fix for the Mini's cabbiev2.wps: don't refer to a non-existent 10th volume bitmap. This version uses the same graphics as the 160x128x2 one whose author confirmed that there should only be 9 bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16342 a1c6a512-1295-4272-9138-f99709370657
2008-02-18 00:57:51 +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