First go at converting the inbuilt statusbar into a skin, right now its only perfect for 176pixel wide displays (and not liked to the build system so you have to copy things yourself if you want it) and needs RTC build.
Whats the easiest way to get this going for all displays/targets without doing 28+ .sbs files? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23376 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd2a4df5f1
commit
f0acf02be7
4 changed files with 36 additions and 0 deletions
36
wps/classic_statusbar.sbs
Normal file
36
wps/classic_statusbar.sbs
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Classic statusbar adapted to skin engine
|
||||
#
|
||||
# Bar at the top.. very easy to change to the bottom
|
||||
#
|
||||
# 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|-|-|
|
||||
%?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>%?bc<%xdSa|>
|
||||
|
||||
# Volume area
|
||||
%V|27|0|-|8|0|-|-|
|
||||
%?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>>
|
||||
|
||||
# Icons, all in the same bmp strip, so need to use multiple viewports
|
||||
# Playback mode
|
||||
%V|44|0|-|8|0|-|-|
|
||||
%?mp<%xdSc|%xdSb|%xdSd|%xdSe|%xdSf>
|
||||
|
||||
# Repeat mode
|
||||
%V|54|0|-|8|0|-|-|
|
||||
%?mm<|%xdSi|%xdSj|%xdSk|%xdSl>
|
||||
|
||||
# Shuffle mode
|
||||
%V|64|0|-|8|0|-|-|
|
||||
%?ps<%xdSk|>
|
||||
|
||||
|
||||
|
||||
# Clock on RTC able targets, and disk access
|
||||
%V|140|0|-|8|0|-|-| # The 140 is (LCD_WIDTH-(6 letters * 6 pixels))
|
||||
%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->%?lh<*|>
|
BIN
wps/classic_statusbar/battery.bmp
Executable file
BIN
wps/classic_statusbar/battery.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
wps/classic_statusbar/status.bmp
Executable file
BIN
wps/classic_statusbar/status.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
wps/classic_statusbar/volume.bmp
Executable file
BIN
wps/classic_statusbar/volume.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
Loading…
Reference in a new issue