From 40ecf77c35a1f8d7e9e2b7010df1139667ff8c92 Mon Sep 17 00:00:00 2001 From: jdgordon Date: Mon, 9 Nov 2009 07:10:39 +0000 Subject: [PATCH] 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 --- ...lassic_statusbar.sbs => classic_statusbar.rsbs} | 41 +++++++++++++++------- wps/classic_statusbar.sbs | 29 +++++++++++---- 2 files changed, 52 insertions(+), 18 deletions(-) copy wps/{classic_statusbar.sbs => classic_statusbar.rsbs} (61%) diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.rsbs similarity index 61% copy from wps/classic_statusbar.sbs copy to wps/classic_statusbar.rsbs index e1a40be1e..505268f83 100644 --- a/wps/classic_statusbar.sbs +++ b/wps/classic_statusbar.rsbs @@ -5,7 +5,7 @@ # # specify the UI area viewport... everything but a bar 8 pixels high at the top -%Vi|0|8|-|-|1|-|-| +%Vi|0|8|-|-|1| ############################################################## # Options: @@ -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,41 +29,58 @@ %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 -%Vl|b|0|0|-|8|0|-|-| +%Vl|b|0|0|-|8|0| %bl%bc # Volume area -%Vl|c|27|0|-|8|0|-|-| +%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|-|-| +%Vl|d|27|0|-|8|0| %pv # 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 +%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 +%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 e1a40be1e..30dd747fb 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 -- 2.11.4.GIT