summaryrefslogtreecommitdiff
path: root/wps/classic_statusbar.112x64x1.sbs
blob: c3c3f638e5c4fb342bad61c19fa3a8cdde1a8f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Classic Statusbar
# (C) 2007-2012 The Authors (see /rockbox/wps/AUTHORS)
#
# Classic statusbar adapted to skin engine
#
# Status bar position can be changed from top to bottom by changing the y positions from 0 to -8
#
# Specify the UI area viewport... everything but a bar 8 pixels high at the top
%Vi(-,0,8,-,-,1)

###################################################################
# Options: 
# You can use icons or text for the volume and battery display
# Just comment out the line for the one you dont want!

# Comment out the next line if you dont want battery icons
%Vd(a)%Vd(e)

# Comment out the next line if you dont want battery number as text
# %Vd(b)

# Comment out the next line if you dont want volume icons
%Vd(c)
# Comment out the next line if you dont want volume number as text
# %Vd(d)
 
##################################################################

# Load some bitmaps
%xl(B,battery.bmp,0,0,16)
%xl(V,volume.bmp,1,0,17)
%xl(S,status.bmp,0,0,15)
%xl(D,access_flash.bmp,0,0)
%xl(y,batter-y.bmp,0,0)

# %xl|m|rec_mpegbitrates.bmp|1|0|18|
%xl(f,rec_frequencies.bmp,0,0,12)
# %xl|e|rec_encoders.bmp|0|0|3|
%xl(c,rec_channels.bmp,13,0,2)

# Enable the correct viewports
%?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)>

# Charging animation viewports
%t(2)%?bc<%Vd(x)|%Vd(a)>;%t(2)%Vd(a)

# Either RTC (Recorders) or virtual LED (Ondios) viewport
%?cc<%Vd(t)|%Vd(l)>

# Battery area, Icons
%Vl(a,0,0,17,7,0)
%?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)>

# Battery area, viewport with full battery icon for charging animation
%Vl(x,0,0,17,7,0) 
%xd(Bo)

# end of battery symbol (to exclude it from animation)
%Vl(e,17,0,3,7,0)
%xd(y)

# usb power or charger icon
%V(20,0,8,8,0) 
%?bu<%xd(Sa)|%?bc<%xd(Sa)|%?bp<%xd(So)>>>

# battery area, no icons
%Vl(b,0,0,18,8,0)
%ar%bl

# Volume area
%Vl(c,28,0,19,8,0)
%?mv<%ac%?pv<%xd(Va)|%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)>>
%Vl(d,28,0,19,8,0)
%ac%?pv<%xd(Va)|%pv| %pv| %pv>

# Icons, all in the same bmp strip, so need to use multiple viewports
# Playback mode
%Vl(p,47,0,9,8,0)
%?mp<%xd(Sc)|%xd(Sb)|%xd(Sd)|%xd(Se)|%xd(Sf)|%xd(Sg)|%xd(Sh)|%xd(Si)|%xd(Sj)>

# Repeat mode
%Vl(r,56,0,9,8,0)
%?mm<|%xd(Sk)|%xd(Sl)|%xd(Sm)|%xd(Sn)>

# Shuffle mode
%Vl(s,65,0,-,8,0)
%?ps<%xd(Sm)|>


# Recording section
# encoder/mpeg bitrate
%Vl(z,28,0,19,8,0)
%?Rp<%acQ%Rb>
# status icon
%Vl(z,47,0,8,8,0)
%?mp<%xd(Sc)|%xd(Sb)|%xd(Sd)|%xd(Se)|%xd(Sf)|%xd(Sg)|%xd(Sh)|%xd(Si)|%xd(Sj)>
# frequency and channels
%Vl(z,55,0,-,8,0)
%?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)>>
%?Rm<%xd(ca)|%xd(cb)>

# Clock on Recorders
%Vl(t,-30,0,30,8,0) # align on the right with room for 5 SYSFONT digits
%?cc<%?ca<%?St(time format)<%cH|%cI>:%cM|--:-->|>

# Disk access on Ondios
%Vl(l,-12,0,-,8,0)
%?lh<%xd(D)|>