minor changes...
* demonstrate how to give options using conditional viewports (some people like text battery and volume!?) * specify the UI area viewport git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23396 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
98a9d9a7a5
commit
9f0cbb5a36
1 changed files with 38 additions and 8 deletions
|
@ -1,23 +1,50 @@
|
|||
#
|
||||
# Classic statusbar adapted to skin engine
|
||||
#
|
||||
# Bar at the top.. very easy to change to the bottom
|
||||
# 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
|
||||
%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|-|-|
|
||||
# Battery area, Icons
|
||||
%Vl|a|0|0|-|8|0|-|-|
|
||||
%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>
|
||||
# charging icon
|
||||
%V|16|0|-|8|0|-|-|
|
||||
%Vl|a|16|0|-|8|0|-|-|
|
||||
%?bc<%xdSa|>
|
||||
|
||||
# battery area, no icons
|
||||
%Vl|b|0|0|-|8|0|-|-|
|
||||
%bl%bc
|
||||
|
||||
# Volume area
|
||||
%V|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|-|-|
|
||||
%pv
|
||||
|
||||
# Icons, all in the same bmp strip, so need to use multiple viewports
|
||||
# Playback mode
|
||||
|
@ -35,5 +62,8 @@
|
|||
|
||||
|
||||
# Clock on RTC able targets, and disk access
|
||||
%V|-36|0|-|8|0|-|-| # align on the right with room for 6 SYSFONT digits
|
||||
%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->%?lh<*|>
|
||||
%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
|
||||
%?mm<*|>
|
||||
|
|
Loading…
Reference in a new issue