Support and General Use > Theming and Appearance Customization

problem showing progress bar

(1/2) > >>

burnwell88:
Here is the code that doesn't show the progress bar on iPod Nano 2nd gen
build r27902 from theme cabbiev2.1mod ........

 %Cl(9,16,65,65)%pb(8,86,160,8,pb-176x132x16.bmp)

but in the the curent build r27902 there is a theme called cabbiev2 and the code for the progress bar is

## Progress Bar %V(8,86,160,8,-)%pb(0,0,160,8,pb-176x132x16.bmp)

NOW here is the problem .... i really want to use the  cabbiev2.1mod but if i try change the code from

%Cl(9,16,65,65)%pb(8,86,160,8,pb-176x132x16.bmp)

TO

%V(9,16,65,65)%pb(8,86,160,8,pb-176x132x16.bmp)

it show me other v meters in the theme when playing and other sufft not what i want ...... i may missing somethig ? ..... and the hole code of the wps theme is .......


# cabbie 2.1 mod by PietroZ
# (C) 2007, Johannes Voggenthaler (Zinc Alloy)
#derived from "cabbie" (C) Yohann Misquitta
#Ported to nano by crzyboyster
%wd
%X(wpsbackdrop-176x132x16.bmp)
%xl(A,lock-176x132x16.bmp,65,116,2)
%xl(B,battery-176x132x16.bmp,83,117,10)
%xl(C,volume-176x132x16.bmp,102,117,10)
%xl(D,shuffle-176x132x16.bmp,120,117)
%xl(E,repeat-176x132x16.bmp,139,113,4)
%xl(F,playmode-176x132x16.bmp,156,115,5)
%Cl(9,16,65,65)
%pb(8,86,160,8,pb-176x132x16.bmp)
%?mh<%xd(Aa)|%xd(Ab)>
%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
%?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
%?ps<%xd(D)>
%?mm<|%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)>
%?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
%?C<%Cd%Vd(a)|%Vd(b)>

#Time and Date
%V(4,1,169,-,1)
%cd/%cm/%cy%ar%cH:%cM:%cS

#NowPlaying
%Vl(a,81,30,-,74,1)
%s%al%?it<%it|%fn>
%s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>

%Vl(b,0,12,-,74,1)
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>

%acNext Track:
%s%ac%?It<%It|%Fn>

%V(0,96,-,12,1)
%al   %pc%ac%pc%ac%pp of %pe%ar%pr%ar%pr   



EVERITHIG ELSE WORKS EXEPT THE PROGRESS BAR ..... ITS freaking me out !!!
PLS HELP ME .... pm back o something

biengo:
You have to put the %pb tag in a separate viewport as of lately. I.e.

--- Code: ---%V(8,86,160,8,-)%Vf(123456)%Vb(000000)
%pb(0,0,-,-,pb-176x132x16.bmp)
--- End code ---

JoChn:
Hey, I tried to fix my progressbar, but only thing I have is black screen (on wps) or not showing progress bar or only progress bar :/ As I said before i tried to fix it in several methods and nothing. Here's my original code:


%wd
%Fl(2,12-Terminus.fnt)
%Fl(3,12-Nimbus.fnt)
%X(wpsbackdrop.bmp)
%pb(26,113,147,5,progress.bmp)
%xl(A,redHDD.bmp,168,2)
%xl(B,redLOCK.bmp,168,10,2)
%xl(C,playmode.bmp,3,106,5)
%xl(D,battery.bmp,7,3,10)
%xl(E,volume.bmp,130,164,10)
%xl(F,shuffle.bmp,31,132,2)
%xl(G,repeat.bmp,5,132,5)
%Cl(53,132,66,66,c,c)
#HDD and Lock
%?mh<%xd(Ba)|%xd(Bb)>
%?lh<%xd(A)>
#Playmode
%?mp<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)>
#Battery
%?bp<%?bc<%xd(Da)>|%?bl<|%xd(Db)|%xd(Dc)|%xd(Dd)|%xd(De)|%xd(Df)|%xd(Dg)|%xd(Dh)|%xd(Di)|%xd(Dj)>>
#Volume
%?pv<%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)|%xd(Ee)|%xd(Ef)|%xd(Eg)|%xd(Eh)|%xd(Ei)|%xd(Ej)>
#Shuffle and repeat
%?ps<%xd(Fa)|%xd(Fb)>
%?mm<%xd(Ga)|%xd(Gb)|%xd(Gc)|%xd(Gd)|%xd(Ge)>
#AlbumArt
%?C<%Cd|No Art>
#Date and clock
%Vf(00ff00)
%V(45,4,105,14,2)
%al%cd.%cm.%cY%ar%cH:%cM
%V(16,23,160,65,3) %Vf(00ff00)
%s%al%?ia<%ia|>

%s%al%?it<%it|%s%ac%fn>

%s%al%?id<%id|>
%Vf(00ff00)
#Time in song
%V(22,97,153,13,2)
%ac%pc/%pt
#Song info
%V(120,124,56,40,2)
%ac%pp/%pe
%al%fb kbps
%ac@%fc
#Battery and volume info
%V(5,165,45,34,2)
B:%bl
V:%pvdB
#Next song
%V(22,-15,151,12,2)
%s%?Ia<%Ia - %It|%s%ac%Fn>


