diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-29 07:33:09 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-29 07:33:09 +0000 |
commit | 9f0cbb5a36911493467e31923eb48afd0af21e34 (patch) | |
tree | 1683490260b0cbed2d80a9a590b23d03ff5c4e28 | |
parent | 98a9d9a7a5aa409bcfe96ed7caa0b085d806aa0e (diff) | |
download | rockbox-9f0cbb5a36911493467e31923eb48afd0af21e34.tar.gz 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
-rw-r--r-- | wps/classic_statusbar.sbs | 46 |
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 @@ | |||
1 | # | ||
1 | # Classic statusbar adapted to skin engine | 2 | # Classic statusbar adapted to skin engine |
2 | # | 3 | # |
3 | # Bar at the top.. very easy to change to the bottom | 4 | # Bar at the top.. very easy to change to the bottom (change the y positions from 0 to -8 |
4 | # | 5 | # |
6 | |||
7 | # specify the UI area viewport... everything but a bar 8 pixels high at the top | ||
8 | %Vi|0|8|-|-|1|-|-| | ||
9 | |||
10 | ############################################################## | ||
11 | # Options: | ||
12 | # you can use icons or text for the volume and battery display | ||
13 | # Just comment out the line for the one you dont want! | ||
14 | |||
15 | # comment out the next line if you dont want battery icons | ||
16 | %Vda | ||
17 | # comment out the next line if you dont want battery number as text | ||
18 | # %Vdb | ||
19 | |||
20 | # comment out the next line if you dont want volume icons | ||
21 | %Vdc | ||
22 | # comment out the next line if you dont want volume number as text | ||
23 | # %Vdd | ||
24 | |||
25 | ################################################################ | ||
26 | |||
5 | # Load some bitmaps | 27 | # Load some bitmaps |
6 | %wd # not sure if this is needed for sbs files? | ||
7 | %xl|B|battery.bmp|0|0|10| | 28 | %xl|B|battery.bmp|0|0|10| |
8 | %xl|V|volume.bmp|0|0|10| | 29 | %xl|V|volume.bmp|0|0|10| |
9 | %xl|S|status.bmp|0|0|12| | 30 | %xl|S|status.bmp|0|0|12| |
10 | 31 | ||
11 | # Battery area | 32 | # Battery area, Icons |
12 | %V|0|0|-|8|0|-|-| | 33 | %Vl|a|0|0|-|8|0|-|-| |
13 | %?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> | 34 | %?bl<%xdBa|%xdBa|%xdBb|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj> |
14 | # charging icon | 35 | # charging icon |
15 | %V|16|0|-|8|0|-|-| | 36 | %Vl|a|16|0|-|8|0|-|-| |
16 | %?bc<%xdSa|> | 37 | %?bc<%xdSa|> |
17 | 38 | ||
39 | # battery area, no icons | ||
40 | %Vl|b|0|0|-|8|0|-|-| | ||
41 | %bl%bc | ||
42 | |||
18 | # Volume area | 43 | # Volume area |
19 | %V|27|0|-|8|0|-|-| | 44 | %Vl|c|27|0|-|8|0|-|-| |
20 | %?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>> | 45 | %?mv<%pv|%?pv<%xdVa|%xdVb|%xdVc|%xdVd|%xdVe|%xdVf|%xdVg|%xdVh|%xdVi|%xdVj>> |
46 | %Vl|d|27|0|-|8|0|-|-| | ||
47 | %pv | ||
21 | 48 | ||
22 | # Icons, all in the same bmp strip, so need to use multiple viewports | 49 | # Icons, all in the same bmp strip, so need to use multiple viewports |
23 | # Playback mode | 50 | # Playback mode |
@@ -35,5 +62,8 @@ | |||
35 | 62 | ||
36 | 63 | ||
37 | # Clock on RTC able targets, and disk access | 64 | # Clock on RTC able targets, and disk access |
38 | %V|-36|0|-|8|0|-|-| # align on the right with room for 6 SYSFONT digits | 65 | %V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits |
39 | %?ca<%?St|time format|<%cH|%cI>:%cM|--:-->%?lh<*|> | 66 | %?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|> |
67 | # disk access "icon" | ||
68 | %V|-6|0|-|8|0|-|-| # align on the right with room for 1 SYSFONT digit | ||
69 | %?mm<*|> | ||