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
| | |-+  What is wrong with this code?!?
« previous next »
  • Print
Pages: [1]

Author Topic: What is wrong with this code?!?  (Read 1651 times)

Offline blackthunder

  • Member
  • *
  • Posts: 26
What is wrong with this code?!?
« on: June 21, 2008, 09:10:10 PM »
I've been updating my wps's to work with conditional viewports and I'm stuck!
I have no idea why this coding won't work.  Can anyone help?

Code: [Select]
%X|bg.bmp|
%xl|a|b0.bmp|4|2|
%xl|b|b1.bmp|4|2|
%xl|c|b2.bmp|4|2|
%xl|d|b3.bmp|4|2|
%xl|e|b4.bmp|4|2|
%xl|f|bplug.bmp|4|2|
%xl|g|hd.bmp|21|1|
%xl|h|shuff.bmp|32|0|
%xl|i|rep.bmp|47|0|
%xl|j|rep1.bmp|57|1|
%xl|k|reps.bmp|57|1|
%xl|l|repab.bmp|57|1|
%Cl|0|0|80|80|
%wd
%?C<%Vda%Vdb%Vdc%Vdd%Vde|%VdA%VdB%VdC%VdD>
##TOP##
%V|0|0|160|15|0|FFFFFF|000000|
%?bp<%xdf|%?bl<%xdf|%xda|%xdb|%xdc|%xde>>
%?lh<%xdg|>
%?ps<%xdh|>
%?mm<|%xdi|%xdi%xdj|%xdi%xdk|%xdi%xdl>
%V|75|1|34|9|0|FFFFFF|000000|
%pvdB
%V|110|1|50|9|0|FFFFFF|000000|
%cl:%cM%cP
##ALBUM ART##
%Vl|a|0|16|80|80|1|FFFFFF|000000|
%C
%Vl|b|81|22|79|9|0|CCCCCC|000000|
Now Playing:
%Vl|c|81|31|79|40|1|FFFFFF|000000|
%ac%s%?ia<%ia|%?d2<%d2|root>>
%ac%s%?it<%it|%?d1<%d1|root>>
%ac%s%?id<%id%?iy< (%iy)|>|%fn>
%Vl|d|81|72|79|9|0|CCCCCC|000000|
Next:
%Vl|e|81|81|79|9|0|FFFFFF|000000|
%t5%s%?Ia<%Ia|Searching...>;%t5%s%?It<%It|Searching...>
##NO ART##
%Vl|A|0|22|160|9|0|CCCCCC|000000|
%acNow Playing:
%Vl|B|0|31|160|40|1|FFFFFF|000000|
%ac%s%?ia<%ia|%?d2<%d2|root>>
%ac%s%?it<%it|%?d1<%d1|root>>
%ac%s%?id<%id%?iy< (%iy)|>|%fn>
%Vl|C|0|72|160|9|0|CCCCCC|000000|
%acNext:
%Vl|D|0|81|160|9|0|FFFFFF|000000|
%t5%ac%s%?Ia<%Ia|Searching...>;%t5%ac%s%?It<%It|Searching...>


#%e|0|108|160|3|FFFFFF|%al%pp/%pe%ar%fb%?fv<VBR|kbps> %fc
#%e|0|117|160|3|FFFFFF|%al%pc%ar%pt
#%pb|6|30|130|118|
#%?C<%C|>
#middlestarts at 9, 94 long

Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: What is wrong with this code?!?
« Reply #1 on: June 21, 2008, 09:32:50 PM »
it would help to know what your issue actually is....

also... "%?C<%Vda%Vdb%Vdc%Vdd%Vde|%VdA%VdB%VdC%VdD>" can be changed to "%?C<Vda|Vdb>" if you give all the lowercase viewports the letter 'a' and the uppercase ones 'b'.... vp identifiers dont need to be unique
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline blackthunder

  • Member
  • *
  • Posts: 26
Re: What is wrong with this code?!?
« Reply #2 on: June 21, 2008, 09:55:20 PM »
Thanks for the info.  The problem was I was getting the old default theme.

So I figured out that I'm not allowed to use capital letters for defining viewports.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  What is wrong with this code?!?
 

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

Page created in 0.2 seconds with 16 queries.