SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_gesture.h File Reference

SDL_gesture.h File Reference

Include file for SDL gesture event handling. More...

Go to the source code of this file.

Functions

DECLSPEC int SDLCALL SDL_RecordGesture (SDL_TouchID touchId)
 Begin Recording a gesture on the specified touch, or all touches (-1)
DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates (SDL_RWops *dst)
 Save all currently loaded Dollar Gesture templates.
DECLSPEC int SDLCALL SDL_SaveDollarTemplate (SDL_GestureID gestureId, SDL_RWops *dst)
 Save a currently loaded Dollar Gesture template.
DECLSPEC int SDLCALL SDL_LoadDollarTemplates (SDL_TouchID touchId, SDL_RWops *src)
 Load Dollar Gesture templates from a file.

Detailed Description

Include file for SDL gesture event handling.

Definition in file SDL_gesture.h.


Function Documentation

DECLSPEC int SDLCALL SDL_LoadDollarTemplates ( SDL_TouchID  touchId,
SDL_RWops src 
)

Load Dollar Gesture templates from a file.

DECLSPEC int SDLCALL SDL_RecordGesture ( SDL_TouchID  touchId )

Begin Recording a gesture on the specified touch, or all touches (-1)

DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates ( SDL_RWops dst )

Save all currently loaded Dollar Gesture templates.

DECLSPEC int SDLCALL SDL_SaveDollarTemplate ( SDL_GestureID  gestureId,
SDL_RWops dst 
)

Save a currently loaded Dollar Gesture template.