All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_touch_c.h File Reference
#include "SDL_config.h"
#include "SDL_touch.h"

Go to the source code of this file.


struct  SDL_Touch


typedef struct SDL_Touch SDL_Touch


int SDL_AddTouch (SDL_TouchID id, const char *name)
void SDL_DelTouch (SDL_TouchID id)
SDL_TouchSDL_GetTouch (SDL_TouchID id)
int SDL_SendTouch (SDL_TouchID id, SDL_FingerID fingerid, SDL_bool down, float x, float y, float pressure)
int SDL_SendTouchMotion (SDL_TouchID id, SDL_FingerID fingerid, float x, float y, float pressure)
int SDL_TouchInit (void)
void SDL_TouchQuit (void)

Typedef Documentation

typedef struct SDL_Touch SDL_Touch

Function Documentation

void SDL_DelTouch ( SDL_TouchID  id)
int SDL_SendTouch ( SDL_TouchID  id,
SDL_FingerID  fingerid,
SDL_bool  down,
float  x,
float  y,
float  pressure 
int SDL_SendTouchMotion ( SDL_TouchID  id,
SDL_FingerID  fingerid,
float  x,
float  y,
float  pressure 
int SDL_TouchInit ( void  )

Definition at line 36 of file SDL_touch.c.

Referenced by SDL_VideoInit().

void SDL_TouchQuit ( void  )

Definition at line 349 of file SDL_touch.c.

References i, NULL, SDL_assert, SDL_DelTouch(), SDL_free(), and SDL_num_touch.

Referenced by SDL_VideoQuit().