From 95c25d6d274e932d01fe6b610f95744ea0882ede Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 27 Jul 2009 13:27:38 +0000 Subject: Touchscreen targets: add basic progress bar & volume handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22068 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps_engine/wps_internals.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/gui/wps_engine/wps_internals.h') diff --git a/apps/gui/wps_engine/wps_internals.h b/apps/gui/wps_engine/wps_internals.h index 581763fb9a..ce9b4d3d46 100644 --- a/apps/gui/wps_engine/wps_internals.h +++ b/apps/gui/wps_engine/wps_internals.h @@ -390,6 +390,11 @@ struct touchregion { short int y; /* y-pos */ short int width; /* width */ short int height; /* height */ + enum { + WPS_TOUCHREGION_ACTION, + WPS_TOUCHREGION_SCROLLBAR, + WPS_TOUCHREGION_VOLUME + } type; /* type of touch region */ bool repeat; /* requires the area be held for the action */ int action; /* action this button will return */ }; -- cgit v1.2.3