Support and General Use > Theming and Appearance Customization
Help BruceHP update his WPS.
pixelma:
--- Quote from: akahhannah on October 09, 2008, 11:28:21 PM ---%pb|-|-|y|-|34|
where "y" has to be replaced with the vertical position (in pixels) where you want the progress bar to start.
--- End quote ---
Just want to state it here as I saw this quite a few times already: you can also replace the "y" with a "-" which then means "display the progress bar on this line, center adjusted vertically", line on the screen corresponding to the line in the WPS in the same way as for text. If the %pb tag was used without specifying a y-position, like here, before this should simply work if you don't move the tag around in your .wps file. Finally, you can also still use a plain "%pb" tag without any specifications. This will display a 6 pixels high, drawn progress bar, going fully from left to right, center aligned on the line the tag is on - as it was before (see the DancePuffDuo.wps in SVN which is included on targets with 160x128 big displays, for the curious). This does not apply here though because the height should be differently.
BruceHP seems to have found out himself, good work. :)
audio-i:
@pixelma, yes I also found out what you explained through BruceHP's solution ;) I had never used a default or "semi-default" progress bar before. I changed the text in the CustomWPS wiki to try and make it a little bit more explicit, from
"%pb|filename.bmp|x|y|width|height| ... This will replace the entire line with a progress bar if no bitmap is defined. Optionally, you can set the image to use as well as its position and size. Any parameter can be set to the default by using a dash (-)."
to
"This will replace the current entire line with a 6 pixel high progress bar if no bitmap and other parameters are defined. Optionally, you can set the image to use, as well as its position and size. Any parameter can be set to the default by using a dash (-)."
BruceHP:
Thanks again for all the help. I would post this .wps if I had the ability.
If anyone would ike to do so, you are welcome.
I wrote this, See22.wps for the Sansa e200 using ProFont22.
The revised version 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|-|-|160|-|34|
%al%fbk%ac%pvdb%ar%fc
Hopefully it will be useful to some other Legally Blind RockBox user.
I need no credit for this wps.
The new Utility is great and does work with my TTS Zoom Text software. ZT has much better voices.
Keep Shooting!
BruceHP
Navigation
[0] Message Index
[*] Previous page
Go to full version