Welcome to the Rockbox Technical Forums!
%?C<%VI(Ayes)%Vd(aa)|%VI(Ano)>#UI Viewport%Vi(Ano,0,24,-,-,1)#UI Viewport, Album Art present%Vi(Ayes,0,24,160,-,1)%Vl(aa,160,24,160,-,1)%Cl(0,0,206,206,l,t)%Cd
#main viewport%Vi(p,0,70,240,248,-)%Vi(s,0,70,240,275,-)%?if(%mp,=,1)<%VI(s)|%VI(p)>
#Menu Check%?cs<%Vd(m)%?C<%Vd(aa)%VI(Ayes)|%VI(Ano)>|%Vd(w)%VI(Ano)|%Vd(r)%VI(Ano)|%Vd(f)%VI(Ano)|%Vd(p)%VI(Ano)>#UI Viewport%Vi(Ano,0,24,-,-,1)#UI Viewport, Album Art present%Vi(Ayes,0,24,160,-,1)%Vl(aa,160,24,160,-,1)%Cl(-28,0,216,216,c,t)%Cd
#main viewport%?if(%mp,=,1)<%VI(s)|%VI(p)>%Vi(p,0,70,240,248,-)%Vi(s,0,70,240,275,-)
%?cs<%?C<%VI(Ayes)%Vd(aa)|%VI(Ano)>||%VI(rec)%Vd(r)||%VI(pl)%Vd(p)>
Ok, this doesn't have exactly sth. to do with the album art, but I have problems with the UI viewports.I do want a different UI viewport for the recording and playlist screen. So I tried this:Code: [Select]%?cs<%?C<%VI(Ayes)%Vd(aa)|%VI(Ano)>||%VI(rec)%Vd(r)||%VI(pl)%Vd(p)>I declared the %Vi and the %Vl viewports later in the code but the UI viewports %VI(rec) and %VI(pl) are not loaded, whereas %VI(Ayes) and %VI(Ano) works fine, the conditional viewports %Vd(r) and %Vd(p) are also present on the corresponding screens...What's wrong with this code? Thanks in advance!
Page created in 0.085 seconds with 14 queries.