Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGUIGestureDetector Class Reference

#include <GUIGestureDetector.h>

Classes

struct  PointerState_t
 

Public Types

enum  GestureEventType_t {
  GET_PRIMARY_DOWN , GET_PRIMARY_UP , GET_ADDITIONAL_DOWN , GET_ADDITIONAL_UP ,
  GET_MOVE
}
 
enum  GestureType_t { GT_NONE , GT_SCALE , GT_SCROLL , GT_ROTATE }
 

Static Public Member Functions

static CGUIEventProcessEvent (const GestureEventType_t &eType, const PointerState_t &kPointerState)
 

Detailed Description

this class will create gesture events from multiple input-events

Member Enumeration Documentation

◆ GestureEventType_t

event-types relevant for detecting gestures

Enumerator
GET_PRIMARY_DOWN 

primary pointer down

GET_PRIMARY_UP 

primary pointer up

GET_ADDITIONAL_DOWN 

additional pointer down

GET_ADDITIONAL_UP 

additional pointer up

GET_MOVE 

move of pointer

◆ GestureType_t

detected gesture-type

Enumerator
GT_NONE 

none detected

GT_SCALE 

scaling

GT_SCROLL 

scrolling

GT_ROTATE 

rotation

Member Function Documentation

◆ ProcessEvent()

static CGUIEvent * CGUIGestureDetector::ProcessEvent ( const GestureEventType_t eType,
const PointerState_t kPointerState 
)
static

process a single input-event

Parameters
eTypeevent-type
kPointerStatepointer-state
Returns
valid event or NULL

The documentation for this class was generated from the following file: