diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-05 23:43:05 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-05 23:43:05 +0000 |
commit | 814d06b59ca9954ad9caf4fd71ebd4b0bbb25e3b (patch) | |
tree | 1c7a322ea4839a551603cca19ecb81748d4a2545 | |
parent | 9dd48db22c3bea2d8d83afef43bafdb5e0ff166c (diff) | |
download | rockbox-814d06b59ca9954ad9caf4fd71ebd4b0bbb25e3b.tar.gz rockbox-814d06b59ca9954ad9caf4fd71ebd4b0bbb25e3b.zip |
Cabbiev2 320x480 touchscreen support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27731 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | wps/cabbiev2.320x480x16.wps | 88 | ||||
-rw-r--r-- | wps/cabbiev2/ff-320x480x16.bmp | bin | 0 -> 8154 bytes | |||
-rw-r--r-- | wps/cabbiev2/popup-320x480x16.bmp | bin | 0 -> 120826 bytes | |||
-rw-r--r-- | wps/cabbiev2/rew-320x480x16.bmp | bin | 0 -> 8154 bytes | |||
-rw-r--r-- | wps/cabbiev2/wpsbackdrop-320x480x16.bmp | bin | 614454 -> 614454 bytes |
5 files changed, 49 insertions, 39 deletions
diff --git a/wps/cabbiev2.320x480x16.wps b/wps/cabbiev2.320x480x16.wps index 9d7348dc56..12415e07e4 100644 --- a/wps/cabbiev2.320x480x16.wps +++ b/wps/cabbiev2.320x480x16.wps | |||
@@ -1,31 +1,32 @@ | |||
1 | # cabbie 2.0 | 1 | # cabbie 2.0 |
2 | # (C) 2007, Johannes Voggenthaler (Zinc Alloy) | 2 | # (C) 2007, Johannes Voggenthaler (Zinc Alloy) |
3 | # (C) 2010 Thomas Martitz, port to 320x480x16 | 3 | # (C) 2010, Thomas Martitz ported to 320x480 touchscreens |
4 | # derived from "cabbie" (C) Yohann Misquitta | 4 | # derived from "cabbie" (C) Yohann Misquitta |
5 | 5 | ||
6 | # TODO: | 6 | # TODO: |
7 | # * Touch regions | ||
8 | # * images for battery, hold button | 7 | # * images for battery, hold button |
9 | %wd | 8 | %wd |
10 | %X(wpsbackdrop-320x480x16.bmp) | 9 | %X(wpsbackdrop-320x480x16.bmp) |
11 | 10 | ||
12 | #%xl(A,lock-240x320x16.bmp,11,0,2) | 11 | #%xl(A,lock-240x320x16.bmp,11,0,2) |
13 | #%xl(B,battery-240x320x16.bmp,46,0,10) | 12 | #%xl(B,battery-240x320x16.bmp,46,0,10) |
14 | %xl(C,volume-320x480x16.bmp,91,60,10) | 13 | %xl(C,volume-320x480x16.bmp,91,71,10) |
15 | %xl(D,shuffle-320x480x16.bmp,156,65) | 14 | %xl(D,shuffle-320x480x16.bmp,156,76) |
16 | %xl(E,repeat-320x480x16.bmp,231,55,4) | 15 | %xl(E,repeat-320x480x16.bmp,231,66,4) |
17 | %xl(F,playmode-320x480x16.bmp,273,55,5) | 16 | %xl(F,playmode-320x480x16.bmp,273,66,5) |
17 | %xl(G,popup-320x480x16.bmp,0,0) | ||
18 | %xl(H,rew-320x480x16.bmp,0,6) | ||
19 | %xl(I,ff-320x480x16.bmp,45,6) | ||
18 | 20 | ||
19 | %Cl(0,0,180,180,c,c) | 21 | %Cl(0,0,180,180,c,c) |
20 | 22 | ||
21 | %C?<%Vd(a)|%Vd(b)> | 23 | %?C<%Vd(c)%?Tl(1.5)<%Vd(t)%Vd(ffrwd)|%Vd(a)>|%Vd(b)> |
22 | #%T(22,284,199,13,progressbar) | ||
23 | #%T(90,238,60,20,playlist) | ||
24 | %?Tl(2.5)<%Vd(t)|%Vd(u)> | ||
25 | 24 | ||
26 | 25 | ||
27 | # track & next track info - no AA | 26 | # track & next track info - no AA |
28 | %Vl(b,0,50,-,-,-) | 27 | %Vl(b,0,50,-,-,-) |
28 | # tap on current title info for playlist (ie. where albumart would normally be) | ||
29 | %T(70,0,180,180,playlist) | ||
29 | %s%ac%?it<%it|%fn> | 30 | %s%ac%?it<%it|%fn> |
30 | %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>> | 31 | %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>> |
31 | %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>> | 32 | %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>> |
@@ -38,8 +39,10 @@ | |||
38 | %ac%s%?It<%It|%Fn> | 39 | %ac%s%?It<%It|%Fn> |
39 | 40 | ||
40 | # album art viewport | 41 | # album art viewport |
41 | %Vl(a,70,50,180,180,-) | 42 | %Vl(c,70,50,180,180,-) |
42 | %?C<%Cd> | 43 | # tap on the cover art for playlist |
44 | %T(0,0,180,180,playlist) | ||
45 | %Cd | ||
43 | 46 | ||
44 | # current track info - AA | 47 | # current track info - AA |
45 | %Vl(a,0,240,-,-,-) | 48 | %Vl(a,0,240,-,-,-) |
@@ -56,37 +59,44 @@ | |||
56 | %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr | 59 | %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr |
57 | 60 | ||
58 | # progressbar and bottom icons | 61 | # progressbar and bottom icons |
59 | %V(0,371,-,-,-) | 62 | %V(0,360,-,-,-) |
60 | %pb(20,0,280,-,pb-320x480x16.bmp) | 63 | %pb(20,11,280,-,pb-320x480x16.bmp) |
64 | %T(20,0,280,40,progressbar) | ||
61 | 65 | ||
62 | #%?mh<%xd(Aa)|%xd(Ab)> | 66 | #%?mh<%xd(Aa)|%xd(Ab)> |
63 | #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>> | 67 | #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>> |
68 | # volume | ||
64 | %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)> | 69 | %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)> |
70 | %T(91,71,55,50,volume) | ||
71 | # | ||
72 | # shuffle | ||
65 | %?ps<%xd(D)> | 73 | %?ps<%xd(D)> |
74 | %T(156,76,65,50,shuffle) | ||
75 | # | ||
76 | # repeat | ||
66 | %xd(E, %mm, -1) | 77 | %xd(E, %mm, -1) |
78 | %T(231,66,36,50,repmode) | ||
79 | # | ||
80 | # playmode | ||
67 | %xd(F, %mp) | 81 | %xd(F, %mp) |
68 | 82 | %T(273,66,45,50,play) | |
69 | #%T(206,0,24,24,play) | 83 | %T(273,66,45,50,&stop) |
70 | #%T(206,0,24,24,&stop) | 84 | |
71 | #%T(182,0,18,92,repmode) | 85 | # |
72 | #%T(139,0,37,23,shuffle) | 86 | # popup osd menu |
73 | #%T(98,0,33,23,volume) | 87 | # |
74 | 88 | %Vl(t,22,242,277,110,-) | |
75 | #viewport for the touch icons | 89 | %xd(G) |
76 | #%xl(G,browser-320x240x16.bmp,0,0) | 90 | %T(10,10,115,90,browse) |
77 | #%xl(I,pitch-320x240x16.bmp,39,0) | 91 | %T(120,10,73,90,quickscreen) |
78 | #%xl(H,context-320x240x16.bmp,58,0) | 92 | %T(195,10,70,90,contextmenu) |
79 | #%xl(J,quick-320x240x16.bmp,86,0) | 93 | |
80 | #%xl(K,rew-320x240x16.bmp,115,0) | 94 | # |
81 | #%xl(L,ff-320x240x16.bmp,144,0) | 95 | # ff/rewind button |
82 | 96 | # | |
83 | %Vl(t,70,335,-,30,1) | 97 | %Vl(ffrwd,0,422,90,58,-) |
84 | #%xd(G) %xd(H) %xd(I) %xd(J) %xd(K) %xd(L) | 98 | %xd(H)%xd(I) |
85 | #%T(0,0,37,24,browse) | 99 | %T(0,0,40,58,&rwd) |
86 | #%T(39,5,24,24,pitch) | 100 | %T(0,0,40,58,prev) |
87 | #%T(58,0,24,24,contextmenu) | 101 | %T(50,0,40,58,&ffwd) |
88 | #%T(86,0,24,24,quickscreen) | 102 | %T(50,0,40,58,next) |
89 | #%T(115,0,24,23,&rwd) | ||
90 | #%T(144,0,24,23,&ffwd) | ||
91 | #%T(115,0,24,23,prev) | ||
92 | #%T(144,0,24,23,next) | ||
diff --git a/wps/cabbiev2/ff-320x480x16.bmp b/wps/cabbiev2/ff-320x480x16.bmp new file mode 100644 index 0000000000..8578532602 --- /dev/null +++ b/wps/cabbiev2/ff-320x480x16.bmp | |||
Binary files differ | |||
diff --git a/wps/cabbiev2/popup-320x480x16.bmp b/wps/cabbiev2/popup-320x480x16.bmp new file mode 100644 index 0000000000..53c1bfdec6 --- /dev/null +++ b/wps/cabbiev2/popup-320x480x16.bmp | |||
Binary files differ | |||
diff --git a/wps/cabbiev2/rew-320x480x16.bmp b/wps/cabbiev2/rew-320x480x16.bmp new file mode 100644 index 0000000000..06c56b51cf --- /dev/null +++ b/wps/cabbiev2/rew-320x480x16.bmp | |||
Binary files differ | |||
diff --git a/wps/cabbiev2/wpsbackdrop-320x480x16.bmp b/wps/cabbiev2/wpsbackdrop-320x480x16.bmp index 3711f89238..0ca8bed966 100644 --- a/wps/cabbiev2/wpsbackdrop-320x480x16.bmp +++ b/wps/cabbiev2/wpsbackdrop-320x480x16.bmp | |||
Binary files differ | |||