Support and General Use > Theming and Appearance Customization

Theme displaying default progressbar when image is available?

(1/3) > >>

crzyboyster:
OK, so I'm currently adapting the AAPod theme for the nano to work with an SVN build. The theme came with an image progressbar named "progress.bmp" and a bunch of code that an SVN build of rockbox would not parse properly. I cleaned up the code to the best of my knowledge, but it still won't work properly! Attached is my code and a screendump.


--- Quote ---#AAPod v4
#Created by Billy Blair, 2006
%wd
%X|bg.bmp|
%P|progress.bmp|
%xl|a|batt01.bmp|105|11|
%xl|b|batt02.bmp|105|11|
%xl|c|batt03.bmp|105|11|
%xl|d|batt04.bmp|105|11|
%xl|e|batt05.bmp|105|11|
%xl|f|vbr.bmp|145|88|
%xl|g|cbr.bmp|145|88|
%xl|j|vol_line.bmp|109|26|
%xl|p|vol01.bmp|105|24|
%xl|q|vol02.bmp|105|24|
%xl|r|vol03.bmp|105|24|
%xl|s|vol04.bmp|105|24|
%xl|t|vol05.bmp|105|24|
%xl|u|vol06.bmp|105|24|
%xl|v|vol07.bmp|105|24|
%xl|w|vol08.bmp|105|24|
%xl|x|vol09.bmp|105|24|
%xl|y|vol10.bmp|105|24|
%xl|z|vol11.bmp|105|24|
%xl|A|stop.bmp|105|38|
%xl|B|play.bmp|105|38|
%xl|C|pause.bmp|105|38|
%xl|D|forward.bmp|105|38|
%xl|E|rewind.bmp|105|38|
%xl|F|holdon.bmp|105|50|
%xl|G|holdoff.bmp|105|50|
%xl|H|repeat01.bmp|105|63|
%xl|I|repeat02.bmp|105|63|
%xl|J|repeat03.bmp|105|63|
%xl|K|repeat04.bmp|105|63|
%xl|L|repeat05.bmp|105|63|
%xl|M|shuff01.bmp|105|76|
%xl|N|shuff02.bmp|105|76|
%xl|O|hd01.bmp|105|102|
%xl|P|hd02.bmp|105|102|
%xl|Q|mp1.bmp|105|88|
%xl|R|mp2.bmp|105|88|
%xl|S|mp3.bmp|105|88|
%xl|k|aiff.bmp|105|88|
%xl|T|wav.bmp|105|88|
%xl|U|ogg.bmp|105|88|
%xl|V|fla.bmp|105|88|
%xl|W|mpc.bmp|105|88|
%xl|X|ac3.bmp|105|88|
%xl|Y|wvp.bmp|105|88|
%xl|Z|alc.bmp|105|88|
%xl|h|aac.bmp|105|88|
%xl|i|shn.bmp|105|88|
%xl|j|sid.bmp|105|88|
%xl|m|adx.bmp|105|88|
%xl|n|nsf.bmp|105|88|
%xl|o|spx.bmp|105|88|
%xl|l|unknown.bmp|105|88|
%Cl|4|12|c100|c100|
%pb|4|4|172|3|









%s%m|20|%al%?ia - %?id - %?it
%?bl
%?pv
%?pv
%?mp
%?mh
%?mm
%?ps%?fc%?fv
%?lh
%C
--- End quote ---

EDIT: Also attached is the progress bar that is supposed to be displayed. I figured out that for some odd reason, it displays the "cup" instead of the image! Any idea why?

MarcGuay:
Okay I get it now... Please hold.... What do you mean by "the cup"?  All I can think is that there's a file naming problem...

psycho_maniac:
"the cup" is something like this ------------------[]-----  instead of seeing a something like [[[[[[[[[[[[[[[[[[[------  progress bar its empty with a little "cup" where the song is at. But in the screenshot I dont see the cup i see a filled progress bar. ???

crzyboyster:
With the following code entered in:


--- Quote ---#AAPod v4
#Created by Billy Blair, 2006
%X|bg.bmp|
%P|progress.bmp|
%xl|a|batt01.bmp|105|11|
%xl|b|batt02.bmp|105|11|
%xl|c|batt03.bmp|105|11|
%xl|d|batt04.bmp|105|11|
%xl|e|batt05.bmp|105|11|
%xl|f|vbr.bmp|145|88|
%xl|g|cbr.bmp|145|88|
%xl|j|vol_line.bmp|109|26|
%xl|p|vol01.bmp|105|24|
%xl|q|vol02.bmp|105|24|
%xl|r|vol03.bmp|105|24|
%xl|s|vol04.bmp|105|24|
%xl|t|vol05.bmp|105|24|
%xl|u|vol06.bmp|105|24|
%xl|v|vol07.bmp|105|24|
%xl|w|vol08.bmp|105|24|
%xl|x|vol09.bmp|105|24|
%xl|y|vol10.bmp|105|24|
%xl|z|vol11.bmp|105|24|
%xl|A|stop.bmp|105|38|
%xl|B|play.bmp|105|38|
%xl|C|pause.bmp|105|38|
%xl|D|forward.bmp|105|38|
%xl|E|rewind.bmp|105|38|
%xl|F|holdon.bmp|105|50|
%xl|G|holdoff.bmp|105|50|
%xl|H|repeat01.bmp|105|63|
%xl|I|repeat02.bmp|105|63|
%xl|J|repeat03.bmp|105|63|
%xl|K|repeat04.bmp|105|63|
%xl|L|repeat05.bmp|105|63|
%xl|M|shuff01.bmp|105|76|
%xl|N|shuff02.bmp|105|76|
%xl|O|hd01.bmp|105|102|
%xl|P|hd02.bmp|105|102|
%xl|Q|mp1.bmp|105|88|
%xl|R|mp2.bmp|105|88|
%xl|S|mp3.bmp|105|88|
%xl|k|aiff.bmp|105|88|
%xl|T|wav.bmp|105|88|
%xl|U|ogg.bmp|105|88|
%xl|V|fla.bmp|105|88|
%xl|W|mpc.bmp|105|88|
%xl|X|ac3.bmp|105|88|
%xl|Y|wvp.bmp|105|88|
%xl|Z|alc.bmp|105|88|
%xl|h|aac.bmp|105|88|
%xl|i|shn.bmp|105|88|
%xl|j|sid.bmp|105|88|
%xl|m|adx.bmp|105|88|
%xl|n|nsf.bmp|105|88|
%xl|o|spx.bmp|105|88|
%xl|l|unknown.bmp|105|88|
%Cl|4|12|c100|c100|
%pb|4|4|132|3|









%s%m|20|%al%?ia - %?id - %?it
%?bl
%?pv
%?pv
%?mp
%?mh
%?mm
%?ps%?fc%?fv
%?lh
%C
%wd
--- End quote ---

I get the following screenshot which clearly shows the "cup" instead of the image that's supposed to show up in the first post.

Note that the cup is an outline and not the filled up progress bar.

Here's how the progress bar is supposed to look like (from the original patched build version):



I'm willing to send this theme to someone who can fix this up as I'm completely puzzled about this...  ???

MarcGuay:

--- Quote from: crzyboyster on December 26, 2007, 11:50:27 PM ---%pb|4|4|132|3|

--- End quote ---

There's something wrong with this part... In the first post you had it written as:

%pb|4|4|172|3|

Which made a lot more sense because your progressbar.bmp is 168 pixels wide... Put it back to these measurements and see what happens...

Navigation

[0] Message Index

[#] Next page

Go to full version