Fix FS#12743 - 'Data Abort' on USB connection
[maemo-rb.git] / wps / cabbiev2.320x480x16.wps
blob1aa5672efe9779041c1e4fbe85256dd88f2efd28
1 # cabbie 2.0
2 # (C) 2007, Johannes Voggenthaler (Zinc Alloy)
3 # (C) 2010, Thomas Martitz ported to 320x480 touchscreens
4 # derived from "cabbie" (C) Yohann Misquitta
6 # TODO:
7 #  * images for battery, hold button
8 %wd
9 %X(wpsbackdrop-320x480x16.bmp)
11 #%xl(A,lock-240x320x16.bmp,11,0,2)
12 #%xl(B,battery-240x320x16.bmp,46,0,10)
13 %xl(C,volume-320x480x16.bmp,91,71,10)
14 %xl(D,shuffle-320x480x16.bmp,156,76)
15 %xl(E,repeat-320x480x16.bmp,231,66,4)
16 %xl(F,playmode-320x480x16.bmp,273,68,5)
17 %xl(G,popup-320x480x16.bmp,0,0)
18 %xl(H,rew-320x480x16.bmp,0,8)
19 %xl(I,ff-320x480x16.bmp,45,8)
20 %xl(vol,volumebar-320x480x16.bmp,0,0)
21 %xl(volbd,volumebar-backdrop-320x480x16.bmp,0,0)
23 %Cl(0,0,180,180,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,60,-,110,-)
29 # tap on current title info for playlist (ie. where albumart would normally be)
30 %T(70,0,180,180,playlist)
31 %s%ac%?it<%it|%fn>
32 %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
33 %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
34 %ac%?iy<%iy|>
35 %Vl(b,0,200,-,140,-)
36 %ac%?ig<%ig|>
37 %ac%?fv<%(vbr%) |>%fb kbit/s %fc
38 %s%ac%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>>
39 %ac%Sx(Next Track:)
40 %ac%s%?It<%It|%Fn>
42 # album art viewport
44 %Vl(c,70,50,180,180,-)
45 # tap on the cover art for playlist
46 %T(0,0,180,180,playlist)
47 %Cd
49 # current track info - AA
50 %Vl(d,0,240,-,-120,-)
51 %s%ac%?it<%it|%fn>
52 %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
53 %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
55 # next track info - AA
56 %Vl(d,0,338,-,-120,-)
57 %?C<%s%ac%Sx(Next:) %?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?It<%It|%Fn>|%s%ac%?Id<%Id|%?D(1)<%D(1)|%(root%)>>>
59 # playtime
60 %V(15,398,290,30,-)
61 %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
63 # progressbar and bottom icons
64 %V(0,360,-,-,-)
65 %pb(20,11,280,-,pb-320x480x16.bmp)
67 #%?mh<%xd(Aa)|%xd(Ab)>
68 #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
70 # volume
71 %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
72 %T(small_vol,91,71,55,50,none)
74 # shuffle
75 %?ps<%xd(D)>
76 %T(156,76,65,50,shuffle)
78 # repeat
79 %xd(E, %mm, -1)
80 %T(231,66,36,50,repmode)
82 # playmode
83 %?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
84 %T(273,66,45,50,play)
85 %T(273,66,45,50,stop, repeat_press)
88 # volume slider
90 %Vl(vol,10,230,300,136,-)
91 %pv(0,0,300,136,image,vol,backdrop,volbd)
92 %T(0,0,300,136,volume)
95 # popup osd menu
97 %Vl(t,10,230,300,136,-)
98 %xd(G)
99 %T(22,22,110,90,browse)
100 %T(132,22,73,90,quickscreen)
101 %T(206,22,70,90,contextmenu)
104 # ff/rewind button
106 %V(0,420,90,58,-)
107 %xd(H)%xd(I)
108 %T(0,0,40,58,rwd, repeat_press)
109 %T(0,0,40,58,prev)
110 %T(50,0,40,58,ffwd, repeat_press)
111 %T(50,0,40,58,next)
113 # needs to be at the end since touch regions need to be declared
114 # before %Tl can be used
115 %?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)>>>