Support and General Use > Theming and Appearance Customization
Some newbie questions
Gaffeltrucken:
Hi, this is my first post here on the forum. I've been using Rockbox for quite a while now on my ipod video so now I'm getting interested in making my own theme
Though I do have some questions after trying to make my first wps.
First of all this is what I want i to look like (this is just a basic model, more details will come later..if possible):
Anyway here's my questions.
1. I really don't get the Viewport thing ???..and since I can't find a real guide to it (like the basic WPS guide), I'm trying to figure it out on my own. Which brings me to the question, what does these numbers stand for? "%V(146,66,138,21,3)"
I've figured out %V(x,y,width of the box,?,?) the other things I'm stuck on..
2. Is it possible to use different font size on specific text?
3. Since you have to use BMP images, how do I make the "non-covered" areas on small images (like the pause button for example) transparent? So that I doesn't get a big colored box around my icons?
Hope you have time to answer my questions. If i get it I the end I promise you I will produce more themes =)
/G-Truck
paulheu:
All this information is in the wiki and the manual
gbl08ma:
I don't need to answer completely to your questions, because as paulheu said, all the info is in the wiki and the manual, but here go some tricks that might help...
1. Here's a "basic WPS guide", the problem is that it isn't updated to the new theme syntax (Rockbox changed of theme syntax as of release 3.7). You might or might not get confused with that guide. So, here's the complete reference for theme creators: http://www.rockbox.org/wiki/CustomWPS . All this info can be found in the wiki.
2. Yes, but avoid it as much as possible. Loading more fonts in the same WPS will make it more slow and resource consuming (also, make sure you don't exceed the RAM available for the design).
3. Although BMP doesn't support transparency, Rockbox will interpret the color #FF00FF (RGB 255, 0, 255) as being 100% transparency and instead of that color will show the image behind it. However, there are no intermediary levels of transparency (30%, 60%, 70%, etc.), so to get an anti-aliased effect images must be anti-aliased with the background in mind.
[Saint]:
--- Quote from: Gaffeltrucken on January 15, 2011, 03:57:26 PM ---2. Is it possible to use different font size on specific text?
--- End quote ---
--- Quote from: gbl08ma on January 15, 2011, 04:14:35 PM ---2. Yes, but avoid it as much as possible. Loading more fonts in the same WPS will make it more slow and resource consuming (also, make sure you don't exceed the RAM available for the design).
--- End quote ---
I think that this is quite poor advice to give, at the very least...poorly worded.
In my opinion this comment makes it seem as though every last byte of space need be fought for, and that graphical themes will markedly decrease your players performance...this is simply not true.
Judging by the screenshot of the intened outcome, the user could code a .wps using incredibly inefficient syntax, add a couple of full screen backdrops, load a few additional fonts (large ones) and *still* have room left over in the buffer for an equally inefficient .sbs and .fms to boot.
[St.]
Gaffeltrucken:
Thanks a lot for the answers! That solved all my problems som far. :)
I Think I'm going with two font files after all then =)
Navigation
[0] Message Index
[#] Next page
Go to full version