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
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
integrate back modifications made by bertrik for clipv1 into iriver remote wps
don't show decibel value when changing volume (too complex for me)
delete 'sansaclip' specific version so the wps is used on all clips
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26586 a1c6a512-1295-4272-9138-f99709370657
With the change to 8 pixels font we can add "Next song" info (%It/%Fn)
Also move the tag info 2 pixels down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26508 a1c6a512-1295-4272-9138-f99709370657
Works for both wps config and settings
Only change targets with LCD_REMOTE_HEIGHT <= 64 (irivers) to use
08-Rockfont
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26505 a1c6a512-1295-4272-9138-f99709370657
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
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
- 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
All Cabbie themes use to convention 'Next Track', except cabbiev2.176x220x16,
which uses 'Next Song'. DancePuffDuo.176x220x1 also uses this unconventional
phrase. This patch rename these terms in order to achieve a better consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23626 a1c6a512-1295-4272-9138-f99709370657
* demonstrate how to give options using conditional viewports (some people like text battery and volume!?)
* specify the UI area viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23396 a1c6a512-1295-4272-9138-f99709370657
%V|-50|0|-|..... will position that viewport 50 pixels from the right of the display at the top.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23378 a1c6a512-1295-4272-9138-f99709370657
Whats the easiest way to get this going for all displays/targets without doing 28+ .sbs files?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23376 a1c6a512-1295-4272-9138-f99709370657
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows.
The default folder for .sbs is the wps folder to reuse images used in the WPS.
As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space.
There are a few restrictions/TODOs:
*) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686)
*) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though).
*) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used).
*) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar.
Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd.
Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then.
Flyspray: FS#10566
Author: myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
- All theme authors have been contacted and agreed to relicense their theme
under the CC-BY-SA 3.0 unported license.
- Themes can still be used as GPLv2 or later if you like.
- The marquee theme is removed, as the author couldn't be contacted.
- An AUTHORS and COPYING file is added, containing a list of authors and the
full license text, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23131 a1c6a512-1295-4272-9138-f99709370657
* Make those images' backgrounds transparent instead of black
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22378 a1c6a512-1295-4272-9138-f99709370657