summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-09 07:10:39 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-09 07:10:39 +0000
commit2f3868b87da78b89e163a786616ac3f55c0fc46e (patch)
tree27b862065b2f51078c50dbcdcaf78c8820995777
parent6b31dc4337bc6573e91bc55d0f2cf7b2ced5e4d3 (diff)
downloadrockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.tar.gz
rockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.zip
very initial recording sbs support... also remote sbs using the same skin code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23584 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--wps/classic_statusbar.rsbs86
-rw-r--r--wps/classic_statusbar.sbs29
2 files changed, 109 insertions, 6 deletions
diff --git a/wps/classic_statusbar.rsbs b/wps/classic_statusbar.rsbs
new file mode 100644
index 0000000000..505268f831
--- /dev/null
+++ b/wps/classic_statusbar.rsbs
@@ -0,0 +1,86 @@
1#
2# Classic statusbar adapted to skin engine
3#
4# Bar at the top.. very easy to change to the bottom (change the y positions from 0 to -8
5#
6
7# specify the UI area viewport... everything but a bar 8 pixels high at the top
8%Vi|0|8|-|-|1|
9
10##############################################################
11# Options:
12# you can use icons or text for the volume and battery display
13# Just comment out the line for the one you dont want!
14
15# comment out the next line if you dont want battery icons
16 %Vda
17# comment out the next line if you dont want battery number as text
18# %Vdb
19
20# comment out the next line if you dont want volume icons
21# %Vdc
22# comment out the next line if you dont want volume number as text
23# %Vdd
24
25################################################################
26
27# Load some bitmaps
28%xl|B|battery.bmp|0|0|10|
29%xl|V|volume.bmp|0|0|10|
30%xl|S|status.bmp|0|0|14|
31
32%xl|m|rec_mpegbitrates.bmp|0|0|18|
33%xl|f|rec_frequencies.bmp|0|0|12|
34%xl|e|rec_encoders.bmp|0|0|4|
35
36# Enable the correct viewports
37%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds>
38
39# Battery area, Icons
40%Vl|a|0|0|16|8|0|
41%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>
42# charging icon
43%Vl|a|16|0|8|8|0|
44%?bc<%xdSa|>
45
46# battery area, no icons
47%Vl|b|0|0|-|8|0|
48%bl%bc
49
50# Volume area
51%Vl|c|27|0|-|8|0|
52%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>>
53%Vl|d|27|0|-|8|0|
54%pv
55
56# Icons, all in the same bmp strip, so need to use multiple viewports
57# Playback mode
58%Vl|p|46|0|-|8|0|
59%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
60
61# Repeat mode
62%Vl|r|54|0|-|8|0|
63%?mm<|%xdSi|%xdSj|%xdSk|%xdSl>
64
65# Shuffle mode
66%Vl|s|64|0|-|8|0|
67%?ps<%xdSk|>
68
69
70# Recording section
71# encoder/mpeg bitrate
72%Vl|z|27|0|18|8|0|
73%?Rp<%?Rh<Q%Rb|%?Re<%xdea|%xdeb|%xdec|%?Rb<%xdma|%xdmb|%xdmc|%xdmd|%xdme|%xdmf|%xdmg|%xdmh|%xdmi|%xdmj|%xdmk|%xdml|%xdmm|%xdmn|%xdmo|%xdmp|%xdmq|%xdmr>>>>
74# status icon
75%Vl|z|46|0|8|8|0|
76%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
77# frequency
78%Vl|z|54|0|-|8|0|
79%?Rp<%?Rf<%xdfa|%xdfb|%xdfc|%xdfd|%xdfe|%xdff|%xdfg|%xdfh|%xdfi|%xdfj|%xdfk|%xdfl>>
80
81# Clock on RTC able targets, and disk access
82%V|-36|0|-6|8|0| # align on the right with room for 6 SYSFONT digits
83%?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|>
84# disk access "icon"
85%V|-6|0|-|8|0| # align on the right with room for 1 SYSFONT digit
86%?lh<*|>
diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs
index e1a40be1e4..30dd747fb6 100644
--- a/wps/classic_statusbar.sbs
+++ b/wps/classic_statusbar.sbs
@@ -18,7 +18,7 @@
18# %Vdb 18# %Vdb
19 19
20# comment out the next line if you dont want volume icons 20# comment out the next line if you dont want volume icons
21 %Vdc 21# %Vdc
22# comment out the next line if you dont want volume number as text 22# comment out the next line if you dont want volume number as text
23# %Vdd 23# %Vdd
24 24
@@ -29,11 +29,18 @@
29%xl|V|volume.bmp|0|0|10| 29%xl|V|volume.bmp|0|0|10|
30%xl|S|status.bmp|0|0|14| 30%xl|S|status.bmp|0|0|14|
31 31
32%xl|m|rec_mpegbitrates.bmp|0|0|18|
33%xl|f|rec_frequencies.bmp|0|0|12|
34%xl|e|rec_encoders.bmp|0|0|4|
35
36# Enable the correct viewports
37%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds>
38
32# Battery area, Icons 39# Battery area, Icons
33%Vl|a|0|0|-|8|0|-|-| 40%Vl|a|0|0|16|8|0|-|-|
34%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> 41%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>
35# charging icon 42# charging icon
36%Vl|a|16|0|-|8|0|-|-| 43%Vl|a|16|0|8|8|0|-|-|
37%?bc<%xdSa|> 44%?bc<%xdSa|>
38 45
39# battery area, no icons 46# battery area, no icons
@@ -48,18 +55,28 @@
48 55
49# Icons, all in the same bmp strip, so need to use multiple viewports 56# Icons, all in the same bmp strip, so need to use multiple viewports
50# Playback mode 57# Playback mode
51%V|46|0|-|8|0|-|-| 58%Vl|p|46|0|-|8|0|-|-|
52%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> 59%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
53 60
54# Repeat mode 61# Repeat mode
55%V|54|0|-|8|0|-|-| 62%Vl|r|54|0|-|8|0|-|-|
56%?mm<|%xdSi|%xdSj|%xdSk|%xdSl> 63%?mm<|%xdSi|%xdSj|%xdSk|%xdSl>
57 64
58# Shuffle mode 65# Shuffle mode
59%V|64|0|-|8|0|-|-| 66%Vl|s|64|0|-|8|0|-|-|
60%?ps<%xdSk|> 67%?ps<%xdSk|>
61 68
62 69
70# Recording section
71# encoder/mpeg bitrate
72%Vl|z|27|0|18|8|0|-|-|
73%?Rp<%?Rh<Q%Rb|%?Re<%xdea|%xdeb|%xdec|%?Rb<%xdma|%xdmb|%xdmc|%xdmd|%xdme|%xdmf|%xdmg|%xdmh|%xdmi|%xdmj|%xdmk|%xdml|%xdmm|%xdmn|%xdmo|%xdmp|%xdmq|%xdmr>>>>
74# status icon
75%Vl|z|46|0|8|8|0|-|-|
76%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
77# frequency
78%Vl|z|54|0|-|8|0|-|-|
79%?Rp<%?Rf<%xdfa|%xdfb|%xdfc|%xdfd|%xdfe|%xdff|%xdfg|%xdfh|%xdfi|%xdfj|%xdfk|%xdfl>>
63 80
64# Clock on RTC able targets, and disk access 81# Clock on RTC able targets, and disk access
65%V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits 82%V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits