From b4a9564790575c645d855c23f7f2e07ae03c1c19 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 11 Jun 2010 04:47:46 +0000 Subject: Add my new parser playground to svn. Currently it can load a skin, and walk the parse tree and output the tags as required. It always chooses the first value for a conditional and subline, but a good working start there seems to be a error in the new parser if ROCKBOX is defined... need to fix that git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26757 a1c6a512-1295-4272-9138-f99709370657 --- utils/newparser/cabbiev2.220x176x16.wps | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 utils/newparser/cabbiev2.220x176x16.wps (limited to 'utils/newparser/cabbiev2.220x176x16.wps') diff --git a/utils/newparser/cabbiev2.220x176x16.wps b/utils/newparser/cabbiev2.220x176x16.wps new file mode 100644 index 0000000000..764a506e1f --- /dev/null +++ b/utils/newparser/cabbiev2.220x176x16.wps @@ -0,0 +1,42 @@ +# cabbie 2.0 default +# (C) 2007, Johannes Voggenthaler (Zinc Alloy) +#derived from "cabbie" (C) Yohann Misquitta +%wd +%X(wpsbackdrop-220x176x16.bmp) +%xl(A,lock-220x176x16.bmp,88,152,2) +%xl(B,battery-220x176x16.bmp,110,153,10) +%xl(C,volume-220x176x16.bmp,134,153,10) +%xl(D,shuffle-220x176x16.bmp,155,153) +%xl(E,repeat-220x176x16.bmp,182,151,4) +%xl(F,playmode-220x176x16.bmp,200,152,5) +%ax%Cl(15,32,75,75) +%pb(11,121,199,8,pb-220x176x16.bmp) +%?mh<%xd(Aa)|%xd(Ab)> +%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>> +%?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)> +%?ps<%xd(D)> +%?mm<|%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)> +%?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)> + +#NowPlaying +%?C<%Vd(a)%C|%Vd(b)> + +%ax%Vl(a,105,30,-,90,1) +%s%al%?it<%it|%fn> +%s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>> +%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>> + +%s%al%Sx(Next Track:) +%s%al%?It<%It|%Fn> + +%Vl(b,0,30,-,90,1) +%s%ac%?it<%it|%fn> +%s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>> +%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>> + +%ac%Sx(Next Track:) +%s%ac%?It<%It|%Fn> + + +%V(11,130,199,20,1) +%al%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr -- cgit v1.2.3