Touchscreen improvements

This commit is contained in:
elasota
2020-10-14 18:12:02 -04:00
parent 62e234c777
commit e4cddda183
10 changed files with 249 additions and 45 deletions

View File

@@ -19,6 +19,7 @@ struct IGpCursor;
class GpIOStream;
struct GpVOSEvent;
struct GpMouseInputEvent;
struct GpTouchInputEvent;
struct TimeTaggedVOSEvent;
@@ -95,6 +96,8 @@ struct Window
// Convenience method to convert a mouse event to local point
Point MouseToLocal(const GpMouseInputEvent &evt) const;
Point TouchToLocal(const GpTouchInputEvent &evt) const;
// Convenience method that returns a 16-bit precision X/Y
Point GetTopLeftCoord() const;