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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Monochrome viewports on colour screens
« previous next »
  • Print
Pages: [1]

Author Topic: Monochrome viewports on colour screens  (Read 2426 times)

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Monochrome viewports on colour screens
« on: April 26, 2008, 08:51:21 PM »
Is it possible to declare a viewport on a colour-screen target without specifying foreground and background colours? If I want a WPS to inherit foreground and background colour from the overall theme settings, viewports seem to prevent this from happening on my iriver H300.

The default (full-screen) viewport has this independence; can this be achieved for subsequently declared viewports?
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Monochrome viewports on colour screens
« Reply #1 on: April 26, 2008, 09:14:01 PM »
have you tried leaving the fields for colors empty like this?

 %V|x|y|width|height|font|||

no idea if this will work, but it sure is worth a try.

Logged

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Monochrome viewports on colour screens
« Reply #2 on: April 26, 2008, 09:30:12 PM »
Nice idea, but it doesn't work.
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Monochrome viewports on colour screens
« Reply #3 on: April 26, 2008, 10:53:29 PM »
Unfortunately, with the colour targets, you have to rewrite the foreground and background colours you want to use for every viewport you make...  I found this out the hard way, bringing all my old themes up-to-date...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Monochrome viewports on colour screens
« Reply #4 on: April 27, 2008, 01:15:24 AM »
Does this call for a feature request? As things stand, the introduction of viewports seems to have removed some functionality.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Monochrome viewports on colour screens
« Reply #5 on: April 27, 2008, 01:32:49 AM »
What did it remove? The fullscreen viewport can still inherit colours, and you couldn't do partial-screen viewports, so they certainly couldn't inherit colours...

I'm not saying it shouldn't be a feature request, but be careful when you say a feature was removed.
« Last Edit: April 27, 2008, 01:39:09 AM by Llorean »
Logged

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Monochrome viewports on colour screens
« Reply #6 on: April 27, 2008, 05:31:18 AM »
That's a reasonable distinction, and 'removed' is probably not the right choice of word. Would you agree, however, that the behaviour is inconsistent between full- and partial-screen viewports?
And is the resolution of that inconsistency desirable?
(At least as an option--declaring colours for viewports is useful behaviour when that's what you want.)
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Monochrome viewports on colour screens
« Reply #7 on: April 27, 2008, 03:19:52 PM »
Quote from: ell1ps1s on April 27, 2008, 05:31:18 AM
That's a reasonable distinction, and 'removed' is probably not the right choice of word. Would you agree, however, that the behaviour is inconsistent between full- and partial-screen viewports?
And is the resolution of that inconsistency desirable?
(At least as an option--declaring colours for viewports is useful behaviour when that's what you want.)
The default full-screen viewport is automatically declared in order to preserve compatibility to older WPS themes.  I don't see how you can consider the behavior of the custom viewports you declare to be inconsistent to an automatically declared viewport, given that there's a specific format outlined in the manual for declaring viewports for colour targets, which no doubt the default viewport follows in the code, using the foreground and background colours defined in the display settings.  However, it would be a nice idea to have colour declaration optional for colour targets, and have the viewports use the colours defined in the display settings unless other colours are declared.
Logged
Welp, my iriver H10 20GB is out of commission again.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Monochrome viewports on colour screens
 

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

Page created in 0.085 seconds with 15 queries.