diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-09 07:10:39 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-09 07:10:39 +0000 |
| commit | 2f3868b87da78b89e163a786616ac3f55c0fc46e (patch) | |
| tree | 27b862065b2f51078c50dbcdcaf78c8820995777 | |
| parent | 6b31dc4337bc6573e91bc55d0f2cf7b2ced5e4d3 (diff) | |
| download | rockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.zip rockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.tar.gz rockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.tar.bz2 rockbox-2f3868b87da78b89e163a786616ac3f55c0fc46e.tar.xz | |
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
| -rw-r--r-- | wps/classic_statusbar.rsbs | 86 | ||||
| -rw-r--r-- | wps/classic_statusbar.sbs | 29 |
2 files changed, 109 insertions, 6 deletions
diff --git a/wps/classic_statusbar.rsbs b/wps/classic_statusbar.rsbs new file mode 100644 index 0000000..505268f --- /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<Q%Rb|%?Re<%xdea|%xdeb|%xdec|%?Rb<%xdma|%xdmb|%xdmc|%xdmd|%xdme|%xdmf|%xdmg|%xdmh|%xdmi|%xdmj|%xdmk|%xdml|%xdmm|%xdmn|%xdmo|%xdmp|%xdmq|%xdmr>>>> +# 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 e1a40be..30dd747 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<Q%Rb|%?Re<%xdea|%xdeb|%xdec|%?Rb<%xdma|%xdmb|%xdmc|%xdmd|%xdme|%xdmf|%xdmg|%xdmh|%xdmi|%xdmj|%xdmk|%xdml|%xdmm|%xdmn|%xdmo|%xdmp|%xdmq|%xdmr>>>> +# 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 |