Prepare new maemo release
[maemo-rb.git] / wps / cabbiev2.800x480x16.wps
1 # Cabbie v2.0
2 # (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS)
3 # Derived from "cabbie" (C) Yohann Misquitta
4 #
5 # TODO:
6 #  * images for battery, hold button
7 %wd
8 %X(wpsbackdrop-800x480x16.bmp)
9
10 %Cl(0,0,225,225,c,c)
11
12 %?C<%Vd(c)|%Vd(a)>
13 %?vg(show_vol)<%?C<%Vd(d)|%Vd(b)>|%Vd(t)|%Vd(vol)>
14
15 # track & next track info - no AA
16 %Vl(a,0,79,-,225,-)
17 # tap on current title info for playlist (ie. where albumart would normally be)
18 %T(0,0,225,225,playlist)
19 %Vl(b,0,79,-,225,-)
20 %s%ac%?it<%it|%fn>
21 %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
22 %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
23
24 %s%ac%Sx(Next Track:)
25 %s%ac%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?It<%It|%Fn>
26
27 #
28 # album art viewport
29 #
30 %Vl(c,58,76,225,225,-)
31 # tap on the cover art for playlist
32 %T(0,0,225,225,playlist)
33 %Cd
34
35 # track & next track info - AA
36 %Vl(d,309,83,-,211,-)
37 %s%al%?it<%it|%fn>
38 %s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
39 %s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>
40
41 %s%al%Sx(Next Track:)
42 %s%al%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?It<%It|%Fn>
43
44 # playtime
45 %V(30,360,740,36,-)
46 %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
47
48 # progressbar and bottom icons
49 %V(0,323,-,33,-)
50 %pb(25,0,750,-,pb-800x480x16.bmp)
51
52 # volume
53 %V(344,400,108,60,-)
54 %xl(C,volume-800x480x16.bmp,10,0,10)
55 %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
56 %T(small_vol,0,0,108,60,none)
57
58 # shuffle
59 %V(468,415,92,43,-)
60 %xl(D,shuffle-800x480x16.bmp,0,0)
61 %?ps<%xd(D)>
62 %T(0,0,92,43,shuffle)
63
64 # repeat
65 %V(590,404,50,66,-)
66 %xl(E,repeat-800x480x16.bmp,0,0,4)
67 %xd(E, %mm, -1)
68 %T(0,0,50,66,repmode)
69
70 # playmode
71 %V(700,402,70,70,-)
72 %xl(F,playmode-800x480x16.bmp,0,0,5)
73 %?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
74 %T(0,0,70,70,play)
75 %T(0,0,70,70,stop, repeat_press)
76
77 #
78 # volume slider
79 #
80 %Vl(vol,308,83,-,205,-)
81 %xl(vol,volumebar-480x800x16.bmp,0,0)
82 %xl(volbd,volumebar-backdrop-480x800x16.bmp,0,0)
83 %pv(0,0,452,205,image,vol,backdrop,volbd)
84 %T(0,0,452,205,volume)
85
86 #
87 # popup osd menu
88 #
89 %Vl(t,308,83,-,205,-)
90 %xl(G,popup-800x480x16.bmp,0,0)
91 %xd(G)
92 %T( 30,30,160,146,browse)
93 %T(190,30,114,146,quickscreen)
94 %T(304,30,114,146,contextmenu)
95
96 #
97 # ff/rewind button
98 #
99 %V(166,395,160,75,-)
100 %xl(H,rew-800x480x16.bmp,0,5)
101 %xl(I,ff-800x480x16.bmp,80,5)
102 %xd(H)%xd(I)
103 %T(0,0,70,75,rwd, repeat_press)
104 %T(0,0,70,75,prev)
105 %T(80,0,70,75,ffwd, repeat_press)
106 %T(80,0,70,75,next)
107
108 # needs to be at the end since touch regions need to be declared
109 # before %Tl can be used
110 %?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)>>>