From c074c76211621ab15518649a4a835aeb5798bf29 Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Sat, 28 Nov 2009 16:37:33 +0000 Subject: Make the classic_statusbar.sbs more classic. Icons, position of numbers, charging animation (only tested on a colour display so far), volume as before but gets a 'clipping' icon on targets that allow more than 0dB, add channels indicator in the rec screen. The only difference on swcodec should be the disk activity indicator on flash targets (for now). On hwcodec there are small differences in the recording screen - quality display is simply using the system font (no wasting another bitmap on a slightly less taller Q), frequency uses icons now (keeping the differences between the sbs files smaller and with the small 'k' it's easier to understand, but debateable). Since the animation makes use of the viewport colour (shades) parameters, a classic_statusbar.grey.sbs was needed - reusing the colour one didn't work correctly anyways. The difference between Recorders (RTC) and Ondios (disk activity) is achieved through the 112x64x1.sbs file itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23775 a1c6a512-1295-4272-9138-f99709370657 --- wps/classic_statusbar.mono.sbs | 78 ++++++++++++++++++++++++++---------------- 1 file changed, 48 insertions(+), 30 deletions(-) (limited to 'wps/classic_statusbar.mono.sbs') diff --git a/wps/classic_statusbar.mono.sbs b/wps/classic_statusbar.mono.sbs index b20043d51d..268c6976a8 100644 --- a/wps/classic_statusbar.mono.sbs +++ b/wps/classic_statusbar.mono.sbs @@ -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: @@ -13,74 +13,92 @@ # Just comment out the line for the one you dont want! # comment out the next line if you dont want battery icons - %Vda +%Vda%Vde + # 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 +%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|B|battery.bmp|0|0|16| +%xl|V|volume.bmp|1|0|17| +%xl|S|status.bmp|0|0|15| +%xl|D|access_disk.bmp|0|0| +%xl|y|batter-y.bmp|0|0| -%xl|m|rec_mpegbitrates.bmp|0|0|18| +%xl|m|rec_mpegbitrates.bmp|1|0|18| %xl|f|rec_frequencies.bmp|0|0|12| -%xl|e|rec_encoders.bmp|0|0|4| +%xl|e|rec_encoders.bmp|0|0|3| +%xl|c|rec_channels.bmp|13|0|2| # Enable the correct viewports %?cs<%Vdc%Vdp%Vdr%Vds|%Vdc%Vdp%Vdr%Vds|%Vdz|%Vdc%Vdp%Vdr%Vds> +# Charging animation viewports +%t2%?bc<%Vdx|%Vda>;%t2%Vda + # 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|> +%Vl|a|0|0|17|7|0| +%?bl<%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj|%xdBk|%xdBl|%xdBm|%xdBn|%xdBo> + +# Battery area, viewport with full battery icon for charging animation +%Vl|x|0|0|17|7|0| +%xdBo + +# end of battery symbol (to exclude it from animation) +%Vl|e|17|0|3|7|0| +%xdy + +# usb power or charger icon +%V|20|0|8|8|0| +%?bu<%xdSa|%?bc<%xdSa|%?bp<%xdSo>>> # battery area, no icons -%Vl|b|0|0|-|8|0| -%bl%bc +%Vl|b|0|0|18|8|0| +%ar%bl # 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 +%Vl|c|28|0|19|8|0| +%?mv<%ac%?pv<%pv|%pv| %pv| %pv>|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj|%xdVk|%xdVl|%xdVm|%xdVn|%xdVo|%xdVp|%xdVq>> +%Vl|d|28|0|19|8|0| +%ac%?pv<%pv|%pv| %pv| %pv> # Icons, all in the same bmp strip, so need to use multiple viewports # Playback mode -%Vl|p|46|0|-|8|0| +%Vl|p|47|0|9|8|0| %?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> # Repeat mode -%Vl|r|54|0|-|8|0| +%Vl|r|56|0|9|8|0| %?mm<|%xdSk|%xdSl|%xdSm|%xdSn> # Shuffle mode -%Vl|s|64|0|-|8|0| +%Vl|s|65|0|-|8|0| %?ps<%xdSm|> # Recording section # encoder/mpeg bitrate -%Vl|z|27|0|18|8|0| +%Vl|z|28|0|19|8|0| %?Rp<%?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| +%Vl|z|47|0|8|8|0| %?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf|%xdSg|%xdSh|%xdSi|%xdSj> -# frequency -%Vl|z|54|0|-|8|0| +# frequency and channels +%Vl|z|55|0|-|8|0| %?Rp<%?Rf<%xdfa|%xdfb|%xdfc|%xdfd|%xdfe|%xdff|%xdfg|%xdfh|%xdfi|%xdfj|%xdfk|%xdfl>> +%?Rm<%xdca|%xdcb> # 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|-43|0|31|8|0| # align on the right with room for 5 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<*|> + +# disk access icon +%V|-12|0|-|8|0| +%?lh<%xdD|> -- cgit v1.2.3