Wt: Wt::Touch Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Touch Class Reference

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

List of all members.

## 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.
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.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator