Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category User Interface → Themes
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by BdN3504 - 2008-07-10
Last edited by learman - 2008-07-11

FS#9181 - New WPS syntax only allows two progress bars

I have encountered this problem, when i tried to iclude three progress bars into a new theme. Even stripped down code, with the progress bars being used in the default viewport, gives an ‘invalid parameter list error’ in the simulator. Using only two playbars works fine though.
Here’s the code:

(on a gigabeat, with three progressbars present in the wps directory, all having the same dimensions)

%X|bg.bmp|
%pb|pb.bmp|18|10|206|23|
%pb|pb1.bmp|18|100|206|23|
%pb|pb2.bmp|18|200|206|23|

Same behaviour on a Sansa, so i assume this applies to all players.

Revision r17986-080708

Closed by  learman
2008-07-11 07:42
Reason for closing:  Fixed
Additional comments about closing:  

Fixed in r18007.

Yes, an off-by-one bug there.

However, please note this from the CustomWPS wiki page: “You can use up to 3 different progress bars in a WPS, with a maximum of one per viewport.” Just in case you hadn’t removed the viewports from the quoted example. :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing