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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Text over and under the picture
« previous next »
  • Print
Pages: [1] 2

Author Topic: Text over and under the picture  (Read 6629 times)

Offline eK3eKyToPa

  • Member
  • *
  • Posts: 75
Text over and under the picture
« on: September 12, 2006, 01:59:29 PM »
From what depends what will be at the top the picture and the text
and how to controll them
useing layer  ??? Possable  ???
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Text over and under the picture
« Reply #1 on: September 12, 2006, 03:01:18 PM »
Wow, that's a jumble of words there.  Calm down, buddy, and speak in complete sentences :D

Except the background, I've never been able to get text to be written over an image.  In fact, even the "transparent" color FF00FF "overwrites" the text, at least the last time I tried which is quite a while ago.
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: Text over and under the picture
« Reply #2 on: September 12, 2006, 05:42:42 PM »
That's because the Transparent color isn't really "Transparent" in terms of what the code does (if I remember properly). The Transparent color is actually "Draw the Backdrop or Background color instead of this color"
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Text over and under the picture
« Reply #3 on: September 12, 2006, 08:08:05 PM »
mostly %s

when using %s it shows over and not using it you can put it under.

also you can use %t for timing
« Last Edit: September 18, 2006, 08:31:41 PM by HWEB21 »
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: Text over and under the picture
« Reply #4 on: September 12, 2006, 11:54:05 PM »
I believe that when the WPS is drawn, text is drawn first, then images. The exception are scrolling lines which are updated independent of the WPS. So, the answer would be no, you can't get text over graphics now. However, if/when "viewports" are implemented, it should be possible to specify drawing layers so you could have some control over the order of drawing.
« Last Edit: September 13, 2006, 10:55:24 PM by lowlight »
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Text over and under the picture
« Reply #5 on: September 13, 2006, 08:45:42 PM »
some people have put images over text. I tried their wps and it works and they have no %s to do it.
Logged

Offline Mad Big Sausage

  • Artist
  • Member
  • *
  • Posts: 68
Re: Text over and under the picture
« Reply #6 on: September 18, 2006, 10:38:40 AM »
Then the images are more than likely part of the background or scrolling text as mentioned above.
Prob a background image though.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Text over and under the picture
« Reply #7 on: September 18, 2006, 05:09:55 PM »
Remember what we ask you to use whole words here. This includes typing out words such as "you" instead of merely using the letter 'u'.

This is because some people who do not speak English well use machine translation, and the letter 'u' will not translate to the same meaning as the word "you".
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Text over and under the picture
« Reply #8 on: September 18, 2006, 08:39:17 PM »
oops sorry Llorean i edited it and put "you",
the image what i was talking about was just a regular image not background or full screen size just a normal image that when not using %s it shows in front of the text and when using %s it shows up behind it.(the image is bigger than the tag line of text so i guess its not part of the scrolling text line either)
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Text over and under the picture
« Reply #9 on: September 18, 2006, 09:18:21 PM »
Could we have an example of this? Can you point us to a link of a WPS that does this instead of just saying that one exists?  I ask because I'd love to know how to do this, as a WPS designer.

Note: I've tricked it before.  In my Lights WPS it *looks* like the volume text is drawn over the volume picture, but that's an illusion, at no point is a current image drawn where current text is printed.  So it is also possible that you are mistaken and we can't verify it because we have no physical example.
« Last Edit: September 18, 2006, 09:20:02 PM by Yotto »
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Text over and under the picture
« Reply #10 on: September 19, 2006, 08:18:14 PM »
sure, uh i hate trying to find something online that i know i seen before, oh well i will just give u a screendump.

no %s


with %s


code (images are des1 des2 des3)

%x|a|bg.bmp|0|0|
%xl|b|stop.bmp|70|1|
%xl|c|play.bmp|70|1|
(blah blah blah lots of images so i cut it short)
%xl|I|repsh.bmp|126|114|
%xl|J|repab.bmp|126|114|
%x|K|des1.bmp|84|106|
%x|L|des2.bmp|119|97|
%x|M|des3.bmp|127|106|
%wd
   %pv dB%?mp<%xdb|%xdc|%xdd|%xde|%xdf>%?mh<%xdg|>%?mr<%xdh|>

   %?ia<%ia|%d2>
   %?it<%it|%fn>
   %?id<%id|%d1>
   %?in<%in|>   %?iy<%<%iy%>|>


%pc / %pt %?fc<%xdr|%xds|%xdt|%xdu|%xdv|%xdw|%xdx|%xdy|%xdz|%xdA|%xdB|%xdC|%xdD|%xdE>%ar%fb kbps  
%pb
    (these are the tag lines)
    %?Ia<%Ia|%D2>  
    %?It<%It|%Fn>


%?bl<%xdl|%xdm|%xdn|%xdo|%xdp>     %bl%%  %bt%?mm<|%xdG|%xdH|%xdI|%xdJ>%?ps<%xdF|>

i will try to find some more and clearer ones too.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Text over and under the picture
« Reply #11 on: September 19, 2006, 08:49:05 PM »
I haven't done much with scrolling because I think it's distracting, but in that second screen shot, the line IS scrolling, which is what %s is for.

How is that line scrolling without the %s?  That doesn't seem possible to me.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Text over and under the picture
« Reply #12 on: September 19, 2006, 09:03:19 PM »
oh that code is for the first screen dump, i added %s for the second. yeah i don't like scrolling either, i think it is distracting also.
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Text over and under the picture
« Reply #13 on: October 20, 2006, 02:38:03 PM »
lowlight, you mentioned "viewports".

With viewports could I place a white bar on the WPS then put black text over it and you would see the black text over the white bar?
Or would the black text sort of "overwrite" the white bar like in the example pics shown by HWEB21?

If anyone could answer this question I'd greatly appreciate it, thank you.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Text over and under the picture
« Reply #14 on: October 20, 2006, 02:44:06 PM »
The idea behind viewports is that you could have multiple windows, each with its own limited properties. So you could perhaps have a window with a white background and black text, and another with a blue background and red text. In theory. There is a problem of more fonts taking up more RAM, but it would basically allow for things like how scrolling margins work now, but with more functionality. As well it could allow, say, the menu to pop up in only the lower half of the screen so you still see the current track and some other WPS information, even while browsing, or other such things.

The idea is that it would allow a lot more flexibility both with theming and with the way the UI as a whole worked (popping up various things in window-like things by default so that it's more clear to users that the menu is called *from* someplace, rather than what you're returning to, and such).

At least, this is my understanding of the concept.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Text over and under the picture
 

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

Page created in 0.111 seconds with 15 queries.