arsa  2.7
Typedefs | Functions
SDL_gesture.h File Reference
#include "SDL_stdinc.h"
#include "SDL_error.h"
#include "SDL_video.h"
#include "SDL_touch.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Typedefs

typedef Sint64 SDL_GestureID
 

Functions

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

Detailed Description

Include file for SDL gesture event handling.

Definition in file SDL_gesture.h.

Typedef Documentation

◆ SDL_GestureID

Definition at line 44 of file SDL_gesture.h.

Function Documentation

◆ SDL_LoadDollarTemplates()

DECLSPEC int SDLCALL SDL_LoadDollarTemplates ( SDL_TouchID  touchId,
SDL_RWops src 
)

Load Dollar Gesture templates from a file.

◆ SDL_RecordGesture()

DECLSPEC int SDLCALL SDL_RecordGesture ( SDL_TouchID  touchId)

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

◆ SDL_SaveAllDollarTemplates()

DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates ( SDL_RWops dst)

Save all currently loaded Dollar Gesture templates.

◆ SDL_SaveDollarTemplate()

DECLSPEC int SDLCALL SDL_SaveDollarTemplate ( SDL_GestureID  gestureId,
SDL_RWops dst 
)

Save a currently loaded Dollar Gesture template.