Gesture Core (Compact 7)
3/12/2014
The gesture core is the GWES code for gestures. It passes touch events to the gesture recognizers, and generates gesture messages when the recognizers recognize a gesture.
The object file for this module is Touchgesture.lib, which is built from source file TouchGesture.cpp in %_WINCEROOT%\Private\Winceos\Coreos\Gwe\Userin\Touchgesture\. The following table describes the Touchgesture.cpp file.
File name | Description |
---|---|
Touchgesture.cpp |
Implements the GestureRecognizer class that gesture.hpp defines. This class has methods to load the recognizers (Init), register built-in gestures (RegisterCoreGestures), register custom gestures (Register_Gesture_I), enable gestures (EnableGesture_I), disable gestures (DisableGestures_I), query gestures (QueryGesture_I), recognize gestures (RecognizeTouch), and others. These functions implement the gesture API that gesture core makes available to recognizers and applications.
Note:
The built-in recognizer also defines a class with the same name as this gesture core class, GestureRecognizer. Do not confuse the two classes.
|