diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-21 06:04:19 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-21 06:04:19 +0000 |
commit | a398c2846aa86650aa386a68cb51929477b6aa23 (patch) | |
tree | 4fa695ba8ea3a2b0e0c1f1c1ab5ac9ce27430804 /apps/gui/skin_engine/skin_engine.h | |
parent | 2b0ef19900295ef4e8da0fa52a13a04ccf76cb65 (diff) | |
download | rockbox-a398c2846aa86650aa386a68cb51929477b6aa23.tar.gz rockbox-a398c2846aa86650aa386a68cb51929477b6aa23.zip |
Touchregion support for the Base Skin and FM Skins. display obviously needs to be in stylus mode for this to work. Just about all screens should be mostly useable if your sbs has the next/prev/select/cancel/menu regions defined.
Plenty of room to add new action abilities if they are wanted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r-- | apps/gui/skin_engine/skin_engine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h index 380b854d24..69991ab587 100644 --- a/apps/gui/skin_engine/skin_engine.h +++ b/apps/gui/skin_engine/skin_engine.h | |||
@@ -40,7 +40,8 @@ enum skinnable_screens { | |||
40 | 40 | ||
41 | 41 | ||
42 | #ifdef HAVE_TOUCHSCREEN | 42 | #ifdef HAVE_TOUCHSCREEN |
43 | int wps_get_touchaction(struct wps_data *data); | 43 | int skin_get_touchaction(struct wps_data *data, int* edge_offset); |
44 | void skin_disarm_touchregions(struct wps_data *data); | ||
44 | #endif | 45 | #endif |
45 | 46 | ||
46 | /* Do a update_type update of the skinned screen */ | 47 | /* Do a update_type update of the skinned screen */ |