Touch
-
class
Touch
The Touch class represents the state of a single touch on a multi-touch device.
Public Functions
-
inline bool
operator!=
(Touch const &in_that) const Check if the source Touch is not equivalent to this Touch.
Parameters: in_that – The source Touch to compare to this Touch. Returns: true if the objects are not equivalent, false otherwise.
-
inline bool
operator==
(Touch const &in_that) const Check if the source Touch is equivalent to this Touch.
Parameters: in_that – The source Touch to compare to this Touch. Returns: true if the objects are equivalent, false otherwise.
-
inline
Touch
() The default constructor creates a Touch object with a null TouchID, location at the window origin, and a down state of false.
-
inline
Touch
(TouchID in_id, WindowPoint const &in_location, size_t in_tap_count = 1) This constructor creates a Touch object with a specified TouchID, location and down state.
Parameters:
-
inline bool