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) 2010-2012 The Authors (see /rockbox/wps/AUTHORS) |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 3 | # Derived from "Cabbie v2.0" (C) 2010-2012 The Authors |
Marcin Bukat | 143d2b5 | 2012-05-20 11:22:07 +0200 | [diff] [blame] | 4 | # |
| 5 | # Disable Status Bar |
| 6 | %wd |
| 7 | # |
| 8 | # Load Backdrop |
| 9 | %X(fmsbackdrop-160x128x2.bmp) |
| 10 | # |
| 11 | # Preload Images |
| 12 | %xl(lock,lock-160x128x2.bmp,0,0,2) |
| 13 | %xl(battery,battery-160x128x2.bmp,0,0,10) |
| 14 | %xl(volume,volume-160x128x2.bmp,0,0,10) |
| 15 | # |
| 16 | # Station Art/Info Viewport Conditional |
| 17 | # Preset present conditional |
| 18 | # RDS present conditional |
| 19 | %?C<%Vd(art)> |
| 20 | %?Ti<%?C<%Vd(art_preset)|%Vd(noart_preset)>> |
| 21 | %?tx<%?Ti<%?C<%Vd(art_preset_rds)|%Vd(noart_preset_rds)>|%?C<%Vd(art_nopreset_rds)|%Vd(noart_nopreset_rds)>>|> |
| 22 | # |
| 23 | # Frequency Bar |
| 24 | %V(1,86,158,8,-) |
| 25 | %pb(0,0,158,8,pb-160x128x2.bmp) |
| 26 | # |
| 27 | # Hold |
| 28 | %V(48,114,14,11,-) |
| 29 | %xd(lock,%mh) |
| 30 | # |
| 31 | # Battery |
| 32 | %V(66,115,17,10,-) |
| 33 | %?bp<%?bc<%xd(battery,1)|%xd(battery,2)>|%xd(battery,%bl,2)> |
| 34 | # |
| 35 | # Volume |
| 36 | %V(87,114,16,11,-) |
| 37 | %xd(volume,%pv) |
| 38 | # |
| 39 | # Signal strength |
| 40 | %V(110,114,48,10,-) |
| 41 | %ar%tr dBuV |
| 42 | # Below frequency bar Scan/Preset frequency MHz Force Mono/Mono/Stereo |
| 43 | %V(1,96,158,10,1) |
| 44 | %al%?tm<%Sx(Scan)|%Sx(Preset)> %ac%tf MHz %ar%?St(force fm mono)<%Sx(Force Mono)|%?ts<%Sx(Stereo)|%Sx(Mono)>> |
| 45 | # |
| 46 | # Station Art |
| 47 | %ax%Vl(art,2,16,64,64,-) |
| 48 | %Cl(0,0,64,64,c,c) |
| 49 | %Cd |
| 50 | # |
| 51 | # Station Art |
| 52 | # Preset present |
| 53 | %ax%Vl(art_preset,70,17,-,16,-) |
| 54 | %Vp(0,%s%ac%?Ti<Station: |>%?Tn<%Tn|%Tf>) |
| 55 | %ax%Vl(art_preset,70,33,-,16,-) |
| 56 | %Vp(1,%s%ac%?Ti<Next station: |>%?Tn<%Tn|%Tf>) |
| 57 | # |
Marcin Bukat | 09fbe7c | 2012-07-05 23:05:44 +0200 | [diff] [blame] | 58 | %ax%Vl(art_preset_rds,70,49,-,32,-) |
Marcin Bukat | 143d2b5 | 2012-05-20 11:22:07 +0200 | [diff] [blame] | 59 | %s%ty |
| 60 | %s%tz |
| 61 | # |
| 62 | # Station Art |
| 63 | # Preset absent |
| 64 | %ax%Vl(art_nopreset_rds,70,37,-,32,-) |
| 65 | %s%ty |
| 66 | %s%tz |
| 67 | # |
| 68 | # No station art |
| 69 | # Preset present |
| 70 | %Vl(noart_preset,0,17,-,16,-) |
| 71 | %Vp(0,%s%ac%?Ti<Station: |>%?Tn<%Tn|%Tf>) |
| 72 | %Vl(noart_preset,0,33,-,16,-) |
| 73 | %Vp(1,%s%ac%?Ti<Next station: |>%?Tn<%Tn|%Tf>) |
| 74 | # |
Marcin Bukat | 09fbe7c | 2012-07-05 23:05:44 +0200 | [diff] [blame] | 75 | %Vl(noart_preset_rds,0,49,-,32,-) |
Marcin Bukat | 143d2b5 | 2012-05-20 11:22:07 +0200 | [diff] [blame] | 76 | %s%ty |
| 77 | %s%tz |
| 78 | # |
| 79 | # No station art |
| 80 | # Preset absent |
| 81 | %Vl(noart_nopreset_rds,0,37,-,32,-) |
| 82 | %s%ty |
| 83 | %s%tz |