Wt  3.3.8
Public Member Functions | List of all members
Wt::Touch Class Reference

A single finger touch of a touch event. More...

Public Member Functions

 Touch (unsigned 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. More...
 
Coordinates screen () const
 Returns the touch position relative to the screen.
 
Coordinates widget () const
 Returns the touch position relative to the widget.
 

Detailed Description

A single finger touch of a touch event.

See also
WTouchEvent

Member Function Documentation

Coordinates Wt::Touch::window ( ) const

Returns the touch position relative to the window.

This differs from document() only when scrolling through the document.


Generated on Mon Sep 4 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11