Support and General Use > Theming and Appearance Customization

Theme displaying default progressbar when image is available?

<< < (2/3) > >>

crzyboyster:
MarcGuay: I actually did that on purpose to illustrate the image progressbar not appearing and the cup appearing instead. I made name of the progressbar image "pb.bmp" and the code to this:


--- Quote ---#AAPod v4
#Created by Billy Blair, 2006
#Now works with SVN rockbox! (12/26/07) crzyboyster
%wd
%X|bg.bmp|
%P|pb.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|
%pb|4|4|172|3|
%Cl|4|12|c100|c100|









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


And also tested this out on the actual device! But it still won't display the image progressbar  ???

It's supposed to be looking like this (from the original screendump of the patched theme):



I didn't even touch the progressbar code from the original theme...

Anyone know what's up with this?

MarcGuay:
Is it possible that it is displaying your image but for some reason the fade isn't being shown?  What happens if you replace the pb.bmp image with all black?  Does the colour change in the simulator?

P.S.  You don't have to post the entire code every time.

Another thing to try:  Comment out everything except the progress bar and see if it works on its own.

crzyboyster:
Making the progressbar image all black makes no difference to the actual progressbar. The problem is that for some odd reason, the image is not being picked up at all!

I commented out everything but the progressbar code and ended up with the screendump attached. Atleast the proper image progessbar is showing up!


--- Quote ---#AAPod v4
#Created by Billy Blair, 2006
#Now works with SVN rockbox! (12/26/07) crzyboyster
#%wd
#%X|bg.bmp|
%P|pb.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|
%pb|4|4|172|3|
#%Cl|4|12|c100|c100|









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

(Sorry, I couldn't resist reposting the code as there might be something very wrong with it and I don't even know how to comment out the code)

I'm still perplexed as to the what the problem is. I'm willing to send it to someone if they can help with the problem.

Yotto:
You only get so much room to store your images. It sounds to me like Rockbox can't fit the progress bar graphic in.
Trim your other graphics as much as you can, or remove some. Many people leave room around a graphic that doesn't need to be there.  Like if you have 1 pixel of "buffer" around each of your words, cut that out and it saves ( (Width*2) + (Height * 2) - 4 ) pixels per bitmap.

crzyboyster:
This seems odd. I think you're right Yotto, but I deleted out the entire background image of the wps and it still doesn't want to show the image progressbar! I've been trimming the images and even stopped the display of album art but it still doesn't want to show that one graphic...


EDIT: I commented out some of the different audio format indicators that aren't put to much use and lo and behold! The progressbar started to work! The problem wasn't in image size, it was the amount of images. Thanks, guys

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version