Support and General Use > Theming and Appearance Customization
Album Art in status bar?
MrMuh:
Hello,
I have recently discovered rockbox for my iPod 5G and I am really amazed. But I want to preserve the iPod skin (with a bit enhanced functionality, obviously ;)). Currently, I try to implement the album art in the status bar similar to this screen, but it doesn't show up...
currently, my code for this purpose is this:
--- Code: ---%?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
--- End code ---
If an album art is present, the screen gets cut into half, but instead of showing the cover, I just see the white background. The cover itself is ok because it shows up in the wps.
Has anyone an idea?
JdGordon:
you need to put the %Cd and %Cl into a normal (conditional) vewport, %Vi is only used to position the viewport, nothing in it actually gets drawn
MrMuh:
Aren't the %Cl and %Cd in the viewport %Vl(aa,160,24,160,-,1)?
JdGordon:
ah, yes they are :p ok not sure why that isnt working then :/
Giova:
I'm facing a similar issue with this code:
--- Code: ---#main viewport
%Vi(p,0,70,240,248,-)
%Vi(s,0,70,240,275,-)
%?if(%mp,=,1)<%VI(s)|%VI(p)>
--- End code ---
To me something is wrong with the infoviewport usage.
Navigation
[0] Message Index
[#] Next page
Go to full version