Support and General Use > Theming and Appearance Customization

Tags's Background Color

(1/2) > >>

cbs_ghost:
I'm writing a sbs. I know it's impossible to display images under tags, so I use background color instead. However, there is a problem.
Usually it comes with this:
%V|16|117|157|14|-|336699|000000|

The last one "|000000|" sets to background color, but it disapears when there is a backdrop.
Can anyone fix it? Perhaps it should be fix in source code. Thank you!

AlexP:
The backdrop overwrites any colours you set, as of course it should.  If you want to get rid of specific areas of the backdrop, Rockbox uses a magic colour to signify transparent, which from memory is 255,0,255 (hot pink)

pixelma:
I'm quite sure that the "magic pink" doesn't work with backdrops and you'll only get pink areas.

As far as I know, there is no way to do what the original poster wants currently and someone would need to do the code changes. There was some discussion a while ago about how to get transparent backgrounds in the viewport with backdrop if something like overriding the backdrop with a viewport's background colour was implemented. I can't remember if it was just some theoretical talk or a discussion about some patch or so.

AlexP:
Sorry, I completely missed him saying sbs and assumed we were talking about the wps and therefore wps backdrop.

JdGordon:
that doesnt change anything though. Yes you cant display a colour behind viewports if the skin has a backdrop set.

one of the problems with viewport specific backdrop images is it would be pretty slow, but I'm not sure that would be a problem if we wanted to allow only a colour instead of an image (which I tinhk probably isnt worth the effort though.

Try this... setup 2 viewports in the same area, in the first display the picture, in the second do the text. as long as they arnt conditional that should do what you want (using a side effect of the display engine so this might not work at all or in the future :/ )

edit: I winder why we draw all the images at the end of each viewport instead of in the order they appear in the skin language. maybe something to think about.

Navigation

[0] Message Index

[#] Next page

Go to full version