AppBase::OnTouchBegin

AppBase::OnTouchBegin
virtual void OnTouchBegin(unsigned window, unsigned id, const Point<int>& pos, const Point<int>& contact, bool primary);
Description

OnTouchBegin is called to notify application about beginning of a touch event such as a finger placed on the screen.

Parameters
Parameters 
Description 
unsigned window 
_nt_ 
unsigned id 
The Id of the touch event. 
const Point<int>& pos 
The coordinates of the touch relative to the viewport. 
const Point<int>& contact 
The coordinates of the touch relative to the screen. 
bool primary 
Indicates whether the first point of contact is mapped to mouse events.