From a664dec07f894c88105c356816b49cac244ad319 Mon Sep 17 00:00:00 2001 From: JF Date: Fri, 21 Aug 2020 11:55:59 +0200 Subject: Add paint application. --- src/DisplayApp/Screens/Screen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/DisplayApp/Screens/Screen.h') diff --git a/src/DisplayApp/Screens/Screen.h b/src/DisplayApp/Screens/Screen.h index d8902317..dbf81a44 100644 --- a/src/DisplayApp/Screens/Screen.h +++ b/src/DisplayApp/Screens/Screen.h @@ -1,4 +1,6 @@ #pragma once + +#include #include "../TouchEvents.h" namespace Pinetime { @@ -18,6 +20,7 @@ namespace Pinetime { // Return false if the event hasn't been handled by the app, true if it has been handled virtual bool OnTouchEvent(TouchEvents event) { return false; } + virtual bool OnTouchEvent(uint16_t x, uint16_t y) { return false; } protected: DisplayApp* app; -- cgit v1.2.3