From f0acf02be7141579f32b24f27d49c906e85ec88f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 28 Oct 2009 05:07:49 +0000 Subject: [PATCH] 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 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 new file mode 100755 index 0000000000000000000000000000000000000000..bfd4fb308eedfc3bb99f297befb910b29bf692ca GIT binary patch literal 3894 zcmdUtK@P$o5Jl?=Wa$xHvg!fcn|S}r)UV(COlUj60y}Li`II*>zVLX?*XjGr81Hx! z-WT4>bi;_}x6TR2Wm>v^DSdXWKESwbl@!p+qYx!3ZwW(r_MdZZ=>!=0-f@I~YGEfW z&65YI;8zJ#7{O!n#{F@69RF%tp(;mzQ^6^*+YaS<(24Fp83|ZbAO-MG59z;&@RW&0PwTS<{D5Vz=4RjRUGnjHy=;%?n);sa zHQz1Y%l4L<=hIvBn{K>G*y=NkA_t{YmUdcI{bLg9xR08-RZT-||+SuZ`-D-KxnMOcxPJ`U1 zFQs!j2`A6%Qs|Z$kl!IWk`U$S2S(^MI}P%7DJ5e#qY~mq#cC4{hU#N@3s99KjdeBtoD7 literal 0 HcmV?d00001 diff --git a/wps/classic_statusbar/volume.bmp b/wps/classic_statusbar/volume.bmp new file mode 100755 index 0000000000000000000000000000000000000000..238df3c11521cdd30823e411158d98b09b0d44c0 GIT binary patch literal 3894 zcmd^6+YQ1%3@a1BCnGRH2jCxx{g){bL6+4#E&+ikRK1g%*gju+zRdgS{>-wUWF2H( zW$mV;?D9PN`l0(WE!|gyB4LvVubd+q>dKc-2+?wZ<)hN#M=I16xH})@65OJy+}5zj zCq~$sM9e%%q_X~8u`2FHm{k$S*7N+9|9XXUy4XF!We&r;D%YQjD;2jA3{}FhEm7Ix zTPw(EL2|AoSCX$(i9ffX;^Gij@(fKrK)~%749{h9{iaY2{h3hrXVq3PW&%)24svTa zs;c<^4~HjNA0||-LDl_RwwoqnlC9yWYSS10lJJ;+D^KfZwVZ#LjG+M}m(~9wggP0L Y#8wTJS#f@X&yqZeb~Q#lJUngw8-d>_1poj5 literal 0 HcmV?d00001