Support and General Use > Theming and Appearance Customization
Need help with WPS
(1/1)
rdtyphn:
Ran the autoconverter and have been trying to figure out why this wps for an H140 does not work. Any suggestions would be appreciated. It is a very basic wps that looks fine on the "rockbox theme editor."
Thank you
--- Code: ---%x(a,background.bmp,0,0)
%ac%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%ac%s%?id<%id|%?d(1)<%d(1)|%(root%)>>
%ac%s%?it<%?in<%in. |>%it|%fn>
%pb
%ac%pc/%pt %?ps<[%ps]| > %?pp<[%pp/%pe]|>
%ac%?Ia<%s%Ia|%s%D(2)>
%ac%?It<%s%It|%s%D(1)>
%pm
%al%fsKb%ar%?fv<%fbK VBR| %fbK> %fc
--- End code ---
biengo:
I'm guessing you are running 3.7 or a later daily build. If so you'd need to put the %pb tag in a non-default viewport whereas it is currently in the default viewport.
--- Code: ---%Vi(x,y,width,hight,-)
%pb(0,0,-,-,-)
--- End code ---
I'd recommend to define viewports for text display and %pm as well. If you dont't, they have to appear in the default viewport, that is before the viewport the progress bar sits in.
pixelma:
biengo: (I believe I told you already in another thread). Putting %pb in its own viewport is not needed as long as everything is in the default viewport and no other used and it was also not mentioned if there is an update problem or the WPS is not working at all.
So the question to the original poster is: what exactly is the problem on target and also which build is running when you try the WPS? I can't find something obviously wrong in the code posted but admit that I didn't look too hard yet (have to leave in a bit).
littleevilllama:
--- Code: ---#%x(a,background.bmp,0,0)
%wd
%ac%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%ac%s%?id<%id|%?d(1)<%d(1)|%(root%)>>
%ac%s%?it<%?in<%in. |>%it|%fn>
%pb
%ac%pc/%pt %?ps<[%ps]| > %?pp<[%pp/%pe]|>
%ac%?Ia<%s%Ia|%s%D(2)>
%ac%?It<%s%It|%s%D(1)>
%pm
%al%fsKb%ar%?fv<%fbK VBR| %fbK> %fc
--- End code ---
Works... this is what I've done:
#%x(a,background.bmp,0,0)
%wd
so its either image, status bar or filename...
rdtyphn:
I am running 3.7 on an H140. The WPS did not work at all.
I tried the suggestions that were posted, and it looks like the line with the image was breaking the WPS.
Thank you for all the help!
Navigation
[0] Message Index
Go to full version