diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-28 05:07:49 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-28 05:07:49 +0000 |
commit | f0acf02be7141579f32b24f27d49c906e85ec88f (patch) | |
tree | a8f694560536bd9c59404f5f3ddf45780addf4d7 | |
parent | cd2a4df5f14e91c019ac991632c69f12f9b87b0a (diff) |
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.sbs | 36 | ||||
-rwxr-xr-x | wps/classic_statusbar/battery.bmp | bin | 0 -> 3894 bytes | |||
-rwxr-xr-x | wps/classic_statusbar/status.bmp | bin | 0 -> 2358 bytes | |||
-rwxr-xr-x | wps/classic_statusbar/volume.bmp | bin | 0 -> 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 @@ +# Classic statusbar adapted to skin engine +# +# Bar at the top.. very easy to change to the bottom +# +# Load some bitmaps +%wd # not sure if this is needed for sbs files? +%xl|B|battery.bmp|0|0|10| +%xl|V|volume.bmp|0|0|10| +%xl|S|status.bmp|0|0|12| + +# Battery area +%V|0|0|-|8|0|-|-| +%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>%?bc<%xdSa|> + +# Volume area +%V|27|0|-|8|0|-|-| +%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>> + +# Icons, all in the same bmp strip, so need to use multiple viewports +# Playback mode +%V|44|0|-|8|0|-|-| +%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf> + +# Repeat mode +%V|54|0|-|8|0|-|-| +%?mm<|%xdSi|%xdSj|%xdSk|%xdSl> + +# Shuffle mode +%V|64|0|-|8|0|-|-| +%?ps<%xdSk|> + + + +# Clock on RTC able targets, and disk access +%V|140|0|-|8|0|-|-| # The 140 is (LCD_WIDTH-(6 letters * 6 pixels)) +%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->%?lh<*|> diff --git a/wps/classic_statusbar/battery.bmp b/wps/classic_statusbar/battery.bmp Binary files differnew file mode 100755 index 0000000000..bfd4fb308e --- /dev/null +++ b/wps/classic_statusbar/battery.bmp diff --git a/wps/classic_statusbar/status.bmp b/wps/classic_statusbar/status.bmp Binary files differnew file mode 100755 index 0000000000..c16044a66c --- /dev/null +++ b/wps/classic_statusbar/status.bmp diff --git a/wps/classic_statusbar/volume.bmp b/wps/classic_statusbar/volume.bmp Binary files differnew file mode 100755 index 0000000000..238df3c115 --- /dev/null +++ b/wps/classic_statusbar/volume.bmp |