Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: crash91 on July 03, 2007, 09:42:08 AM

Title: WPS prolems
Post by: crash91 on July 03, 2007, 09:42:08 AM
I wanted to port the orig theme over to the Sansa, i know that Mschnieder has done one, but those images are self authored (and im sorry to say, look a bit....well....tacky), i have extracted the images from the orig FW and tried to work on the WPS (all images done). I have been having a very bad time with the WPS, the volume meter is not displayed after the 9th image (bitmap heavy??) and the progress bar is not showing up! I need someone's help, because In my opinion, the code is perfectly alright, i have even tried updating to the latest simulator. I have also experienced font alignment problems with the theme EscapePodGB (for Sansa) on rockbox-themes.org
I have attached the file with this message. Someone please work on it and get back to me at evil91@gmail.com.
Thanks In Advance
crash
http://rapidshare.com/files/40586472/sansa.zip
Title: Re: WPS prolems
Post by: PaulJam on July 03, 2007, 10:57:30 AM
Hi,

there are several problems with this wps:
1. as far as i know the total size of all images shouldn't exceed twice the screensize. Your wps is way over that limit.
2. %xl|J|battz.bmp| <- coordinates missing
3. The progressbar is positioned underneath the volume graphics. The vertical position can be adjusted by adding lines above it that are blank or contain text.
Title: Re: WPS prolems
Post by: pixelma on July 03, 2007, 12:20:49 PM
3. The progressbar is positioned underneath the volume graphics. The vertical position can be adjusted by adding lines above it that are blank or contain text.

The progressbar can also be positioned in the y-axis with an optional coordinate you define as the CustomWPS page in the wiki states:

Quote from: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
Optionally, you can set the height, position (both x and y) and width of the progressbar (in pixels): %pb|height|leftpos|rightpos|toppos|
Title: Re: WPS prolems
Post by: crash91 on July 04, 2007, 06:14:13 AM
Thanks, I will try to use a simpler volume meter,

Quote from: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS
Optionally, you can set the height, position (both x and y) and width of the progressbar (in pixels): %pb|height|leftpos|rightpos|toppos|


I have tried that but to no avail, the progressbar still appears as a box, maybe if i change the volume meter it will work.
Title: Re: WPS prolems
Post by: mschneider on July 04, 2007, 09:54:10 AM
crash, first of all- Great images! ;D These look really good!.
The volume is not being displayed probably because of a BMP heavy wps. But if that were actually the case, then any image pre-loaded after vol_9 would not be displayed. Your progressbar would not be affected by the volume meter because it was preloaded a good ways before. Are your repeat and shuffle bmps showing?
As for displaying the Progressbar, i find that leaving height as an empty bracket works best and then defining x and y sort of through guess and check ::) works for me. (e.g. %pb||xguess|yguess|endpos|). If that doesnt work try switching them around a little. (I know its very unorthodox but it works for me).
Title: Re: WPS prolems
Post by: crash91 on July 06, 2007, 01:00:33 PM
MSchnieder......thanks sandisk for the excellent images  ;D. I will try, but now im too busy fiddling with customised builds and patches. ANYONE WHO WANTS TO COMPLETE THIS THEME, FEEL FREE TO DO SO!