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.
7  // Some recognizers transition to the possible state before formally completing or becoming in-progress.
9  // Recognizers that have meaningful data while in-progress report this state.
11  // Recognizers that receive touch events inconsistent with their gesture will fail.
13  // Recognizers complete once all touch events associated with a complete gesture are processed.
enum state state_t
This represents the state of individual gesture recognizers.
state
This represents the state of individual gesture recognizers.
Definition: recognizer.h:4
@ RECOGNIZER_STATE_IN_PROGRESS
Definition: recognizer.h:10
@ RECOGNIZER_STATE_FAILED
Definition: recognizer.h:12
@ RECOGNIZER_STATE_NULL
Definition: recognizer.h:6
@ RECOGNIZER_STATE_COMPLETED
Definition: recognizer.h:14
@ RECOGNIZER_STATE_POSSIBLE
Definition: recognizer.h:8