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