Support and General Use > Theming and Appearance Customization

Removed

<< < (2/7) > >>

Llorean:
Please, read the CustomWPS wiki page for specific details as to what is allowed. It sounds like you really haven't taken the time to simply familiarize yourself with the exact syntax and features for the official build.

hhannah:
Yes, it's probably better to leave totally out what you did for the patched build, and do it again following carefully the "official sintax" as Llorean suggests, because when you see

--- Quote from: greenman on May 02, 2008, 10:37:33 AM ---I cannot do this:

--- Code: ---%Cl|0|0|c100|c100
%xl|e|Album_Art.bmp|0|0|
%V|38|16|100|100|1|FFFF99|003300|
%?C<%C|> # (or this: %?C<%C|%xde>)
--- End code ---

--- End quote ---
the problem is probably somewhere else since that alone seems to be fine.
Edit: Pixelma is right, see her post.

Regarding

--- Quote from: greenman on May 02, 2008, 10:37:33 AM ---Shouldn't I at least be able to call the album art alternative image thus?

--- Code: ---%xl|f|Album_Art.bmp|38|16|
%V|38|16|100|100|1|FFFF99|003300|
%ac%xdf
--- End code ---
But even that breaks my layout like above.

--- End quote ---
if Album_Art.bmp is 100x100 as I assume it is, it won't fit in a 100x100 viewport if you place it in position 38,16 within the viewport ( should probably be %xl|f|Album_Art.bmp|0|0| )


--- Quote from: greenman on May 02, 2008, 10:37:33 AM ---Also, I thought multiple fonts were part of viewports now. I've tried nimbus-12 as the default and nimbus-10 as the userfont1, but I get only the default nimbus-12 for everything, even though the font colors change as expected. what's with that?

--- End quote ---
Not yet, see http://www.rockbox.org/tracker/task/8385?histring=viewports


--- Quote ---The syntax is now as follows:

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

Specifying "0" for font means that that viewport draws text using the built-in (6x8) system font (FONT_SYSFIXED). Note that this font only includes ASCII characters, so isn't suitable for displaying information from tags.

Specifying "1" for font will use the currently selected user font (FONT_UI).

Other values for font are not rejected, but are replaced with FONT_UI. The intention is that the multifont patch can be updated to work with viewports, and (until that patch is suitable for and committed to SVN), themes using multifonts can be designed to degrade gracefully in the official builds.

--- End quote ---

pixelma:
Yes, you can use album art with the official builds but as Llorean said take your time and familiarise yourself  bit with Rockbox. For your purpose I think the CustomWPS and the AlbumArt wiki pages might be helpful.

I just noticed a syntax error in your.wps which makes it fail and you'll get the built-in text only one with your colours though).


--- Quote from: greenman on May 02, 2008, 10:37:33 AM ---
--- Code: ---%Cl|0|0|c100|c100
%xl|e|Album_Art.bmp|0|0|
--- End code ---

--- End quote ---
If this is truely copy and pasted from your .wps file then the first line with the %Cl tag is missing the terminating | so that it reads

--- Quote ---%Cl|0|0|c100|c100|
--- End quote ---

Could be that this is all but maybe there's some more, haven't looked much further. There are a few options how to "debug" a wps, I'm quite sure you'll find some if you search around in the forums a bit.

Llorean:
The reason I felt you couldn't have read the CustomWPS page is that you kept asking of the official version did things (viewports, album art) that are clearly stated on the CustomWPS page. Since it is only relevant for the official build, it seems like it should be obvious (to me at least) that if you'd read the page you wouldn't have asked these questions.

Meanwhile, I have no way of knowing what themes you've looked through, so I don't understand how I was supposed to know that none of the ones you'd looked at contained strips. I'm pretty sure several of the official themes included with Rockbox make use of them, so unless I misunderstand what you're referring to, you have examples of their use available to you. So your statement "I had to have read about them" is not the logical absolute you seem to think it is. From my perspective, the official build comes with examples of these, and there is rather blatantly posted information on the page you seemed unaware of. I admit I made an assumption. It seemed logically sound, but apparently it was wrong. I apologize.

But please, consider in the future that questions you ask, if answered in the documentation, are almost certainly simply going to get you referred back to the documentation. Don't be offended by this reference, we wrote the documentation for a reason and if you're asking questions answered in it, it will very much seem to us like you haven't read it.

yapper:
I'm not sure exactly what this line is doing:

--- Code: ---# %xl|e|Album_Art.bmp|0|0|
--- End code ---
but it looks as if you are using it to provide dummy album art for cases where no real art is found.

If so, you could simply include the dummy image as part of background.bmp, and use a conditional to display either album art or nothing, e.g.

--- Code: ---%?C<%C>
--- End code ---

Also, check the actual dimensions of Album_Art.bmp, as I think that the WPS will fail if the dimensions of the bmp exceed the viewport size.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version