diff options
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 83e94b6f8d..28697c8b69 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h @@ -182,6 +182,7 @@ struct viewport_colour { }; #ifdef HAVE_TOUCHSCREEN struct touchregion { + char* label; /* label to identify this region */ struct skin_viewport* wvp;/* The viewport this region is in */ short int x; /* x-pos */ short int y; /* y-pos */ @@ -201,6 +202,12 @@ struct touchregion { void* data; int value; }; + long last_press; /* last tick this was pressed */ +}; + +struct touchregion_lastpress { + struct touchregion *region; + long timeout; }; #endif |