diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-27 13:27:38 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-27 13:27:38 +0000 |
commit | 95c25d6d274e932d01fe6b610f95744ea0882ede (patch) | |
tree | ec173c220033319dee69791650e01ff8fe4bb87c /apps/gui/wps_engine/wps_internals.h | |
parent | c08a2c7c53fcfc652bf2463986a447120f946b53 (diff) | |
download | rockbox-95c25d6d274e932d01fe6b610f95744ea0882ede.tar.gz rockbox-95c25d6d274e932d01fe6b610f95744ea0882ede.zip |
Touchscreen targets: add basic progress bar & volume handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22068 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_engine/wps_internals.h')
-rw-r--r-- | apps/gui/wps_engine/wps_internals.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 { | |||
390 | short int y; /* y-pos */ | 390 | short int y; /* y-pos */ |
391 | short int width; /* width */ | 391 | short int width; /* width */ |
392 | short int height; /* height */ | 392 | short int height; /* height */ |
393 | enum { | ||
394 | WPS_TOUCHREGION_ACTION, | ||
395 | WPS_TOUCHREGION_SCROLLBAR, | ||
396 | WPS_TOUCHREGION_VOLUME | ||
397 | } type; /* type of touch region */ | ||
393 | bool repeat; /* requires the area be held for the action */ | 398 | bool repeat; /* requires the area be held for the action */ |
394 | int action; /* action this button will return */ | 399 | int action; /* action this button will return */ |
395 | }; | 400 | }; |