summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/wps_parser.c5
-rw-r--r--wps/cabbiev2.320x240x16.mrobe500.wps23
-rw-r--r--wps/cabbiev2/browser-320x240x16.bmpbin0 -> 2632 bytes
-rw-r--r--wps/cabbiev2/context-320x240x16.bmpbin0 -> 1896 bytes
-rw-r--r--wps/cabbiev2/ff-320x240x16.bmpbin0 -> 1712 bytes
-rw-r--r--wps/cabbiev2/pitch-320x240x16.bmpbin0 -> 1252 bytes
-rw-r--r--wps/cabbiev2/quick-320x240x16.bmpbin0 -> 1976 bytes
-rw-r--r--wps/cabbiev2/rew-320x240x16.bmpbin0 -> 1712 bytes
8 files changed, 27 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index d8155d71df..70e13e78a7 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -1163,7 +1163,8 @@ static struct touchaction touchactions[] = {
1163 {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, 1163 {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP },
1164 {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT }, 1164 {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT },
1165 {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE }, 1165 {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE },
1166 {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE } 1166 {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE },
1167 {"quickscreen", ACTION_WPS_QUICKSCREEN },{"contextmenu", ACTION_WPS_CONTEXT },
1167}; 1168};
1168static int parse_touchregion(const char *wps_bufptr, 1169static int parse_touchregion(const char *wps_bufptr,
1169 struct wps_token *token, struct wps_data *wps_data) 1170 struct wps_token *token, struct wps_data *wps_data)
@@ -1187,6 +1188,8 @@ static int parse_touchregion(const char *wps_bufptr,
1187 * browse - go back to the file/db browser 1188 * browse - go back to the file/db browser
1188 * shuffle - toggle shuffle mode 1189 * shuffle - toggle shuffle mode
1189 * repmode - cycle the repeat mode 1190 * repmode - cycle the repeat mode
1191 * quickscreen - go into the quickscreen
1192 * contextmenu - open the context menu
1190 */ 1193 */
1191 1194
1192 if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) 1195 if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|'))
diff --git a/wps/cabbiev2.320x240x16.mrobe500.wps b/wps/cabbiev2.320x240x16.mrobe500.wps
index 56613ecfa1..ad66fbb02b 100644
--- a/wps/cabbiev2.320x240x16.mrobe500.wps
+++ b/wps/cabbiev2.320x240x16.mrobe500.wps
@@ -13,6 +13,10 @@
13%xl|D|shuffle-320x240x16.bmp|218|211| 13%xl|D|shuffle-320x240x16.bmp|218|211|
14%xl|E|repeat-320x240x16.bmp|261|207|4| 14%xl|E|repeat-320x240x16.bmp|261|207|4|
15%xl|F|playmode-320x240x16.bmp|286|207|5| 15%xl|F|playmode-320x240x16.bmp|286|207|5|
16
17# toggle the touchscreen button viewport
18%?Tl2.5<%Vdt|%Vdu>
19
16%Cl|16|32|s120|s120| 20%Cl|16|32|s120|s120|
17%pb|pb-320x240x16.bmp|10|162|300|15| 21%pb|pb-320x240x16.bmp|10|162|300|15|
18%?mh<%xdAa|%xdAb> 22%?mh<%xdAa|%xdAb>
@@ -47,3 +51,22 @@
47%V|0|180|-|20|1|-|-| 51%V|0|180|-|20|1|-|-|
48%al %pc%ac%pp of %pe%ar%pr 52%al %pc%ac%pp of %pe%ar%pr
49 53
54#viewport for the touch icons
55%xl|G|browser-320x240x16.bmp|5|5|
56%xl|I|pitch-320x240x16.bmp|50|5|
57%xl|H|context-320x240x16.bmp|80|5|
58%xl|J|quick-320x240x16.bmp|110|5|
59%xl|K|rew-320x240x16.bmp|150|5|
60%xl|L|ff-320x240x16.bmp|175|5|
61
62%Vl|t|0|74|-|30|1|-|-|
63%xdG %xdH %xdI %xdJ %xdK %xdL
64%T|0|5|37|24|browse|
65#%T|50|5|24|24|pitch|
66%T|80|5|24|24|contextmenu|
67%T|110|5|24|24|quickscreen|
68%T|150|5|24|24|prev|
69%T|175|5|24|24|next|
70
71%Vl|u|0|74|-|30|1|-|-|
72#purposly left blank
diff --git a/wps/cabbiev2/browser-320x240x16.bmp b/wps/cabbiev2/browser-320x240x16.bmp
new file mode 100644
index 0000000000..c912784f16
--- /dev/null
+++ b/wps/cabbiev2/browser-320x240x16.bmp
Binary files differ
diff --git a/wps/cabbiev2/context-320x240x16.bmp b/wps/cabbiev2/context-320x240x16.bmp
new file mode 100644
index 0000000000..fc0ad735c4
--- /dev/null
+++ b/wps/cabbiev2/context-320x240x16.bmp
Binary files differ
diff --git a/wps/cabbiev2/ff-320x240x16.bmp b/wps/cabbiev2/ff-320x240x16.bmp
new file mode 100644
index 0000000000..c733da1540
--- /dev/null
+++ b/wps/cabbiev2/ff-320x240x16.bmp
Binary files differ
diff --git a/wps/cabbiev2/pitch-320x240x16.bmp b/wps/cabbiev2/pitch-320x240x16.bmp
new file mode 100644
index 0000000000..4b843783a2
--- /dev/null
+++ b/wps/cabbiev2/pitch-320x240x16.bmp
Binary files differ
diff --git a/wps/cabbiev2/quick-320x240x16.bmp b/wps/cabbiev2/quick-320x240x16.bmp
new file mode 100644
index 0000000000..be723f31a6
--- /dev/null
+++ b/wps/cabbiev2/quick-320x240x16.bmp
Binary files differ
diff --git a/wps/cabbiev2/rew-320x240x16.bmp b/wps/cabbiev2/rew-320x240x16.bmp
new file mode 100644
index 0000000000..00f6aa0825
--- /dev/null
+++ b/wps/cabbiev2/rew-320x240x16.bmp
Binary files differ