Gesture Library
recognizer.h
Go to the documentation of this file.
1
#pragma once
2
4
typedef
enum
state
{
5
// Every recognizer is initialized to the null state.
6
RECOGNIZER_STATE_NULL
,
7
// Some recognizers transition to the possible state before formally completing or becoming in-progress.
8
RECOGNIZER_STATE_POSSIBLE
,
9
// Recognizers that have meaningful data while in-progress report this state.
10
RECOGNIZER_STATE_IN_PROGRESS
,
11
// Recognizers that receive touch events inconsistent with their gesture will fail.
12
RECOGNIZER_STATE_FAILED
,
13
// Recognizers complete once all touch events associated with a complete gesture are processed.
14
RECOGNIZER_STATE_COMPLETED
15
}
state_t
;
state_t
enum state state_t
This represents the state of individual gesture recognizers.
state
state
This represents the state of individual gesture recognizers.
Definition:
recognizer.h:4
RECOGNIZER_STATE_IN_PROGRESS
@ RECOGNIZER_STATE_IN_PROGRESS
Definition:
recognizer.h:10
RECOGNIZER_STATE_FAILED
@ RECOGNIZER_STATE_FAILED
Definition:
recognizer.h:12
RECOGNIZER_STATE_NULL
@ RECOGNIZER_STATE_NULL
Definition:
recognizer.h:6
RECOGNIZER_STATE_COMPLETED
@ RECOGNIZER_STATE_COMPLETED
Definition:
recognizer.h:14
RECOGNIZER_STATE_POSSIBLE
@ RECOGNIZER_STATE_POSSIBLE
Definition:
recognizer.h:8
gesturelibrary
include
recognizer.h
Generated by
1.9.1