From 2f3868b87da78b89e163a786616ac3f55c0fc46e Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 9 Nov 2009 07:10:39 +0000 Subject: very initial recording sbs support... also remote sbs using the same skin code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23584 a1c6a512-1295-4272-9138-f99709370657 --- wps/classic_statusbar.rsbs | 86 ++++++++++++++++++++++++++++++++++++++++++++++ wps/classic_statusbar.sbs | 29 ++++++++++++---- 2 files changed, 109 insertions(+), 6 deletions(-) create mode 100644 wps/classic_statusbar.rsbs diff --git a/wps/classic_statusbar.rsbs b/wps/classic_statusbar.rsbs new file mode 100644 index 0000000000..505268f831 --- /dev/null +++ b/wps/classic_statusbar.rsbs @@ -0,0 +1,86 @@ +# +# Classic statusbar adapted to skin engine +# +# Bar at the top.. very easy to change to the bottom (change the y positions from 0 to -8 +# + +# specify the UI area viewport... everything but a bar 8 pixels high at the top +%Vi|0|8|-|-|1| + +############################################################## +# Options: +# you can use icons or text for the volume and battery display +# Just comment out the line for the one you dont want! + +# comment out the next line if you dont want battery icons + %Vda +# comment out the next line if you dont want battery number as text +# %Vdb + +# comment out the next line if you dont want volume icons +# %Vdc +# comment out the next line if you dont want volume number as text +# %Vdd + +################################################################ + +# Load some bitmaps +%xl|B|battery.bmp|0|0|10| +%xl|V|volume.bmp|0|0|10| +%xl|S|status.bmp|0|0|14| + +%xl|m|rec_mpegbitrates.bmp|0|0|18| +%xl|f|rec_frequencies.bmp|0|0|12| +%xl|e|rec_encoders.bmp|0|0|4| + +# Enable the correct viewports +%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds> + +# Battery area, Icons +%Vl|a|0|0|16|8|0| +%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> +# charging icon +%Vl|a|16|0|8|8|0| +%?bc<%xdSa|> + +# battery area, no icons +%Vl|b|0|0|-|8|0| +%bl%bc + +# Volume area +%Vl|c|27|0|-|8|0| +%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>> +%Vl|d|27|0|-|8|0| +%pv + +# Icons, all in the same bmp strip, so need to use multiple viewports +# Playback mode +%Vl|p|46|0|-|8|0| +%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> + +# Repeat mode +%Vl|r|54|0|-|8|0| +%?mm<|%xdSi|%xdSj|%xdSk|%xdSl> + +# Shuffle mode +%Vl|s|64|0|-|8|0| +%?ps<%xdSk|> + + +# Recording section +# encoder/mpeg bitrate +%Vl|z|27|0|18|8|0| +%?Rp<%?Rh>>> +# status icon +%Vl|z|46|0|8|8|0| +%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> +# frequency +%Vl|z|54|0|-|8|0| +%?Rp<%?Rf<%xdfa|%xdfb|%xdfc|%xdfd|%xdfe|%xdff|%xdfg|%xdfh|%xdfi|%xdfj|%xdfk|%xdfl>> + +# Clock on RTC able targets, and disk access +%V|-36|0|-6|8|0| # align on the right with room for 6 SYSFONT digits +%?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|> +# disk access "icon" +%V|-6|0|-|8|0| # align on the right with room for 1 SYSFONT digit +%?lh<*|> diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs index e1a40be1e4..30dd747fb6 100644 --- a/wps/classic_statusbar.sbs +++ b/wps/classic_statusbar.sbs @@ -18,7 +18,7 @@ # %Vdb # comment out the next line if you dont want volume icons - %Vdc +# %Vdc # comment out the next line if you dont want volume number as text # %Vdd @@ -29,11 +29,18 @@ %xl|V|volume.bmp|0|0|10| %xl|S|status.bmp|0|0|14| +%xl|m|rec_mpegbitrates.bmp|0|0|18| +%xl|f|rec_frequencies.bmp|0|0|12| +%xl|e|rec_encoders.bmp|0|0|4| + +# Enable the correct viewports +%?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds> + # Battery area, Icons -%Vl|a|0|0|-|8|0|-|-| +%Vl|a|0|0|16|8|0|-|-| %?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> # charging icon -%Vl|a|16|0|-|8|0|-|-| +%Vl|a|16|0|8|8|0|-|-| %?bc<%xdSa|> # battery area, no icons @@ -48,18 +55,28 @@ # Icons, all in the same bmp strip, so need to use multiple viewports # Playback mode -%V|46|0|-|8|0|-|-| +%Vl|p|46|0|-|8|0|-|-| %?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> # Repeat mode -%V|54|0|-|8|0|-|-| +%Vl|r|54|0|-|8|0|-|-| %?mm<|%xdSi|%xdSj|%xdSk|%xdSl> # Shuffle mode -%V|64|0|-|8|0|-|-| +%Vl|s|64|0|-|8|0|-|-| %?ps<%xdSk|> +# Recording section +# encoder/mpeg bitrate +%Vl|z|27|0|18|8|0|-|-| +%?Rp<%?Rh>>> +# status icon +%Vl|z|46|0|8|8|0|-|-| +%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> +# frequency +%Vl|z|54|0|-|8|0|-|-| +%?Rp<%?Rf<%xdfa|%xdfb|%xdfc|%xdfd|%xdfe|%xdff|%xdfg|%xdfh|%xdfi|%xdfj|%xdfk|%xdfl>> # Clock on RTC able targets, and disk access %V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits -- cgit v1.2.3