Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Job Van Dam on March 12, 2007, 05:02:55 AM

Title: 3 Alternating Lines & One Line that always shows
Post by: Job Van Dam on March 12, 2007, 05:02:55 AM
I'm trying to have 3 timed alternating lines(genre, bitrate, playlist#/playlist count) & one line(time of song/total song time) that always shows. All on one line.

Originally I had it like this:
Code: [Select]
%al%t3         %ig%ar%pc\%pt    ;%t3         %fbkbps%ar%pc\%pt    ;%t3         %pp\%pe%ar%pc\%pt    ;
As you can see I'm showing the same info (time of song/total song time) 3 times. I would just like to make that part cleaner by just putting the song time info once and at the end. Is it possible?

I tried this already and it doesn't work:
Code: [Select]
%?mp<%al%t3         %ig;%t3         %fbkbps;%t3         %pp\%pe;>%ar%pc\%pt     It considers the song time info as a 4th alternating line. Thank you for your help.
Title: Re: 3 Alternating Lines & One Line that always shows
Post by: bascule on March 12, 2007, 05:16:32 AM
No, it's not possible.

The WPS has a line-based architecture and if you want any part of the line to be alternate, you have to alternate the whole thing, but with just the alternating parts different.

That is why any WPS with animation is an absolute pig to understand :(

I presume what you originally had worked, because it looks OK to me.
Title: Re: 3 Alternating Lines & One Line that always shows
Post by: denny on March 12, 2007, 01:09:51 PM
Like this?:

Code: [Select]
%t3%ig%ar%pc\%pt;%t3%fbkbs%ar%pc\%pt;%t3%pp\%pe%ar%pc\%pt;
Displays the time at the right of the screen and alternates between genre, bitrate, playlist#/playlist count at the left.

The trick is to include the time in all the alternates.

Sorry if i have misunderstood.


..yeah I misunderstood on a second reading... :(