From f0acf02be7141579f32b24f27d49c906e85ec88f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 28 Oct 2009 05:07:49 +0000 Subject: 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 --- wps/classic_statusbar.sbs | 36 ++++++++++++++++++++++++++++++++++++ wps/classic_statusbar/battery.bmp | Bin 0 -> 3894 bytes wps/classic_statusbar/status.bmp | Bin 0 -> 2358 bytes wps/classic_statusbar/volume.bmp | Bin 0 -> 3894 bytes 4 files changed, 36 insertions(+) create mode 100644 wps/classic_statusbar.sbs create mode 100755 wps/classic_statusbar/battery.bmp create mode 100755 wps/classic_statusbar/status.bmp create mode 100755 wps/classic_statusbar/volume.bmp diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs new file mode 100644 index 0000000..01a0923 --- /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 new file mode 100755 index 0000000..bfd4fb3 Binary files /dev/null and b/wps/classic_statusbar/battery.bmp differ diff --git a/wps/classic_statusbar/status.bmp b/wps/classic_statusbar/status.bmp new file mode 100755 index 0000000..c16044a Binary files /dev/null and b/wps/classic_statusbar/status.bmp differ diff --git a/wps/classic_statusbar/volume.bmp b/wps/classic_statusbar/volume.bmp new file mode 100755 index 0000000..238df3c Binary files /dev/null and b/wps/classic_statusbar/volume.bmp differ -- cgit v1.1