Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Support and General Use
Theming and Appearance Customization
Tags's Background Color
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tags's Background Color (Read 1296 times)
cbs_ghost
Member
Posts: 14
Tags's Background Color
«
on:
March 17, 2010, 11:35:30 AM »
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!
Logged
AlexP
Global Moderator
Member
Posts: 3688
ex-BigBambi
Re: Tags's Background Color
«
Reply #1 on:
March 17, 2010, 03:29:26 PM »
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)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android
pixelma
Rockbox Expert
Member
Posts: 645
Re: Tags's Background Color
«
Reply #2 on:
March 17, 2010, 04:28:06 PM »
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.
Logged
AlexP
Global Moderator
Member
Posts: 3688
ex-BigBambi
Re: Tags's Background Color
«
Reply #3 on:
March 18, 2010, 04:02:03 AM »
Sorry, I completely missed him saying sbs and assumed we were talking about the wps and therefore wps backdrop.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android
JdGordon
Member
Posts: 1817
Constantly breaking stuff
Re: Tags's Background Color
«
Reply #4 on:
March 18, 2010, 06:17:24 AM »
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.
«
Last Edit: March 18, 2010, 06:19:27 AM by JdGordon
»
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.
JdGordon
Member
Posts: 1817
Constantly breaking stuff
Re: Tags's Background Color
«
Reply #5 on:
March 21, 2010, 05:19:46 AM »
I'm working on a patch to clean up the image drawing so the skin code order matters (i.e images are actually drawn when the %xd tag is hit)..
FS#11133 if anyone wants to try it out. this could cause some themes to display wierdly so let me know if you see any of that
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.
Print
Pages: [
1
]
« previous
next »
Rockbox Technical Forums
Support and General Use
Theming and Appearance Customization
Tags's Background Color
SMF 2.0.17
|
SMF © 2019
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.08 seconds with 14 queries.