Wt
4.11.0
|
A single finger touch of a touch event. More...
#include <WEvent.h>
Public Member Functions | |
Touch (long long identifier, int clientX, int clientY, int documentX, int documentY, int screenX, int screenY, int widgetX, int widgetY) | |
Constructor. | |
Coordinates | document () const |
Returns the touch position relative to the document. | |
Coordinates | window () const |
Returns the touch position relative to the window. | |
Coordinates | screen () const |
Returns the touch position relative to the screen. | |
Coordinates | widget () const |
Returns the touch position relative to the widget. | |
long long | identifier () const |
Returns the identifier for this touch. | |
A single finger touch of a touch event.
Coordinates Wt::Touch::window | ( | ) | const |
Returns the touch position relative to the window.
This differs from document() only when scrolling through the document.