Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 1 | # Cabbie v2.0 |
Jonathan Gordon | f551d14 | 2012-12-04 18:49:29 +1100 | [diff] [blame^] | 2 | # (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS) |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 3 | # Derived from "cabbie" (C) Yohann Misquitta |
| 4 | # |
| 5 | # Disable Status Bar |
Dave Chapman | 20d3226 | 2008-03-23 22:42:15 +0000 | [diff] [blame] | 6 | %wd |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 7 | # |
| 8 | # Load Backdrop |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 9 | %X(wpsbackdrop-160x128x16.bmp) |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 10 | # |
| 11 | # Preload Images |
| 12 | %xl(A,lock-160x128x16.bmp,0,0,2) |
| 13 | %xl(B,battery-160x128x16.bmp,0,0,10) |
| 14 | %xl(C,volume-160x128x16.bmp,0,0,10) |
| 15 | %xl(D,shuffle-160x128x16.bmp,0,0) |
| 16 | %xl(E,repeat-160x128x16.bmp,0,0,4) |
| 17 | %xl(F,playmode-160x128x16.bmp,0,0,5) |
| 18 | # |
| 19 | # Album Art/Info Viewport Conditional |
| 20 | %?C<%Vd(a)|%Vd(b)> |
| 21 | # |
| 22 | # Progress Bar |
| 23 | %V(6,86,149,8,-) |
| 24 | %pb(0,0,149,8,pb-160x128x16.bmp) |
| 25 | # |
| 26 | # Hold |
| 27 | %V(48,114,13,10,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 28 | %?mh<%xd(Aa)|%xd(Ab)> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 29 | # |
| 30 | # Battery |
| 31 | %V(66,115,25,13,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 32 | %?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 33 | # |
| 34 | # Volume |
| 35 | %V(86,115,19,13,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 36 | %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 37 | # |
| 38 | # Shuffle |
| 39 | %V(104,116,15,8,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 40 | %?ps<%xd(D)> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 41 | # |
| 42 | # Repeat |
| 43 | %V(125,112,11,15,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 44 | %?mm<|%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 45 | # |
| 46 | # Playmode |
| 47 | %V(142,114,10,11,-) |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 48 | %?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 49 | # |
| 50 | # Time Elapsed/Remaining |
| 51 | %V(6,96,149,10,-) |
| 52 | %al%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr |
| 53 | # |
| 54 | # Album Art |
| 55 | %ax%Vl(a,7,16,65,65,-) |
| 56 | %Cl(0,0,65,65,c,c) |
| 57 | %Cd |
| 58 | # |
| 59 | # Track Info - Album Art |
| 60 | %ax%Vl(a,77,10,-,75,-) |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 61 | %s%al%?it<%it|%fn> |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 62 | %s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>> |
| 63 | %s%al%?id<%id|%?d(1)<%d(1)|%(root%)>> |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 64 | |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 65 | %Sx(Next Track:) |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 66 | %s%?It<%It|%Fn> |
Jonathan Gordon | bd77d02 | 2010-07-26 12:07:48 +0000 | [diff] [blame] | 67 | # |
| 68 | # Track Info - No Album Art |
| 69 | %Vl(b,0,10,-,75,-) |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 70 | %s%ac%?it<%it|%fn> |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 71 | %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>> |
| 72 | %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>> |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 73 | |
Jonathan Gordon | 5b0521c | 2010-06-07 03:44:11 +0000 | [diff] [blame] | 74 | %Sx(Next Track:) |
Jonathan Gordon | ef9c9d6 | 2008-06-23 07:32:27 +0000 | [diff] [blame] | 75 | %s%?It<%It|%Fn> |