sbtoelf: add switch to prevent elf simplification
[maemo-rb.git] / wps / cabbiev2.480x800x16.wps
blob3d81b723ac8f26559ba9f48dc8194635350a9a87
1 # cabbie 2.0
2 # (C) 2007, Johannes Voggenthaler (Zinc Alloy)
3 # (C) 2010, Thomas Martitz ported to 480x800 touchscreens
4 # derived from "cabbie" (C) Yohann Misquitta
6 # TODO:
7 #  * images for battery, hold button
8 %wd
9 %X(wpsbackdrop-480x800x16.bmp)
11 #%xl(A,lock-240x320x16.bmp,11,0,2)
12 #%xl(B,battery-240x320x16.bmp,46,0,10)
13 %xl(C,volume-480x800x16.bmp,145,125,10)
14 %xl(D,shuffle-480x800x16.bmp,240,133)
15 %xl(E,repeat-480x800x16.bmp,343,121,4)
16 %xl(F,playmode-480x800x16.bmp,403,119,5)
17 %xl(G,popup-480x800x16.bmp,0,0)
18 %xl(H,rew-480x800x16.bmp,0,5)
19 %xl(I,ff-480x800x16.bmp,70,5)
20 %xl(vol,volumebar-480x800x16.bmp,0,0)
21 %xl(volbd,volumebar-backdrop-480x800x16.bmp,0,0)
23 %Cl(0,0,275,275,c,c)
24 %?C<%Vd(c)|%Vd(a)>
25 %?vg(show_vol)<%?C<%Vd(d)|%Vd(b)>|%Vd(t)|%Vd(vol)>
27 # track & next track info - no AA
28 %Vl(a,0,102,-,180,-)
29 # tap on current title info for playlist (ie. where albumart would normally be)
30 %T(0,0,275,275,playlist)
32 %s%ac%?it<%it|%fn>
33 %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
34 %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
35 %ac%?iy<%iy|>
36 %Vl(b,0,400,-,180,-)
37 %ac%?ig<%ig|>
38 %ac%?fv<%(vbr%) |>%fb kbit/s %fc
39 %s%ac%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>>
40 %ac%Sx(Next Track:)
41 %ac%s%?It<%It|%Fn>
43 # album art viewport
45 %Vl(c,102,75,275,275,-)
46 # tap on the cover art for playlist
47 %T(0,0,275,275,playlist)
48 %Cd
50 # current track info - AA
51 %Vl(d,0,370,-,-200,-)
52 %s%ac%?it<%it|%fn>
53 %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
54 %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
56 # next track info - AA
57 %Vl(d,0,550,-,-200,-)
58 %?C<%s%ac%Sx(Next:) %?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?It<%It|%Fn>|%s%ac%?Id<%Id|%?D(1)<%D(1)|%(root%)>>>
60 # playtime
61 %V(20,660,440,36,-)
62 %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
64 # progressbar and bottom icons
65 %V(0,600,-,-,-)
66 %pb(25,11,430,-,pb-480x800x16.bmp)
67 %T(25,0,430,50,progressbar)
69 #%?mh<%xd(Aa)|%xd(Ab)>
70 #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
71 # volume
72 %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
73 %T(small_vol,145,125,88,60,none)
75 # shuffle
76 %?ps<%xd(D)>
77 %T(237,130,100,50,shuffle)
79 # repeat
80 %xd(E, %mm, -1)
81 %T(340,121,50,70,repmode)
83 # playmode
84 %?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
85 %T(400,119,70,75,play)
86 %T(400,119,70,75,stop, repeat_press)
89 # volume slider
91 %Vl(vol,14,375,452,205,-)
92 %pv(0,0,452,205,image,vol,backdrop,volbd)
93 %T(0,0,452,205,volume)
96 # popup osd menu
98 %Vl(t,14,375,452,205,-)
99 %xd(G)
100 %T(26,26,160,148,browse)
101 %T(186,26,144,148,quickscreen)
102 %T(304,26,123,148,contextmenu)
105 # ff/rewind button
107 %V(0,720,150,75,-)
108 %xd(H)%xd(I)
109 %T(0,0,70,75,rwd, repeat_press)
110 %T(0,0,70,75,prev)
111 %T(70,0,70,75,ffwd, repeat_press)
112 %T(70,0,70,75,next)
114 # needs to be at the end since touch regions need to be declared
115 # before %Tl can be used
116 %?Tl(small_vol,2.0)<%vs(show_vol,set,3)|%?mv(2.0)<%vs(show_vol,set,3)|%?Tl<%vs(show_vol,set,2)|%vs(show_vol,set,1)>>>