Support and General Use > Theming and Appearance Customization
Sansa Clip Zip EKARAN Theme
xylon:
--- Quote from: Sahand_N on January 29, 2013, 03:16:42 AM ---
--- Quote ---Any ideas how to change the status bar background for default, playback, radio separately?
--- End quote ---
Status bar is part of background, or backdrop in rockboxish language.
You can set a different backdrop for WPS using %X tag.
--- End quote ---
So the backdrop can be changed for every screen type separately (base, playback, fm)?
Just tried it with %x(/.rockbox/backdrops/EkaranCy.bmp, 0, 0) in the last row of sbs. Nothing changed...
Sahand_N:
--- Quote from: xylon on January 29, 2013, 05:44:39 AM ---
--- Quote from: Sahand_N on January 29, 2013, 03:16:42 AM ---
--- Quote ---Any ideas how to change the status bar background for default, playback, radio separately?
--- End quote ---
Status bar is part of background, or backdrop in rockboxish language.
You can set a different backdrop for WPS using %X tag.
--- End quote ---
So the backdrop can be changed for every screen type separately (base, playback, fm)?
Just tried it with %x(/.rockbox/backdrops/EkaranCy.bmp, 0, 0) in the last row of sbs. Nothing changed...
--- End quote ---
Put the image you want into theme's folder (/.rockbox/Ekaran) not /.rockbox/backdrops/, and the code should be:
%X(EkaranCy.bmp)
Capital X and no zeroes.
Also you can set any viewport to replace the backdrop using %VB tag, let's say you want to have a file named "fms.bmp"to be your backdrop for FM screen, and you pre-loaded this file with the identifier "z" and used it in a viewport with "y" as it's identifier; that would be:
.
.
.
%xl(z,fms.bmp,0,0)
.
.
.
%Vd(y)
.
.
.
%Vl(y,0,0,-,-,-)
%xd(z)
%VB
.
.
.
But there's a little bug (or glitch, whatever) with scrolling texts, as soon as the text starts scrolling, it's background changes to the main backdrop, no matter what.
[Saint]:
I actually thought I commented on this thread, and I think I was going to...but I face-planted into the keyboard last night (I was a sleepy boy) and when I woke up I just closed all my tabs and probably wiped out the tab before pressing send.
In my opinion, using a backdrop for changing only the status bar is incredibly wasteful. Especially if the backdrop is a solid color (I haven't actually looked). Solid colors can be drawn with the background color viewport parameter (we can actually draw basic bi-color gradients as well), and the status bar could be drawn in a separate viewport and sent to the backdrop buffer. This is slightly more complicated, but a lot cleaner and uses less resources.
[Saint]
Lacres:
Hallo. Is it posible to show the time of the track and when paused the track number of the playlist? Thanks in advance.
Sahand_N:
--- Quote from: Lacres on May 04, 2013, 01:28:29 PM ---Hallo. Is it posible to show the time of the track and when paused the track number of the playlist? Thanks in advance.
--- End quote ---
Sure, in Ekaran.WPS edit this line:
# playlist status
%Vl(p,2,70,68,12,5) %?or(%if(%mp, =, 3), %if(%mp, =, 4), %if(%mp, =, 5))<%Vf(ff0000)|%Vf(ffffff)>
%al%?or(%if(%mp, =, 3), %if(%mp, =, 4), %if(%mp, =, 5))<%?if(%mp, =, 3)<%t(.5)%pc/%pt;%t(.5);|%pc/%pt>|%pp/%pe>
to whatever you want using this guide:
http://download.rockbox.org/daily/manual/rockbox-sansaclipzip/rockbox-buildap4.html#x20-383000D.16
%mp represents playback status.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version