summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-10-28 05:07:49 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-10-28 05:07:49 +0000
commitf0acf02be7141579f32b24f27d49c906e85ec88f (patch)
treea8f694560536bd9c59404f5f3ddf45780addf4d7
parentcd2a4df5f14e91c019ac991632c69f12f9b87b0a (diff)
downloadrockbox-f0acf02be7141579f32b24f27d49c906e85ec88f.tar.gz
rockbox-f0acf02be7141579f32b24f27d49c906e85ec88f.zip
First go at converting the inbuilt statusbar into a skin, right now its only perfect for 176pixel wide displays (and not liked to the build system so you have to copy things yourself if you want it) and needs RTC build.
Whats the easiest way to get this going for all displays/targets without doing 28+ .sbs files? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23376 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--wps/classic_statusbar.sbs36
-rwxr-xr-xwps/classic_statusbar/battery.bmpbin0 -> 3894 bytes
-rwxr-xr-xwps/classic_statusbar/status.bmpbin0 -> 2358 bytes
-rwxr-xr-xwps/classic_statusbar/volume.bmpbin0 -> 3894 bytes
4 files changed, 36 insertions, 0 deletions
diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs
new file mode 100644
index 0000000000..01a092356c
--- /dev/null
+++ b/wps/classic_statusbar.sbs
@@ -0,0 +1,36 @@
1# Classic statusbar adapted to skin engine
2#
3# Bar at the top.. very easy to change to the bottom
4#
5# Load some bitmaps
6%wd # not sure if this is needed for sbs files?
7%xl|B|battery.bmp|0|0|10|
8%xl|V|volume.bmp|0|0|10|
9%xl|S|status.bmp|0|0|12|
10
11# Battery area
12%V|0|0|-|8|0|-|-|
13%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>%?bc<%xdSa|>
14
15# Volume area
16%V|27|0|-|8|0|-|-|
17%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>>
18
19# Icons, all in the same bmp strip, so need to use multiple viewports
20# Playback mode
21%V|44|0|-|8|0|-|-|
22%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf>
23
24# Repeat mode
25%V|54|0|-|8|0|-|-|
26%?mm<|%xdSi|%xdSj|%xdSk|%xdSl>
27
28# Shuffle mode
29%V|64|0|-|8|0|-|-|
30%?ps<%xdSk|>
31
32
33
34# Clock on RTC able targets, and disk access
35%V|140|0|-|8|0|-|-| # The 140 is (LCD_WIDTH-(6 letters * 6 pixels))
36%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->%?lh<*|>
diff --git a/wps/classic_statusbar/battery.bmp b/wps/classic_statusbar/battery.bmp
new file mode 100755
index 0000000000..bfd4fb308e
--- /dev/null
+++ b/wps/classic_statusbar/battery.bmp
Binary files differ
diff --git a/wps/classic_statusbar/status.bmp b/wps/classic_statusbar/status.bmp
new file mode 100755
index 0000000000..c16044a66c
--- /dev/null
+++ b/wps/classic_statusbar/status.bmp
Binary files differ
diff --git a/wps/classic_statusbar/volume.bmp b/wps/classic_statusbar/volume.bmp
new file mode 100755
index 0000000000..238df3c115
--- /dev/null
+++ b/wps/classic_statusbar/volume.bmp
Binary files differ