mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Touchscreen improvements
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user