blob: 2c8a7574f4b535d3afa1d7a85866766cee906168 [file] [log] [blame]
Hayden Pearce6f709d22012-12-04 19:19:06 +13001# Classic Statusbar
Jonathan Gordonf551d142012-12-04 18:49:29 +11002# (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS)
Marianne Arnoldc074c762009-11-28 16:37:33 +00003#
4# Classic statusbar adapted to skin engine
5#
Hayden Pearce6f709d22012-12-04 19:19:06 +13006# Status bar position can be changed from top to bottom by changing the y positions from 0 to -8
Marianne Arnoldc074c762009-11-28 16:37:33 +00007#
Hayden Pearce6f709d22012-12-04 19:19:06 +13008# Specify the UI area viewport... everything but a bar 8 pixels high at the top
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +00009%Vi(-,0,8,-,-,1)%Vf(0)%Vb(3)
Marianne Arnoldc074c762009-11-28 16:37:33 +000010
Hayden Pearce6f709d22012-12-04 19:19:06 +130011###################################################################
Marianne Arnoldc074c762009-11-28 16:37:33 +000012# Options:
Hayden Pearce6f709d22012-12-04 19:19:06 +130013# You can use icons or text for the volume and battery display
Marianne Arnoldc074c762009-11-28 16:37:33 +000014# Just comment out the line for the one you dont want!
15
Hayden Pearce6f709d22012-12-04 19:19:06 +130016# Comment out the next line if you dont want battery icons
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000017%Vd(a)%Vd(e)
Marianne Arnoldc074c762009-11-28 16:37:33 +000018
Hayden Pearce6f709d22012-12-04 19:19:06 +130019# Comment out the next line if you dont want battery number as text
Jonathan Gordon41fb9902012-06-26 10:16:26 +100020# %Vd(b)
Marianne Arnoldc074c762009-11-28 16:37:33 +000021
Hayden Pearce6f709d22012-12-04 19:19:06 +130022# Comment out the next line if you dont want volume icons
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000023%Vd(c)
Hayden Pearce6f709d22012-12-04 19:19:06 +130024# Comment out the next line if you dont want volume number as text
Jonathan Gordon41fb9902012-06-26 10:16:26 +100025# %Vd(d)
Marianne Arnoldc074c762009-11-28 16:37:33 +000026
Hayden Pearce6f709d22012-12-04 19:19:06 +130027##################################################################
Marianne Arnoldc074c762009-11-28 16:37:33 +000028
29# Load some bitmaps
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000030%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 Arnoldc074c762009-11-28 16:37:33 +000035
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000036%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 Arnoldc074c762009-11-28 16:37:33 +000040
41# Enable the correct viewports
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000042%?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 Arnoldc074c762009-11-28 16:37:33 +000043
44# Charging animation viewports
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000045%t(2)%?bc<%Vd(x)|%Vd(a)>;%t(2)%Vd(a)
Marianne Arnoldc074c762009-11-28 16:37:33 +000046
47# Battery area, Icons
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000048%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 Arnoldc074c762009-11-28 16:37:33 +000050
51# Battery area, grey background viewport for charging animation
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000052%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 Arnoldc074c762009-11-28 16:37:33 +000054
55# end of battery symbol (to exclude it from animation)
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000056%Vl(e,17,0,3,7,0)%Vf(0)%Vb(3)
57%xd(y)
Marianne Arnoldc074c762009-11-28 16:37:33 +000058
59# usb power or charger icon
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000060%V(20,0,8,8,0)%Vf(0)%Vb(3)
61%?bu<%xd(Sa)|%?bc<%xd(Sa)|%?bp<%xd(So)>>>
Marianne Arnoldc074c762009-11-28 16:37:33 +000062
63# battery area, no icons
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000064%Vl(b,0,0,18,8,0)%Vf(0)%Vb(3)
Marianne Arnoldc074c762009-11-28 16:37:33 +000065%ar%bl
66
67# Volume area
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000068%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 Arnoldc074c762009-11-28 16:37:33 +000071%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 Gordonc1a42ff2010-06-13 13:16:41 +000075%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 Arnoldc074c762009-11-28 16:37:33 +000077
78# Repeat mode
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000079%Vl(r,56,0,9,8,0)%Vf(0)%Vb(3)
80%?mm<|%xd(Sk)|%xd(Sl)|%xd(Sm)|%xd(Sn)>
Marianne Arnoldc074c762009-11-28 16:37:33 +000081
82# Shuffle mode
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000083%Vl(s,65,0,-,8,0)%Vf(0)%Vb(3)
84%?ps<%xd(Sm)|>
Marianne Arnoldc074c762009-11-28 16:37:33 +000085
86
87# Recording section
88# encoder/mpeg bitrate
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000089%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 Arnoldc074c762009-11-28 16:37:33 +000091# status icon
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000092%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 Arnoldc074c762009-11-28 16:37:33 +000094# frequency and channels
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +000095%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 Arnoldc074c762009-11-28 16:37:33 +000098
99# Clock on RTC able targets, and disk access
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +0000100%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 Arnoldc074c762009-11-28 16:37:33 +0000102
103# disk access icon
Jonathan Gordonc1a42ff2010-06-13 13:16:41 +0000104%V(-12,0,-,8,0)%Vf(0)%Vb(3)
105%?lh<%xd(D)|>