Support and General Use > Theming and Appearance Customization

Help BruceHP update his WPS.

(1/2) > >>

BruceHP:
I'm hoping someone will help a nearly blind guy.

Back when I could see much better that today I made this WPS file:

%wd
%al%bt%ar%cl:%cM%cP
%ac%pp of %pe 
%pm
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d2<%d2|(Artist

Unknown)>>
%al%pc%ar-%pr
%pb|34|

%al%fbk%ac%pvdb%ar%fc

it made it possible for me to see something on the screen, now it isn't working.  I'm sure it will just take a little tweak which I can no longer do.

If you can help, just post it back here, as I can C&P.

If this violates any rules, Thanks anyways and I will revert to an older version of RockBox.  Thanks Again

Chronon:
The syntax for the %pb tag changed.  You can find a description of the changes in this post: http://forums.rockbox.org/index.php?topic=17507.0

Your %pb tag only has one parameter.  So, I'm not too sure if it's supposed to be the x position or the width.  Hopefully, that's enough information for you to be able to fix the theme.

audio-i:
It's a little bit of a guess here because I never used the %pb like that, but I checked on an old simulator and apparently your %pb|34| sets a complete progress bar using all the screen horizontally, with a 34 pixel height, that is placed vertically after displaying the preceding lines in the  WPS (right after " %al%pc%ar-%pr "). So to use the new syntax, it would have to be:

%pb|-|-|y|-|34|

where "y" has to be replaced with the vertical position (in pixels) where you want the progress bar to start. If you would have trouble calculating that position, please specify which font you are using (or post the .cfg file, and also  specify which player you use just in case)

BruceHP:
Thanks so much for all of your help.  I have it running and can tune it from here.

For anyone who wants what I call See22.wps here it is:

%wd
%al%bt%ar%cl:%cM%cP
%ac%pp of %pe 
%pm
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d2<%d2|(Artist

Unknown)>>
%al%pc%ar-%pr

%pb|-|-|-|-|34|

%al%fbk%ac%pvdb%ar%fc

BTW, I am using Profont22.

Thanks again, BruceHP

audio-i:

--- Quote from: BruceHP on October 09, 2008, 11:50:15 PM ---For anyone who wants what I call See22.wps here it is:

--- End quote ---

You might consider uploading your theme to the appropiate model theme gallery here http://www.rockbox.org/twiki/bin/view/Main/WpsGallery#WPS_Galleries_model_specific; your theme could be a ready-to-use solution for other people ;)

If you decide to do so, check http://forums.rockbox.org/index.php?topic=18001.0 and http://www.rockbox.org/twiki/bin/view/Main/WpsGallery#WPS_Upload_Guide

Navigation

[0] Message Index

[#] Next page

Go to full version