summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-10-29 07:33:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-10-29 07:33:09 +0000
commit9f0cbb5a36911493467e31923eb48afd0af21e34 (patch)
tree1683490260b0cbed2d80a9a590b23d03ff5c4e28 /wps
parent98a9d9a7a5aa409bcfe96ed7caa0b085d806aa0e (diff)
downloadrockbox-9f0cbb5a36911493467e31923eb48afd0af21e34.tar.gz
rockbox-9f0cbb5a36911493467e31923eb48afd0af21e34.tar.bz2
rockbox-9f0cbb5a36911493467e31923eb48afd0af21e34.zip
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
Diffstat (limited to 'wps')
-rw-r--r--wps/classic_statusbar.sbs46
1 files changed, 38 insertions, 8 deletions
diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs
index 22fa9e5b87..54c0ffee74 100644
--- a/wps/classic_statusbar.sbs
+++ b/wps/classic_statusbar.sbs
@@ -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<*|>