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
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Viewport (semi)transperancy, background, overlaping viewports
« previous next »
  • Print
Pages: [1]

Author Topic: Viewport (semi)transperancy, background, overlaping viewports  (Read 1651 times)

Offline littleevilllama

  • Member
  • *
  • Posts: 8
Viewport (semi)transperancy, background, overlaping viewports
« on: November 13, 2010, 12:33:40 PM »
This is just a suggestion, so don't be harsh please :D

Could look something like this:
    %Vt([from 0 to F] to indicate amount of transperancy);
    %Vb([000000 to FFFFFF] like now or ["background.bmp"] or [a/b/c to display already loaded image])
    %Vo to indicate that the viewport overlaps on some other viewport...

Viewport semitransperancy would truly be very eye-candish. There is a long forgotten patch somewhere deep in patch tracker that allows overlapping viewports and setting background for viewports, so there is some work done...
Don't say that it's useless or that no one needs it, thats not true. Some viewports with a background could be used for displaying text boxes while volume is being changed, or a warning then its value is greater than 0, it would allow some really neat effects or make background change depending on a screen (lets say you have one background for all the screens *THAT WOULD SAVE SO MUCH SPACE IN SKIN "RAM"* and viewports with backgrounds set in them... or just go and look to "XL Fuzed" skin for 220x176 targets... look at those bars on top and bottom and you'll get the idea). Same goes for semitransparency.
Now about overlapping viewports. Why are you so afraid of them? Again, very concretely, imagine having progressbar with info in it... it sounds useful, doesn't it? It could be used for displaying battery in % on top of the icon that displays approx. amount, title of the song on top of progressbar to save space on smaller screens and make them more useful (for example in SBS where we don't have much space anyway), awesome text effects (shades, depth), etc...
Combine all of these things and they become even better :D

Please, don't point that "rockbox is not a democracy" or that "if you want these things go and make them yourself". If I knew c or c++ AND had time I WOULD. Too bad I only know pascal yeay, I can program egg timer I would really want to know why you don't want these features in, not that you JUST don't want...

Miau Sorry for my bad english, I hope text is readable :D


SOAP Edit:
Please do not "yell" in subject lines.  All caps is not nice.  Self-created "categories" are also unneeded and unwanted.

« Last Edit: November 13, 2010, 03:32:04 PM by soap »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: [SUGGESTION] Viewport (semi)transperancy, background, overlaping viewports
« Reply #1 on: November 13, 2010, 01:10:10 PM »
You need to use a different image format then.  BMPs don't support transparency. 

For overlapping viewports, things also get more complicated because you need to specify some sort of stack that tells what order the layers should be drawn.  This is necessary with or without transparency. 

I think you have it a bit backwards, though.  By default nothing will ever get done.  It requires someone to think something is a good idea and do work to make things change.  So, the burden rests on the idea itself being interesting enough and reasonable enough that it attracts someone's interest.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline littleevilllama

  • Member
  • *
  • Posts: 8
Re: [SUGGESTION] Viewport (semi)transperancy, background, overlaping viewports
« Reply #2 on: November 13, 2010, 01:36:17 PM »
Not image transparency- viewport. Getting background and viewport info, adding RGB values and dividing them by 2 would give you 50 percent transparent overlay from viewport... thats how I understand transparency :D It might be stupid though. Only make it use background as backbone for transparency would be enough.

Non overlapping viewport has priority to be drawn first, others on top of it... thats basically it.

And finally, the reason for making this topic is because I'm trying to get someones attention :D
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Viewport (semi)transperancy, background, overlaping viewports
« Reply #3 on: November 14, 2010, 11:34:46 PM »
For a set of overlapping viewports, there is no pre-defined order.  They can't all just be drawn "on top".  You need to organize the layers in a stack (like image editing programs do).
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline littleevilllama

  • Member
  • *
  • Posts: 8
Re: Viewport (semi)transperancy, background, overlaping viewports
« Reply #4 on: November 15, 2010, 05:44:09 AM »
Yes, in same order that they are layed out (arranged) in layer screen for example in photoshop. In rockbox they are diplayed in the way that they are loaded :D thats the same...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Viewport (semi)transperancy, background, overlaping viewports
 

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

Page created in 0.069 seconds with 16 queries.