Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 1 | # Classic Statusbar |
Jonathan Gordon | f551d14 | 2012-12-04 18:49:29 +1100 | [diff] [blame] | 2 | # (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 3 | # |
| 4 | # Classic statusbar adapted to skin engine |
| 5 | # |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 6 | # Status bar position can be changed from top to bottom by changing the y positions from 0 to -8 |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 7 | # |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 8 | # Specify the UI area viewport... everything but a bar 8 pixels high at the top |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 9 | %Vi(-,0,8,-,-,1)%Vf(0)%Vb(3) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 10 | |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 11 | ################################################################### |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 12 | # Options: |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 13 | # You can use icons or text for the volume and battery display |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 14 | # Just comment out the line for the one you dont want! |
| 15 | |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 16 | # Comment out the next line if you dont want battery icons |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 17 | %Vd(a)%Vd(e) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 18 | |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 19 | # Comment out the next line if you dont want battery number as text |
Jonathan Gordon | 41fb990 | 2012-06-26 10:16:26 +1000 | [diff] [blame] | 20 | # %Vd(b) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 21 | |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 22 | # Comment out the next line if you dont want volume icons |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 23 | %Vd(c) |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 24 | # Comment out the next line if you dont want volume number as text |
Jonathan Gordon | 41fb990 | 2012-06-26 10:16:26 +1000 | [diff] [blame] | 25 | # %Vd(d) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 26 | |
Hayden Pearce | 6f709d2 | 2012-12-04 19:19:06 +1300 | [diff] [blame] | 27 | ################################################################## |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 28 | |
| 29 | # Load some bitmaps |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 30 | %xl(B,battery.bmp,0,0,16) |
| 31 | %xl(V,volume.bmp,1,0,17) |
| 32 | %xl(S,status.bmp,0,0,15) |
| 33 | %xl(D,access_disk.bmp,0,0) |
| 34 | %xl(y,batter-y.bmp,0,0) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 35 | |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 36 | %xl(m,rec_mpegbitrates.bmp,1,0,18) |
| 37 | %xl(f,rec_frequencies.bmp,0,0,12) |
| 38 | %xl(e,rec_encoders.bmp,0,0,3) |
| 39 | %xl(c,rec_channels.bmp,13,0,2) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 40 | |
| 41 | # Enable the correct viewports |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 42 | %?cs<%Vd(c)%Vd(p)%Vd(r)%Vd(s)|%Vd(c)%Vd(p)%Vd(r)%Vd(s)|%Vd(z)|%Vd(c)%Vd(p)%Vd(r)%Vd(s)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 43 | |
| 44 | # Charging animation viewports |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 45 | %t(2)%?bc<%Vd(x)|%Vd(a)>;%t(2)%Vd(a) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 46 | |
| 47 | # Battery area, Icons |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 48 | %Vl(a,0,0,17,7,0)%Vf(0)%Vb(3) |
| 49 | %?bl<%xd(Ba)|%xd(Bb)|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)|%xd(Bk)|%xd(Bl)|%xd(Bm)|%xd(Bn)|%xd(Bo)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 50 | |
| 51 | # Battery area, grey background viewport for charging animation |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 52 | %Vl(x,0,0,17,7,0)%Vf(0)%Vb(1) |
| 53 | %?bl<%xd(Ba)|%xd(Bb)|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)|%xd(Bk)|%xd(Bl)|%xd(Bm)|%xd(Bn)|%xd(Bo)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 54 | |
| 55 | # end of battery symbol (to exclude it from animation) |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 56 | %Vl(e,17,0,3,7,0)%Vf(0)%Vb(3) |
| 57 | %xd(y) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 58 | |
| 59 | # usb power or charger icon |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 60 | %V(20,0,8,8,0)%Vf(0)%Vb(3) |
| 61 | %?bu<%xd(Sa)|%?bc<%xd(Sa)|%?bp<%xd(So)>>> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 62 | |
| 63 | # battery area, no icons |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 64 | %Vl(b,0,0,18,8,0)%Vf(0)%Vb(3) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 65 | %ar%bl |
| 66 | |
| 67 | # Volume area |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 68 | %Vl(c,28,0,19,8,0)%Vf(0)%Vb(3) |
| 69 | %?mv<%ac%?pv<%pv|%pv| %pv| %pv>|%?pv<%xd(Va)|%xd(Vb)|%xd(Vc)|%xd(Vd)|%xd(Ve)|%xd(Vf)|%xd(Vg)|%xd(Vh)|%xd(Vi)|%xd(Vj)|%xd(Vk)|%xd(Vl)|%xd(Vm)|%xd(Vn)|%xd(Vo)|%xd(Vp)|%xd(Vq)>> |
| 70 | %Vl(d,28,0,19,8,0)%Vf(0)%Vb(3) |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 71 | %ac%?pv<%pv|%pv| %pv| %pv> |
| 72 | |
| 73 | # Icons, all in the same bmp strip, so need to use multiple viewports |
| 74 | # Playback mode |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 75 | %Vl(p,47,0,9,8,0)%Vf(0)%Vb(3) |
| 76 | %?mp<%xd(Sc)|%xd(Sb)|%xd(Sd)|%xd(Se)|%xd(Sf)|%xd(Sg)|%xd(Sh)|%xd(Si)|%xd(Sj)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 77 | |
| 78 | # Repeat mode |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 79 | %Vl(r,56,0,9,8,0)%Vf(0)%Vb(3) |
| 80 | %?mm<|%xd(Sk)|%xd(Sl)|%xd(Sm)|%xd(Sn)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 81 | |
| 82 | # Shuffle mode |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 83 | %Vl(s,65,0,-,8,0)%Vf(0)%Vb(3) |
| 84 | %?ps<%xd(Sm)|> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 85 | |
| 86 | |
| 87 | # Recording section |
| 88 | # encoder/mpeg bitrate |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 89 | %Vl(z,28,0,19,8,0)%Vf(0)%Vb(3) |
| 90 | %?Rp<%?Re<%xd(ea)|%xd(eb)|%xd(ec)|%?Rb<%xd(ma)|%xd(mb)|%xd(mc)|%xd(md)|%xd(me)|%xd(mf)|%xd(mg)|%xd(mh)|%xd(mi)|%xd(mj)|%xd(mk)|%xd(ml)|%xd(mm)|%xd(mn)|%xd(mo)|%xd(mp)|%xd(mq)|%xd(mr)>>> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 91 | # status icon |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 92 | %Vl(z,47,0,8,8,0)%Vf(0)%Vb(3) |
| 93 | %?mp<%xd(Sc)|%xd(Sb)|%xd(Sd)|%xd(Se)|%xd(Sf)|%xd(Sg)|%xd(Sh)|%xd(Si)|%xd(Sj)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 94 | # frequency and channels |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 95 | %Vl(z,55,0,-,8,0)%Vf(0)%Vb(3) |
| 96 | %?Rp<%?Rf<%xd(fa)|%xd(fb)|%xd(fc)|%xd(fd)|%xd(fe)|%xd(ff)|%xd(fg)|%xd(fh)|%xd(fi)|%xd(fj)|%xd(fk)|%xd(fl)>> |
| 97 | %?Rm<%xd(ca)|%xd(cb)> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 98 | |
| 99 | # Clock on RTC able targets, and disk access |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 100 | %V(-43,0,31,8,0)%Vf(0)%Vb(3) # align on the right with room for 5 SYSFONT digits |
| 101 | %?cc<%?ca<%?St(time format)<%cH|%cI>:%cM|--:-->|> |
Marianne Arnold | c074c76 | 2009-11-28 16:37:33 +0000 | [diff] [blame] | 102 | |
| 103 | # disk access icon |
Jonathan Gordon | c1a42ff | 2010-06-13 13:16:41 +0000 | [diff] [blame] | 104 | %V(-12,0,-,8,0)%Vf(0)%Vb(3) |
| 105 | %?lh<%xd(D)|> |