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
| | |-+  "Leave my foreground/background colors alone"
« previous next »
  • Print
Pages: [1]

Author Topic: "Leave my foreground/background colors alone"  (Read 1981 times)

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
"Leave my foreground/background colors alone"
« on: September 20, 2007, 12:04:23 AM »
I'm about to release my "iText" theme but there's one final thing I'd like.  As it's all text, I don't want it to change the foreground/background color the user has set.  If you want black on white, white on black, red on purple, whatever, when you select my theme it should stay that way (in my opinion).

I can't for the life of me figure out how to do this, and wonder if it's possible.

If my CFG file contains no foreground/background information, then when I select the theme Rockbox (iPod 5G) sets the background to light blue, foreground to black.  If I include:

foreground:
background:

with no values, it assumes I meant "0" and sets both to black (Not good, obviously)

If I include numbers, that defeats what I'm trying to do.

Is what I'm trying to do possible?  If so, how?
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: "Leave my foreground/background colors alone"
« Reply #1 on: September 20, 2007, 12:07:06 AM »
Are you doing this with a modified build?

If there's no foreground or background line in your theme, it shouldn't change the color. As with any .cfg file, it only changes lines if they're present, otherwise loading a theme would reset your volume to the default level (as an example) or turn off your equalizer, etc, etc.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: "Leave my foreground/background colors alone"
« Reply #2 on: September 20, 2007, 12:25:38 AM »
Hmmm, it could be the build.  I just noticed that the simulator doesn't do it, and I just installed a daily build and you can guess what happened.

Now I feel like a goober for not thinking of that.  Never mind.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  "Leave my foreground/background colors alone"
 

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

Page created in 0.027 seconds with 15 queries.