gesture

gesture.nim

Include file for SDL gesture event handling.

Types

GestureID* = int64

Procs

proc recordGesture*(touchId: TouchID): cint {...}{.cdecl,
    importc: "SDL_RecordGesture", dynlib: SDL2_LIB.}
Begin recording a gesture on the specified touch, or all touches (-1).
proc saveAllDollarTemplates*(dst: ptr RWops): cint {...}{.cdecl,
    importc: "SDL_SaveAllDollarTemplates", dynlib: SDL2_LIB.}
Save all currently loaded Dollar Gesture templates.
proc saveDollarTemplate*(gestureId: GestureID; dst: ptr RWops): cint {...}{.cdecl,
    importc: "SDL_SaveDollarTemplate", dynlib: SDL2_LIB.}
Save a currently loaded Dollar Gesture template.
proc loadDollarTemplates*(touchId: TouchID; src: ptr RWops): cint {...}{.cdecl,
    importc: "SDL_LoadDollarTemplates", dynlib: SDL2_LIB.}
Load Dollar Gesture templates from a file.