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
| | |-+  3 Alternating Lines & One Line that always shows
« previous next »
  • Print
Pages: [1]

Author Topic: 3 Alternating Lines & One Line that always shows  (Read 1314 times)

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
3 Alternating Lines & One Line that always shows
« 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.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: 3 Alternating Lines & One Line that always shows
« Reply #1 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.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline denny

  • Artist
  • Member
  • *
  • Posts: 62
Re: 3 Alternating Lines & One Line that always shows
« Reply #2 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... :(
« Last Edit: March 12, 2007, 01:18:12 PM by denny »
Logged
[[[[DGT v1.4 wps -220x176-]]|[[Guide to changing H300 batteries]]]]

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  3 Alternating Lines & One Line that always shows
 

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

Page created in 0.084 seconds with 20 queries.