summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildzip.pl14
-rw-r--r--wps/classic_statusbar.112x64x1.sbs37
-rw-r--r--wps/classic_statusbar.mono.sbs86
3 files changed, 115 insertions, 22 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 1a25802369..d07372e500 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -433,12 +433,20 @@ STOP
433 mkdir "$rbdir/wps/classic_statusbar", 0777; 433 mkdir "$rbdir/wps/classic_statusbar", 0777;
434 glob_copy("$ROOT/wps/classic_statusbar/*.bmp", "$rbdir/wps/classic_statusbar"); 434 glob_copy("$ROOT/wps/classic_statusbar/*.bmp", "$rbdir/wps/classic_statusbar");
435 if ($swcodec) { 435 if ($swcodec) {
436 copy("$ROOT/wps/classic_statusbar.sbs", "$rbdir/wps"); 436 if ($depth > 1) {
437 copy("$ROOT/wps/classic_statusbar.sbs", "$rbdir/wps");
438 } else {
439 copy("$ROOT/wps/classic_statusbar.mono.sbs", "$rbdir/wps");
440 }
437 } else { 441 } else {
438 copy("$ROOT/wps/classic_statusbar-hwcodec.sbs", "$rbdir/wps/classic_statusbar.sbs"); 442 copy("$ROOT/wps/classic_statusbar.112x64x1.sbs", "$rbdir/wps/classic_statusbar.sbs");
439 } 443 }
440 system("touch $rbdir/wps/rockbox_none.sbs"); 444 system("touch $rbdir/wps/rockbox_none.sbs");
441 copy("$rbdir/wps/classic_statusbar.sbs", "$rbdir/wps/classic_statusbar.rsbs"); 445 if ($remote_depth != $depth) {
446 copy("$ROOT/wps/classic_statusbar.mono.sbs", "$rbdir/wps/classic_statusbar.rsbs");
447 } else {
448 copy("$rbdir/wps/classic_statusbar.sbs", "$rbdir/wps/classic_statusbar.rsbs");
449 }
442 copy("$rbdir/wps/rockbox_none.sbs", "$rbdir/wps/rockbox_none.rsbs"); 450 copy("$rbdir/wps/rockbox_none.sbs", "$rbdir/wps/rockbox_none.rsbs");
443 451
444 # and the info file 452 # and the info file
diff --git a/wps/classic_statusbar.112x64x1.sbs b/wps/classic_statusbar.112x64x1.sbs
index 53a5dda33e..c5c0ba8042 100644
--- a/wps/classic_statusbar.112x64x1.sbs
+++ b/wps/classic_statusbar.112x64x1.sbs
@@ -5,7 +5,7 @@
5# 5#
6 6
7# specify the UI area viewport... everything but a bar 8 pixels high at the top 7# specify the UI area viewport... everything but a bar 8 pixels high at the top
8%Vi|0|8|-|-|1|-|-| 8%Vi|0|8|-|-|1|
9 9
10############################################################## 10##############################################################
11# Options: 11# Options:
@@ -27,58 +27,57 @@
27# Load some bitmaps 27# Load some bitmaps
28%xl|B|battery.bmp|0|0|10| 28%xl|B|battery.bmp|0|0|10|
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|16|
31 31
32# Enable the correct viewports 32# Enable the correct viewports
33%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds> 33%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds>
34 34
35# Battery area, Icons 35# Battery area, Icons
36%Vl|a|0|0|16|8|0|-|-| 36%Vl|a|0|0|16|8|0|
37%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> 37%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>
38# charging icon 38# charging icon
39%Vl|a|16|0|8|8|0|-|-| 39%Vl|a|16|0|8|8|0|
40%?bc<%xdSa|> 40%?bc<%xdSa|>
41 41
42# battery area, no icons 42# battery area, no icons
43%Vl|b|0|0|-|8|0|-|-| 43%Vl|b|0|0|-|8|0|
44%bl%bc 44%bl%bc
45 45
46# Volume area 46# Volume area
47%Vl|c|27|0|-|8|0|-|-| 47%Vl|c|27|0|-|8|0|
48%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>> 48%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>>
49%Vl|d|27|0|-|8|0|-|-| 49%Vl|d|27|0|-|8|0|
50%pv 50%pv
51 51
52# Icons, all in the same bmp strip, so need to use multiple viewports 52# Icons, all in the same bmp strip, so need to use multiple viewports
53# Playback mode 53# Playback mode
54%Vl|p|46|0|-|8|0|-|-| 54%Vl|p|46|0|-|8|0|
55%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> 55%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
56 56
57# Repeat mode 57# Repeat mode
58%Vl|r|54|0|-|8|0|-|-| 58%Vl|r|54|0|-|8|0|
59%?mm<|%xdSi|%xdSj|%xdSk|%xdSl> 59%?mm<|%xdSi|%xdSj|%xdSk|%xdSl>
60 60
61# Shuffle mode 61# Shuffle mode
62%Vl|s|64|0|-|8|0|-|-| 62%Vl|s|64|0|-|8|0|
63%?ps<%xdSk|> 63%?ps<%xdSk|>
64 64
65 65
66# Recording section 66# Recording section
67%Vl|z|27|0|6|8|0|-|-| 67%Vl|z|27|0|6|8|0|
68 68
69%Vl|z|33|0|18|8|0|-|-| 69%Vl|z|33|0|18|8|0|
70%?Rp<Q%Rb> 70%?Rp<Q%Rb>
71# status icon 71# status icon
72%Vl|z|46|0|8|8|0|-|-| 72%Vl|z|46|0|8|8|0|
73%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> 73%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj>
74# frequency 74# frequency and stereo/mono
75%Vl|z|54|0|-|8|0|-|-| 75%Vl|z|54|0|-|8|0|
76%?Rp<%?Rf<??|44|48|32|22|24|16>> 76%?Rp<%?Rf<??|44|48|32|22|24|16>%?Rm<%xdSm|%xdSn>>
77 77
78# Clock on RTC able targets, and disk access 78# Clock on RTC able targets, and disk access
79%V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits 79%V|-36|0|-6|8|0| # align on the right with room for 6 SYSFONT digits
80%?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|> 80%?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|>
81# disk access "icon" 81# disk access "icon"
82%V|-6|0|-|8|0|-|-| # align on the right with room for 1 SYSFONT digit 82%V|-6|0|-|8|0| # align on the right with room for 1 SYSFONT digit
83%?lh<*|> 83%?lh<*|>
84
diff --git a/wps/classic_statusbar.mono.sbs b/wps/classic_statusbar.mono.sbs
new file mode 100644
index 0000000000..6344726d15
--- /dev/null
+++ b/wps/classic_statusbar.mono.sbs
@@ -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<|%xdSk|%xdSl|%xdSm|%xdSn>
64
65# Shuffle mode
66%Vl|s|64|0|-|8|0|
67%?ps<%xdSm|>
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<*|>