Commit graph

18 commits

Author SHA1 Message Date
William Wilgus
6df48c5f7f Revert^2 "Remove flashing text with the player name from the Next track label in WPS"
This reverts commit 1c0cfcee70.

Reason for revert: Going to put a splash at start-up

Change-Id: I9dcee79737f91161d7911923cec841f40e36e81d
2025-07-20 11:54:21 -04:00
William Wilgus
1c0cfcee70 Revert "Remove flashing text with the player name from the Next track label in WPS"
This reverts commit 614c6e9500.

Reason for revert: Just because you find it confusing doesn't mean it doesn't have a purpose..

make YOUR own theme if you don't like it seems like just as useful as the previous commit

Change-Id: I1555f483baaae77e396e88af6973c90414ee11dc
2025-07-20 11:38:09 -04:00
Vencislav Atanasov
614c6e9500 Remove flashing text with the player name from the Next track label in WPS
Currently, in Cabbie v2 there is a demonstration of the %ft() tag, which shows the player name (or Rockbox! if not configured) for a second between switching tracks, or every 5 minutes of playback. This is confusing for a couple of users (including me), does not bring any useful information, and is removed from the theme. The tag and its documentation are left intact, so theme developers can make use of it in their themes.

Change-Id: Id3c79f442e4836a78d24997bd66e01c08206dd18
2025-05-23 01:38:50 +03:00
William Wilgus
44bfffd7c5 [Feature] skinengine subline timeout hide line for n seconds
builds on top of the file text patch to add hide timeouts to
subline text tags

this allows you to specify both a show time and hide time
for these elements

%t(show, hide)

also removes the 327 second limit for timeouts whne this form is used

Change-Id: If4598dcc24d0c7be4380e7595b7d91c7eba3a728
2024-12-07 23:02:22 -05:00
Solomon Peachy
e6851a55ed Revert "[Feature] Skin engine Themes grab text from a file %ft(file, line) WIP"
This reverts commit 62b5dfd81d.

This was accidentally merged, and wasn't up-to-date anyway.

Change-Id: I4fcceb8dc4f86762701daab72498202cabd8295a
2024-12-07 13:48:05 -05:00
William Wilgus
62b5dfd81d [Feature] Skin engine Themes grab text from a file %ft(file, line) WIP
allow the skin engine to read text files and return a particular line

you then can use ss on that string to allow display of strings from the file
(Playername comes to mind)

able to be used as conditional
%?ft(filename)<Found|Not Found>

if (selected) line of file is empty the tag is treated as #COMMENT

scroll timeouts now persist thru trackchange

bugfix:
%t(n)%?x<text|text>
would ignore the specified timeout defaulting to 2 seconds

playername.txt generated at boot if it doesn't exist contents: 'RockBox!'

Change-Id: I961910e01be052ef902f77e6d92fc3e367ffe9d0
2024-12-07 13:21:21 -05:00
James D. Smith
38a0f1a96f Cabbie v2: Place album above title and track on the WPS. The idea is to have the album immediately beneath any album art.
Change-Id: I8c5fe85207bb3ecfde131710170ef7a5f801f312
2022-09-18 09:26:23 -04:00
James D. Smith
5388607968 [Cabbiev2] If the 'Artist' tag is empty read the 'Album Artist' tag.
Change-Id: Ic8b90cd2c833a08b57ed0157f960c9471cc5a51b
2021-05-20 18:52:48 -06:00
Jonathan Gordon
f551d14bdd fix typo
Change-Id: I52270ce86e506df4fe51e8b4cb3b7e066611716e
2012-12-04 18:49:29 +11:00
Hayden Pearce
6f709d2333 Update /rockbox/wps/AUTHORS and theme headers to provide correct attribution
Add a number of missing collaborators to the /rockbox/wps/AUTHORS file and create
a new header to share between the .fms, .sbs, and .wps files in the /rockbox/wps/
directory. No functional changes made, purely cosmetic.

Change-Id: Id4b22d438e340da4dfc18ec8bf0e40088bdc606e
Reviewed-on: http://gerrit.rockbox.org/368
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-12-04 07:54:26 +01:00
Jonathan Gordon
34031cba5b skin_engine: Clean up %x() handling - beware theme issues
Internally remove some hacks around how %x() is handled.
%x() inside the default viewport will no longer work if
other viewports are used, so if you are using viewports and
%x() make sure it is in a viewport!

Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
2012-02-28 23:51:01 +11:00
Michael Chicoine
1eb3970d05 Further upgrades of Cabbiev2 wps files to viewports - FS#11490 by HAyden Pearce and me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27856 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 23:39:19 +00:00
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
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
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
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
c5c40d1651 Finally convert the two monochrome cabbiev2 WPSs to using bitmap strips. Changed the background image of the Archos version a bit for it and used a blank space for the 'mute' volume bitmap part for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16796 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 13:50:52 +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