diff options
author | JF <jf@codingfield.com> | 2020-03-15 21:01:24 +0100 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-03-15 21:01:24 +0100 |
commit | 8ed6ffaaf8d0ad681c4f84b89e4a72792edb5a8f (patch) | |
tree | 594ce4ca20956b61bd796d8aabb64a1ae78c425e /src/DisplayApp/TouchEvents.h | |
parent | 2c55ab20b4f52d21a04e1d0ee049f7c4ca0196de (diff) |
Add the possibility to the screen to handle a touch gesture.
A default action is taken if the current screen doesn't handle it.
Diffstat (limited to 'src/DisplayApp/TouchEvents.h')
-rw-r--r-- | src/DisplayApp/TouchEvents.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DisplayApp/TouchEvents.h b/src/DisplayApp/TouchEvents.h new file mode 100644 index 00000000..cf2f88dd --- /dev/null +++ b/src/DisplayApp/TouchEvents.h @@ -0,0 +1,8 @@ +#pragma once + +namespace Pinetime { + namespace Applications { + + enum class TouchEvents { None, Tap, SwipeLeft, SwipeRight, SwipeUp, SwipeDown, LongTap, DoubleTap}; + } +}
\ No newline at end of file |