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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help with viewports
« previous next »
  • Print
Pages: [1]

Author Topic: Help with viewports  (Read 1245 times)

Offline flackend

  • Member
  • *
  • Posts: 2
Help with viewports
« on: June 09, 2009, 05:36:30 AM »
Hi,
I'm trying to make a wps that displays the volume only when the volume is being changed, but nothing is being displayed.

line 1   %Vl|a|0|0|50|50|1|ffffff|000000|
line 2   %?pv<mute|1|2|3|4|5|6|7|8|9|10>
line 3
line 4   %V|0|0|50|50|1|ffffff|000000|
line 5   %?mv<%Vda|>

I've gotten the %mv and %pv tags to work separately, and my syntax doesn't break, but something is wrong with the viewports -- I'm unsure of how to set them up!

Here's a screenshot of what I have so far:
« Last Edit: June 09, 2009, 05:41:40 AM by flackend »
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Help with viewports
« Reply #1 on: June 09, 2009, 06:21:27 AM »
give the second viewport an identifier and specify it in the conditional tag.

or get rid of the conditional viewport. you don't need it. just put the %?pv tag into the %mv conditional.
Logged

Offline flackend

  • Member
  • *
  • Posts: 2
Re: Help with viewports
« Reply #2 on: June 09, 2009, 01:23:30 PM »
It worked, thanks!

line 1   %V|0|0|60|60|1|ffffff|000000|
line 2   %?mv<%?pv<mute|1|2|3|4|5|6|7|8>|>
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Help with viewports
 

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

Page created in 0.063 seconds with 15 queries.