Support and General Use > Theming and Appearance Customization

iRiver H340, Amabee theme, progress bar not displayed

(1/2) > >>

bl999:
Hi all.  The progress bar on the amabee.WPS for iRiver H340 (with 3.13 Rockbox) is not displayed. See highlighted lines below with comments and PLEASE help if you can.

Thanks in advance !!!


%wd
%X(wpsbackdrop-220x176x16.bmp)
%xl(A,lock-220x176x16.bmp,50,1,2)
%xl(B,battery-220x176x16.bmp,2,2,10)
%xl(C,volume-220x176x16.bmp,28,2,10)
%xl(D,shuffle-220x176x16.bmp,122,4)
%xl(E,repeat-220x176x16.bmp,84,1,4)
%xl(F,playmode-220x176x16.bmp,103,2,5)

#commented out to bypass album art display:
#%Cl(138,41,75,75)

#original progress bar code: DOES NOT WORK:
%pb(11,137,199,8,pb-220x176x16.bmp)

#adding View port below displays part of status bar where progress bar is suppossed to be ??!!
#%V(11,137,199,8,1)
#%pb(0,0,199,8,pb-220x176x16.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<%Vd(a)%Cd|%Vd(b)>

%V(181,0,-,14,1)
%ar%cH:%cM
%V(0,18,-,16,1)
%al%t(5)%bl%%%pvdB%ar%?fc<mp1|mp2|mp3|AIFF|wav|vorbis|flac|mpc|a52|wavpack|alac|aac|shorten|SID|ADX|NSF|speex|SPC|APE|WMA|unknown> %?fv<~|>%fbkbps

%Vl(a,21,41,115,20,1)
%s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%Vl(a,21,61,115,20,1)
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>%?iy< [%iy]|>
%Vl(a,21,80,115,20,1)
%s%al%?it<%it|%fn> [%pt]
%Vl(a,21,99,115,20,1)
%s%al%?It<%In - %It|%Fn>

%Vl(b,21,41,190,20,1)
%s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%Vl(b,21,61,190,20,1)
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>%?iy< [%iy]|>
%Vl(b,21,80,190,20,1)
%s%al%?it<%it|%fn> [%pt]
%Vl(b,21,99,190,20,1)
%s%al%?It<%Ia - %It|%Fn>

%V(0,152,-,20,1)
%al %pc%ac%pp/%pe%ar%pr

[Saint]:
Can you check the behavior against the development build please?

The release is absolutely ancient and there's been a fair amount of changes since then.


[Saint]

Frankenpod:
At first glance, that WPS file won't work because

 (a) the progress bar doesn't have a view port statement (presumably this is something that worked before a rockbox syntax change?)

and

(b) when you put in the viewport statement for it as shown, it will mess up the subsequent %xd statements, because as written they have no viewport of their own and rely on just using the default whole-display viewport to appear in the correct place (don't know if this is intended behaviour or just an accident that it works this way).

With the progress bar viewport where it is, it's creating a viewport prior to those other statements, which is going to confuse them as they will try and load the bitmaps into that viewport.

Simplest solution would be to move the progress bar viewport and pb statement to the end of the file.

bl999:

--- Quote from: Frankenpod on October 16, 2016, 03:27:59 AM ---Simplest solution would be to move the progress bar viewport and pb statement to the end of the file.

--- End quote ---

Yes, this worked.  Thank you so much !!

bl999:

--- Quote from: [Saint] on October 16, 2016, 01:54:56 AM ---Can you check the behavior against the development build please?

The release is absolutely ancient and there's been a fair amount of changes since then.


[Saint]

--- End quote ---

Same behavior with the 20161016 build, but it works fine if the viewport and pb code is moved to the end as Frankenpod suggested, so I guess I will use this latest build.

Just curious, under "dev builds" if I click on "For a stable build, download the latest stable release" I get back to the Rockbox 3.13 Download page.  Is 3.13 really the latest stable release or does this page need to be updated?

Thanks again,

Paul

Navigation

[0] Message Index

[#] Next page

Go to full version