diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-04-20 01:41:56 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-04-20 01:41:56 +0000 |
commit | 0eb5dc649f34ca136d0160bf5d43961a2c3cea05 (patch) | |
tree | 5082fcd0d0479979a51891e082e742e2cf769266 /wps | |
parent | 88b509b7d258c820f2eeda513524acbf76dcaaf5 (diff) | |
download | rockbox-0eb5dc649f34ca136d0160bf5d43961a2c3cea05.tar.gz rockbox-0eb5dc649f34ca136d0160bf5d43961a2c3cea05.zip |
beginings of a working touchscreen interface for the WPS. 2 new tags:
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome)
%Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags
cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'wps')
-rw-r--r-- | wps/cabbiev2.320x240x16.mrobe500.wps | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/wps/cabbiev2.320x240x16.mrobe500.wps b/wps/cabbiev2.320x240x16.mrobe500.wps new file mode 100644 index 0000000000..222f51bc41 --- /dev/null +++ b/wps/cabbiev2.320x240x16.mrobe500.wps | |||
@@ -0,0 +1,47 @@ | |||
1 | # cabbie 2.0 default | ||
2 | # (C) 2007, Johannes Voggenthaler (Zinc Alloy) | ||
3 | #derived from "cabbie" (C) Yohann Misquitta | ||
4 | %wd | ||
5 | %T|286|207|24|24|play| | ||
6 | %T|0|207|84|24|menu| | ||
7 | %X|wpsbackdrop-320x240x16.bmp| | ||
8 | %xl|A|lock-320x240x16.bmp|91|207|2| | ||
9 | %xl|B|battery-320x240x16.bmp|126|207|10| | ||
10 | %xl|C|volume-320x240x16.bmp|177|207|10| | ||
11 | %xl|D|shuffle-320x240x16.bmp|218|211| | ||
12 | %xl|E|repeat-320x240x16.bmp|261|207|4| | ||
13 | %xl|F|playmode-320x240x16.bmp|286|207|5| | ||
14 | %Cl|16|32|s120|s120| | ||
15 | %pb|pb-320x240x16.bmp|10|162|300|15| | ||
16 | %?mh<%xdAa|%xdAb> | ||
17 | %?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>> | ||
18 | %?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj> | ||
19 | %?ps<%xdD> | ||
20 | %?mm<|%xdEa|%xdEb|%xdEc|%xdEd> | ||
21 | %?mp<%xdFa|%xdFc|%xdFb|%xdFd|%xdFe> | ||
22 | %?C<%Vda%C|%Vdb> | ||
23 | #NowPlaying | ||
24 | |||
25 | %Vl|a|153|30|-|130|1|-|-| | ||
26 | %s%al%?it<%it|%fn> | ||
27 | %s%al%?ia<%ia|%?d2<%d2|(root)>> | ||
28 | %s%al%?id<%id|%?d1<%d1|(root)>> | ||
29 | #%s%al%iy | ||
30 | |||
31 | %s%alNext Track: | ||
32 | %s%al%?It<%It|%Fn> | ||
33 | %s%al%Ia | ||
34 | |||
35 | %Vl|b|0|30|-|130|1|-|-| | ||
36 | %s%ac%?it<%it|%fn> | ||
37 | %s%ac%?ia<%ia|%?d2<%d2|(root)>> | ||
38 | %s%ac%?id<%id|%?d1<%d1|(root)>> | ||
39 | %s%ac%iy | ||
40 | |||
41 | %acNext Track: | ||
42 | %s%ac%?It<%It|%Fn> | ||
43 | %s%ac%Ia | ||
44 | |||
45 | %V|0|180|-|20|1|-|-| | ||
46 | %al %pc%ac%pp of %pe%ar%pr | ||
47 | |||