Prepare new maemo release
[maemo-rb.git] / wps / cabbiev2.800x480x16.wps
Commit [+]AuthorDateLineData
6f709d23 Hayden Pearce2012-12-04 19:19:06 +13001# Cabbie v2.0
f551d14b Jonathan Gordon2012-12-04 18:49:29 +11002# (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS)
6f709d23
HP
Hayden Pearce2012-12-04 19:19:06 +13003# Derived from "cabbie" (C) Yohann Misquitta
4#
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +00005# TODO:
6# * images for battery, hold button
7%wd
8%X(wpsbackdrop-800x480x16.bmp)
9
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000010%Cl(0,0,225,225,c,c)
11
f8578c08
TM
Thomas Martitz2011-11-26 14:34:04 +000012%?C<%Vd(c)|%Vd(a)>
13%?vg(show_vol)<%?C<%Vd(d)|%Vd(b)>|%Vd(t)|%Vd(vol)>
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000014
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)
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +000051
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +000052# volume
f8578c08
TM
Thomas Martitz2011-11-26 14:34:04 +000053%V(344,400,108,60,-)
54%xl(C,volume-800x480x16.bmp,10,0,10)
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +000055%?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
f8578c08 Thomas Martitz2011-11-26 14:34:04 +000056%T(small_vol,0,0,108,60,none)
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000057
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)
b1424fc2 Alex Parker2011-02-25 20:14:56 +000073%?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +000074%T(0,0,70,70,play)
a7d8dd41 Jonathan Gordon2011-08-14 13:14:58 +000075%T(0,0,70,70,stop, repeat_press)
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000076
77#
f8578c08
TM
Thomas Martitz2011-11-26 14:34:04 +000078# 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#
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000087# popup osd menu
88#
c01ad7f3
TM
Thomas Martitz2011-11-25 19:12:08 +000089%Vl(t,308,83,-,205,-)
90%xl(G,popup-800x480x16.bmp,0,0)
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +000091%xd(G)
c01ad7f3
TM
Thomas Martitz2011-11-25 19:12:08 +000092%T( 30,30,160,146,browse)
93%T(190,30,114,146,quickscreen)
94%T(304,30,114,146,contextmenu)
7d4f3a78
TJ
Thomas Jarosch2011-02-08 21:13:57 +000095
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)
a7d8dd41 Jonathan Gordon2011-08-14 13:14:58 +0000103%T(0,0,70,75,rwd, repeat_press)
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +0000104%T(0,0,70,75,prev)
a7d8dd41 Jonathan Gordon2011-08-14 13:14:58 +0000105%T(80,0,70,75,ffwd, repeat_press)
7d4f3a78 Thomas Jarosch2011-02-08 21:13:57 +0000106%T(80,0,70,75,next)
f8578c08
TM
Thomas Martitz2011-11-26 14:34:04 +0000107
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)>>>