Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: afruff23 on August 11, 2008, 11:34:00 PM

Title: Sublining albumart?
Post by: afruff23 on August 11, 2008, 11:34:00 PM
Hi, I am having a lot of trouble sublining album art with track info.
Try this wps code for the Gigabeat F (with unifont).
Code: [Select]
%Cl|20|82|200|200|
%t7%Vda%?Fm<%Vdb>;%t4%?C<%C%Vdc|%Vda%?Fm<%Vdb>>
%Vl|a|25|64|215|81|-|-|-|
%s%al%?in<%in.>%?it<%it|%fn>
%s%al%?ia<%ia|%d2>
%s%al%?id<%id|%d1>
%s%al%?ig<%ig >%?iy<%iy>
%Vl|b|25|160|215|81|-|-|-|
%s%al%?In<%In.>%?It<%It|%Fn>
%s%al%?Ia<%Ia|%D2>
%s%al%?Id<%Id|%D1>
%s%al%?Ig<%Ig >%?Iy<%Iy>
%al%Fbkbps %?Fv<VBR>%ac%Fc%ar%FsKB
%Vl|c|0|64|-|18|-|-|-|
%s%ac%?ia<%ia|%d2> - %?it<%it|%fn>

Make sure you have 2 tracks in your playlist and repeat set to all. Also, make sure you have a 200x200 album art image.

During one subline, the album art is visible beneath the text of the a and b viewports. During the other subline, the text of the a and b viewports is visible beneath the album art. I don't want this to happen. What should I do?
Title: Re: Sublining albumart?
Post by: knight4led on August 12, 2008, 02:21:50 AM
In order to do what you want you need to make sure that the two viewports in question completely cover one another. I can see from the WPS that you posted that they are not properly aligned on top of each other. Plus I am not exactly sure what you are doing with that Album Art since it is first loaded outside a Viewport and is never called inside of one, which may be causing part of the problem. Second thing is that the text you are seeing in the second shot is not actually the same as the text in the first, the first line is the info you are calling in Viewport C, the second line is the info from Viewport A that has not been covered.

My recommendation is to put the Album Art in Viewport C. Also you need to fix up Viewports A and B so that together they cover the entire 200x200 area that your Album Art covers plus the one line of text you seem to be trying to put in above it.
Title: Re: Sublining albumart?
Post by: afruff23 on August 12, 2008, 07:13:06 AM
Hey thanks. It's resolved now.