2012-12-04 06:19:06 +00:00
|
|
|
# Cabbie v2.0
|
2012-12-04 07:49:29 +00:00
|
|
|
# (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS)
|
2012-12-04 06:19:06 +00:00
|
|
|
# Derived from "cabbie" (C) Yohann Misquitta
|
|
|
|
#
|
2010-08-05 18:53:56 +00:00
|
|
|
# TODO:
|
|
|
|
# * images for battery, hold button
|
2010-08-02 20:34:47 +00:00
|
|
|
%wd
|
2010-08-05 17:54:36 +00:00
|
|
|
%X(wpsbackdrop-320x480x16.bmp)
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-05 18:53:56 +00:00
|
|
|
#%xl(A,lock-240x320x16.bmp,11,0,2)
|
|
|
|
#%xl(B,battery-240x320x16.bmp,46,0,10)
|
2010-08-05 23:43:05 +00:00
|
|
|
%xl(C,volume-320x480x16.bmp,91,71,10)
|
|
|
|
%xl(D,shuffle-320x480x16.bmp,156,76)
|
|
|
|
%xl(E,repeat-320x480x16.bmp,231,66,4)
|
2010-11-14 17:03:32 +00:00
|
|
|
%xl(F,playmode-320x480x16.bmp,273,68,5)
|
2010-08-05 23:43:05 +00:00
|
|
|
%xl(G,popup-320x480x16.bmp,0,0)
|
2010-11-14 17:03:32 +00:00
|
|
|
%xl(H,rew-320x480x16.bmp,0,8)
|
|
|
|
%xl(I,ff-320x480x16.bmp,45,8)
|
2011-11-26 14:34:04 +00:00
|
|
|
%xl(vol,volumebar-320x480x16.bmp,0,0)
|
|
|
|
%xl(volbd,volumebar-backdrop-320x480x16.bmp,0,0)
|
2010-08-05 18:53:56 +00:00
|
|
|
|
2010-08-05 17:54:36 +00:00
|
|
|
%Cl(0,0,180,180,c,c)
|
2011-11-26 14:34:04 +00:00
|
|
|
%?C<%Vd(c)|%Vd(a)>
|
|
|
|
%?vg(show_vol)<%?C<%Vd(d)|%Vd(b)>|%Vd(t)|%Vd(vol)>
|
2010-08-05 18:53:56 +00:00
|
|
|
|
|
|
|
# track & next track info - no AA
|
2010-08-06 00:39:38 +00:00
|
|
|
%Vl(a,0,60,-,110,-)
|
2010-08-05 23:43:05 +00:00
|
|
|
# tap on current title info for playlist (ie. where albumart would normally be)
|
|
|
|
%T(70,0,180,180,playlist)
|
2010-08-05 18:53:56 +00:00
|
|
|
%s%ac%?it<%it|%fn>
|
2021-05-21 00:20:30 +00:00
|
|
|
%s%ac%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
|
2010-08-05 18:53:56 +00:00
|
|
|
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
|
|
|
|
%ac%?iy<%iy|>
|
2010-08-06 00:39:38 +00:00
|
|
|
%Vl(b,0,200,-,140,-)
|
2010-08-05 18:53:56 +00:00
|
|
|
%ac%?ig<%ig|>
|
|
|
|
%ac%?fv<%(vbr%) |>%fb kbit/s %fc
|
2021-05-21 00:20:30 +00:00
|
|
|
%s%ac%?Ia<%Ia|%?IA<%IA|%?D(2)<%D(2)|%(root%)>>>
|
2010-08-05 17:54:36 +00:00
|
|
|
%ac%Sx(Next Track:)
|
|
|
|
%ac%s%?It<%It|%Fn>
|
2010-08-06 00:39:38 +00:00
|
|
|
#
|
2010-08-05 18:53:56 +00:00
|
|
|
# album art viewport
|
2010-08-06 00:39:38 +00:00
|
|
|
#
|
2010-08-05 23:43:05 +00:00
|
|
|
%Vl(c,70,50,180,180,-)
|
|
|
|
# tap on the cover art for playlist
|
|
|
|
%T(0,0,180,180,playlist)
|
|
|
|
%Cd
|
2010-08-05 18:53:56 +00:00
|
|
|
|
2010-08-05 17:54:36 +00:00
|
|
|
# current track info - AA
|
2011-11-26 14:34:04 +00:00
|
|
|
%Vl(d,0,240,-,-120,-)
|
2010-08-05 17:54:36 +00:00
|
|
|
%s%ac%?it<%it|%fn>
|
2021-05-21 00:20:30 +00:00
|
|
|
%s%ac%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
|
2010-08-05 17:54:36 +00:00
|
|
|
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-05 17:54:36 +00:00
|
|
|
# next track info - AA
|
2011-11-26 14:34:04 +00:00
|
|
|
%Vl(d,0,338,-,-120,-)
|
2021-05-21 00:20:30 +00:00
|
|
|
%?C<%s%ac%Sx(Next:) %?Ia<%Ia|%?IA<%IA|%?D(2)<%D(2)|%(root%)>>> - %?It<%It|%Fn>|%s%ac%?Id<%Id|%?D(1)<%D(1)|%(root%)>>>
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-05 17:54:36 +00:00
|
|
|
# playtime
|
|
|
|
%V(15,398,290,30,-)
|
|
|
|
%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-05 18:53:56 +00:00
|
|
|
# progressbar and bottom icons
|
2010-08-05 23:43:05 +00:00
|
|
|
%V(0,360,-,-,-)
|
|
|
|
%pb(20,11,280,-,pb-320x480x16.bmp)
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-05 17:54:36 +00:00
|
|
|
#%?mh<%xd(Aa)|%xd(Ab)>
|
|
|
|
#%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
|
2011-11-26 14:34:04 +00:00
|
|
|
|
2010-08-05 23:43:05 +00:00
|
|
|
# volume
|
2010-08-02 20:34:47 +00:00
|
|
|
%?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
|
2011-11-26 14:34:04 +00:00
|
|
|
%T(small_vol,91,71,55,50,none)
|
2010-08-05 23:43:05 +00:00
|
|
|
#
|
|
|
|
# shuffle
|
2010-08-05 18:53:56 +00:00
|
|
|
%?ps<%xd(D)>
|
2010-08-05 23:43:05 +00:00
|
|
|
%T(156,76,65,50,shuffle)
|
|
|
|
#
|
|
|
|
# repeat
|
2010-08-05 18:53:56 +00:00
|
|
|
%xd(E, %mm, -1)
|
2010-08-05 23:43:05 +00:00
|
|
|
%T(231,66,36,50,repmode)
|
|
|
|
#
|
|
|
|
# playmode
|
2011-02-25 20:14:56 +00:00
|
|
|
%?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
|
2010-08-05 23:43:05 +00:00
|
|
|
%T(273,66,45,50,play)
|
2011-08-14 13:14:58 +00:00
|
|
|
%T(273,66,45,50,stop, repeat_press)
|
2010-08-05 23:43:05 +00:00
|
|
|
|
2011-11-26 14:34:04 +00:00
|
|
|
#
|
|
|
|
# volume slider
|
|
|
|
#
|
|
|
|
%Vl(vol,10,230,300,136,-)
|
|
|
|
%pv(0,0,300,136,image,vol,backdrop,volbd)
|
|
|
|
%T(0,0,300,136,volume)
|
|
|
|
|
2010-08-05 23:43:05 +00:00
|
|
|
#
|
|
|
|
# popup osd menu
|
|
|
|
#
|
2011-11-25 19:12:08 +00:00
|
|
|
%Vl(t,10,230,300,136,-)
|
2010-08-05 23:43:05 +00:00
|
|
|
%xd(G)
|
2011-11-25 19:12:08 +00:00
|
|
|
%T(22,22,110,90,browse)
|
|
|
|
%T(132,22,73,90,quickscreen)
|
|
|
|
%T(206,22,70,90,contextmenu)
|
2010-08-05 23:43:05 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# ff/rewind button
|
|
|
|
#
|
2011-02-25 20:14:56 +00:00
|
|
|
%V(0,420,90,58,-)
|
2010-08-05 23:43:05 +00:00
|
|
|
%xd(H)%xd(I)
|
2011-08-14 13:14:58 +00:00
|
|
|
%T(0,0,40,58,rwd, repeat_press)
|
2010-08-05 23:43:05 +00:00
|
|
|
%T(0,0,40,58,prev)
|
2011-08-14 13:14:58 +00:00
|
|
|
%T(50,0,40,58,ffwd, repeat_press)
|
2010-08-05 23:43:05 +00:00
|
|
|
%T(50,0,40,58,next)
|
2011-11-26 14:34:04 +00:00
|
|
|
|
|
|
|
# needs to be at the end since touch regions need to be declared
|
|
|
|
# before %Tl can be used
|
|
|
|
%?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)>>>
|