Support and General Use > Theming and Appearance Customization
Pulse iAudio x5 theme update
(1/1)
Ste-:
I'm trying to update a theme to viewports but I'm having problems with the progress bar and album art.
The original can be found here
http://www.rockbox.org/twiki/bin/view/Main/WpsIaudioX5#MarkColeman
It's the pulse 75. problem is if the progress bar is drawn first then the album art is cut off at the end.
If the album art is drawn first then the progress bar won't display.
I've attached two screens below to show my dilema.
The code is, this is the one where the progress bar is drawn last.
--- Code: ---# PULSE By MrMEC. Enjoy!
%X|bground.bmp|
%xl|A|batt1.bmp|140|3|
%xl|B|batt2.bmp|140|3|
%xl|C|batt3.bmp|140|3|
%xl|D|batt4.bmp|140|3|
%xl|E|batt5.bmp|140|3|
%xl|F|battc.bmp|140|3|
%xl|G|battp.bmp|140|3|
%xl|P|ffcon.bmp|127|2|
%xl|Q|rwcon.bmp|127|2|
%xl|R|plcon.bmp|127|2|
%xl|S|pscon.bmp|127|2|
%?bp<%?bc<%xdF|%xdG>|%?bl<%xdA|%xdB|%xdC|%xdD|%xdE>>
%?mp<%xdU%xdS|%xdR|%xdS|%xdT%xdP|%xdT%xdQ>
%wd
%C
%Cl|2|2|75|75|
%?C<%Vda|%Vdb>
%Vl|a|80|0|78|10|1|FFFFFF|000000|
%al %pp / %pe
%Vl|a|80|20|78|30|1|FFFFFF|000000|
%s%al%?ia<%ia|%fn>
%s%al%?id<%id|%d1>
%s%al%?it<%it|%d2>
%Vl|b|2|0|156|10|1|FFFFFF|000000|
%al %pp / %pe
%Vl|b|2|20|156|30|1|FFFFFF|000000|
%s%ac%?ia<%ia|%fn>
%s%ac%?id<%id|%d1>
%s%ac%?it<%it|%d2>
%V|0|98|160|30|1|FFFFFF|000000|
%al %pc%acNEXT:%ar-%pr
%s%ac%It
%al%cl:%cM%cp%arVol: %?pv<0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30>
%pb|pbar.bmp|0|52|160|10|
--- End code ---
MrMEC:
I created this theme - glad to see others still want to use it. :D
Due to the overlapping of the progress bar and album art areas I'm betting you won't be able to get this to work using viewports. Just a hunch and I could be wrong, but I don't think it's possible since the viewport areas overlap, which I don't think you can do without the results you're getting.
So the only solutions would be to change the size of the progress bar image (which defeats the purpose of the theme), or remove the album art.
Ste-:
Yeah I've been battling with this all day.
Got the 50x50 to work no problems it's just his overlap thats stopping the 75x75 going ahead.
And you had great themes, so I thought why not update them so others will continue to enjoy them!
BdN3504:
--- Code: ---%X|bground.bmp|
%xl|A|batt1.bmp|140|3|
%xl|B|batt2.bmp|140|3|
%xl|C|batt3.bmp|140|3|
%xl|D|batt4.bmp|140|3|
%xl|E|batt5.bmp|140|3|
%xl|F|battc.bmp|140|3|
%xl|G|battp.bmp|140|3|
%xl|P|ffcon.bmp|127|2|
%xl|Q|rwcon.bmp|127|2|
%xl|R|plcon.bmp|127|2|
%xl|S|pscon.bmp|127|2|
%?bp<%?bc<%xdF|%xdG>|%?bl<%xdA|%xdB|%xdC|%xdD|%xdE>>
%?mp<%xdU%xdS|%xdR|%xdS|%xdT%xdP|%xdT%xdQ>
%Cl|0|0|c75|c75|
%wd
%V|0|52|160|48|-|-|-|
%pb|pb1.bmp|0|0|160|48|
%V|0|80|84|8|-|-|-|
%pb|pb2.bmp|0|0|160|8|
%V|2|2|75|75|-|-|-|
%?C<%C%Vdc|%Vda>
%Vl|c|80|0|78|10|1|FFFFFF|000000|
%al %pp / %pe
%Vl|c|80|20|78|30|1|FFFFFF|000000|
%s%al%?ia<%ia|%fn>
%s%al%?id<%id|%d1>
%s%al%?it<%it|%d2>
%Vl|a|0|52|160|48|-|-|-|
%pb|pb.bmp|0|0|160|48|
%Vl|a|2|0|156|10|1|FFFFFF|000000|
%al %pp / %pe
%Vl|a|2|20|156|30|1|FFFFFF|000000|
%s%ac%?ia<%ia|%fn>
%s%ac%?id<%id|%d1>
%s%ac%?it<%it|%d2>
%V|0|98|160|30|1|FFFFFF|000000|
%al %pc%acNEXT:%ar-%pr
%s%ac%It
%al%cl:%cM%cp%arVol: %?pv<0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30>
--- End code ---
(EDIT by Linus: removed picture of "a piece of cake")
http://www.rockbox.org/twiki/bin/viewfile/Main/WpsIaudioX5?rev=3;filename=Pulse75x75.zip
Ste-:
Aha I see how you've managed that only problem being the sim throws up an error and doesn't display correctly.
The error being
Failed parsing on Line 36 : Invalid parameter list for token 81: "progressbar"
I'll see if I can't trace and fix the error today.
Thanks for thinking of tha,t makes a great theme possible. (Edit) was using an old sim before the 3 progressbar fix was commited. Works perfect now thanks a million.
Navigation
[0] Message Index
Go to full version