Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Theme background question
« previous next »
  • Print
Pages: [1] 2

Author Topic: Theme background question  (Read 6496 times)

Offline blueskip

  • Member
  • *
  • Posts: 53
Theme background question
« on: January 10, 2008, 05:44:46 AM »
Is there any way to make a theme with an clear or invisible background with graphic buttions?

I haven't seen one is why I'm curious.  I didn't want to waste my time trying to create one if it isn't possible.  

Sorry if this is a stupid question.  I'm still a little new.  

Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: Theme background question
« Reply #1 on: January 10, 2008, 05:55:25 AM »
There is a pinkish color which is what is used for transparency, can't think of the exact RGB for it.  You can look in the wiki for WPS to find it I believe.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Theme background question
« Reply #2 on: January 10, 2008, 06:15:26 AM »
Quote from: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Images
The color [R=255,G=0,B=255] is translated as transparent when used in BMP's, and can be used to create transparent images in the wps.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline blueskip

  • Member
  • *
  • Posts: 53
Re: Theme background question
« Reply #3 on: January 10, 2008, 03:07:49 PM »
OK, then a quick question based on what promted me to ask in the first place.  I tried modifying an existing wps using an existing pink and cloning parts of the one I wanted the parts from into and it just showed the buttons and a pink background when I used it instead of the pink being transparent.  I'll try again when I get home and check to make sure the background is the precise color it's supposed to be.  That's the only thing I can think I did wrong other wise.  I used one similar to black glass if I'm not mistaken on the name.  It has grass in the background.  

I'll keep trying.  I'm sure if you guys say it can be done I'm doing something wrong.

Thanks
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Theme background question
« Reply #4 on: January 10, 2008, 03:22:16 PM »
Sorry - what are you trying to achieve here ? You can't have an "invisible" background - it has to be some colour or another. What are you hoping to see if you make the background invisible? The insides of the iPod or something? ;)
Logged

Read The Manual Please

Offline blueskip

  • Member
  • *
  • Posts: 53
Re: Theme background question
« Reply #5 on: January 10, 2008, 06:05:20 PM »
I'm clueless as to how to respond to that but I'll try.

I'm not trying to make the OS "background" invisible.  I'm trying to make the THEME "background" invisible so I can see whatever background I have the OS set to through it.  

It is possible, because I have kelp running this way all the time.  What I want is gui buttons and stuff not just plain text and simple graphics.
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Theme background question
« Reply #6 on: January 10, 2008, 06:14:57 PM »
Just set the WPS background image to be the same one you're using as the menu screen backdrop.  The best way to figure this out would probably be to find a theme that does what you want it to and play around with the code/change the images, etc.

Oh, and I have no idea what you mean by graphic/GUI buttons.  Care to provide an example?
« Last Edit: January 10, 2008, 06:19:37 PM by MarcGuay »
Logged

Offline blueskip

  • Member
  • *
  • Posts: 53
Re: Theme background question
« Reply #7 on: January 10, 2008, 06:43:56 PM »
I think what you are saying is the key to what I wanted to know.  Using the pink color only makes the theme default to text and not work or it just displays the pink.

What I meant by the UI buttons is hard to describe.  I just mean, depending on the them of course, the buttons onscreen that have the play symbol or volume bar, or battery and light up or whatever the case may be.  I wanted those to show over the default background of the player.
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Theme background question
« Reply #8 on: January 10, 2008, 07:12:00 PM »
Quote from: blueskip on January 10, 2008, 06:43:56 PM
I think what you are saying is the key to what I wanted to know.  Using the pink color only makes the theme default to text and not work or it just displays the pink.

The default theme is shown when your .wps code doesn't work.  The special pink shade is used to denote the part of a graphic should be transparent.  I think you're misunderstanding where the background on the WPS screen comes from.   Have you read the CustomWPS wiki page?  If not, you should do that before asking any more questions.

Quote
What I meant by the UI buttons is hard to describe.  I just mean, depending on the them of course, the buttons onscreen that have the play symbol or volume bar, or battery and light up or whatever the case may be.  I wanted those to show over the default background of the player.

This is absolutely possible and has been done many times.  The only advise I can give you is read the wiki pages concerning WPSes and study some of the themes that have already been made which do the things you want to do.  Good luck.
« Last Edit: January 10, 2008, 07:23:13 PM by MarcGuay »
Logged

Offline melancholydm

  • Member
  • *
  • Posts: 71
Re: Theme background question
« Reply #9 on: January 10, 2008, 08:06:45 PM »
what he's asking for is basically something I am interested in.... at the WPS screen he wants his background to be whatever backdrop he has. so if he wants to change a backdrop then the same backdrop will be seen at the main menus and WPS screen.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Theme background question
« Reply #10 on: January 10, 2008, 08:27:31 PM »
There is no faculty for doing that, but if you copy that bitmap file over whatever the background of your WPS is (Stored in /.rockbox/wps/THE_NAME/SOMETHING.bmp

THE_NAME is the name of your WPS you're using. SOMETHING is the name of the background bitmap, usually bg.bmp or something similar. It's probably the biggest file in the directory.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline blueskip

  • Member
  • *
  • Posts: 53
Re: Theme background question
« Reply #11 on: January 10, 2008, 08:41:55 PM »
melancholydm,

YES, that's exactly what I'm trying to say.  Thank you.  

Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Theme background question
« Reply #12 on: January 11, 2008, 03:02:00 AM »
And as Yotto says, there is no way to do this elegantly.

If you stick to one background picture outside of the WPS all the time, then you can simply copy that picture over the top of the one specified in the .wps file.

But there's no way for you to select a different background, and for it to magically apply itself to the WPS as far as I'm aware.

What I'm trying to say here is that the background used elsewhere in Rockbox isn't "underneath" the background of the WPS - it's just not there at all - so having a transparent background won't make it show up.
Logged

Read The Manual Please

Offline blueskip

  • Member
  • *
  • Posts: 53
Re: Theme background question
« Reply #13 on: January 11, 2008, 04:50:35 AM »
I'm not an expert by any means but I just accomplished what you say isn't possible in the sim a few moments ago.  I have my buttons onscreen with the default backdrop showing underneath.  This is NOT the one applied with the theme.  

I still have some kinks to work out because the buttons are not elegant as you said.  Without the backdrop they are more like icons on screen but they are there.  I just need them to be seemless.  That will take some more time for me to figure out.  

If the sim is the same, I'll eventually figure it out.  It should be possible from what I can tell now.
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Theme background question
« Reply #14 on: January 11, 2008, 12:30:29 PM »
Quote from: GodEater on January 10, 2008, 03:22:16 PM
What are you hoping to see if you make the background invisible? The insides of the iPod or something? ;)
Sounds like an idea for a theme though!
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Theme background question
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.121 seconds with 14 queries.