Can someone help me?

fallout33:
I have a similar problem but with the Ultima Theme for the Sansa E200 (progress bar does not display).

Following biengo's advice and simply replacing the "%pb(4,121,172,1,pb.bmp)" by "%V(4,121,172,5,-) %pb(0,0,-,-,pb.bmp)" is not the right way to do it. The progress is at the right position and works, but all other elements apart from the backdrop do not show up.

Can you help us with our problem?


--- Code: ---%X(bg.bmp)
%xl(a,b0.bmp,152,1)
%xl(b,b1.bmp,152,1)
%xl(c,b2.bmp,152,1)
%xl(d,b3.bmp,152,1)
%xl(e,b4.bmp,152,1)
%xl(f,b5.bmp,152,1)
%xl(g,bc.bmp,152,1)
%xl(h,rall.bmp,90,195)
%xl(i,r1.bmp,90,195)
%xl(j,rsfl.bmp,90,195)
%xl(k,rab.bmp,90,195)
%xl(l,sfl.bmp,59,197)
%xl(m,hold.bmp,82,16)
%xl(n,hdon.bmp,0,0)

%al %pp / %pe %ar %?bc<AC |%?bp<AC |%bl%% >>

%s%ac%?ia<%?ia<%ia|loading>|no tag>

%s%ac%?id<%id|%d(1)>

%s%ac%?it<%it|%fn>

%ar-%pr %ac%fc%fbkbs %al %pc

%s%ac%?Ia<%Ia|%acloading...>
%ac%s%?It<%It|loading...>

%al    %pvdB %ar %cH:%cM
%pb(4,121,172,1,pb.bmp)



 
%wd

%t(1) %?bp<%?bc<%xd(a)|%xd(f)>|%?bl<%xd(f)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %t(1) %?bp<%?bc<%xd(a)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(b)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(c)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(d)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(e)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1)%?bp<%?bc<%xd(f)|%xd(e)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>

%?mm<|%xd(h)|%xd(i)|%xd(j)|%xd(k)>
%?ps<%xd(l)|>
%?mh<%xd(m)|>
%?mr<%xd(m)|>
%?lh<%xd(n)|>
--- End code ---

[Saint]:

--- Quote from: fallout33 on October 27, 2010, 05:58:02 PM ---I have a similar problem but with the Ultima Theme for the Sansa E200 (progress bar does not display).

Following biengo's advice and simply adding a viewport (unfortunately I do not have insight into theme coding) corrupts the theme and shows only the backdrop and progress bar.

Can you help us with our problem?


--- Code: ---%X(bg.bmp)
%xl(a,b0.bmp,152,1)
%xl(b,b1.bmp,152,1)
%xl(c,b2.bmp,152,1)
%xl(d,b3.bmp,152,1)
%xl(e,b4.bmp,152,1)
%xl(f,b5.bmp,152,1)
%xl(g,bc.bmp,152,1)
%xl(h,rall.bmp,90,195)
%xl(i,r1.bmp,90,195)
%xl(j,rsfl.bmp,90,195)
%xl(k,rab.bmp,90,195)
%xl(l,sfl.bmp,59,197)
%xl(m,hold.bmp,82,16)
%xl(n,hdon.bmp,0,0)

%al %pp / %pe %ar %?bc<AC |%?bp<AC |%bl%% >>

%s%ac%?ia<%?ia<%ia|loading>|no tag>

%s%ac%?id<%id|%d(1)>

%s%ac%?it<%it|%fn>

%ar-%pr %ac%fc%fbkbs %al %pc

%s%ac%?Ia<%Ia|%acloading...>
%ac%s%?It<%It|loading...>

%al    %pvdB %ar %cH:%cM
#%V(4,121,172,5,-)
#%pb(0,0,-,-,pb.bmp)



 
%wd

%t(1) %?bp<%?bc<%xd(a)|%xd(f)>|%?bl<%xd(f)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %t(1) %?bp<%?bc<%xd(a)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(b)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(c)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(d)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1) %?bp<%?bc<%xd(e)|%xd(g)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>;%t(1)%?bp<%?bc<%xd(f)|%xd(e)>|%?bl<%xd(a)|%xd(a)|%xd(b)|%xd(c)|%xd(d)|%xd(e)|%xd(f)>>

%?mm<|%xd(h)|%xd(i)|%xd(j)|%xd(k)>
%?ps<%xd(l)|>
%?mh<%xd(m)|>
%?mr<%xd(m)|>
%?lh<%xd(n)|>
--- End code ---

--- End quote ---

Since the skin syntax was updated, quite some time ago now, the progressbar needs to be housed in a viewport, this will fix it.

If you added the viewport correctly, it should work.

You're aware that the progressbar code is commented out in that code snippet I take it?
That would definitely cause it not to display ;)
It is best to supply the original, unmodified code if you're asking for support about a theme as then we don't have to guess what the author added compared to what you yourself have added as a potential fix.



[St.]

Navigation

[0] Message Index

[#] Next page

Go to full version