README-gesture.txt
changeset 7900 cc2289c332eb
parent 7241 28602f5ca96d
equal deleted inserted replaced
7899:e94abe9c40ca 7900:cc2289c332eb
    32 
    32 
    33 
    33 
    34 
    34 
    35 Saving:
    35 Saving:
    36 -------
    36 -------
    37 To save a template, call SDL_SaveDollarTemplate(gestureId, src) where gestureId is the id of the gesture you want to save, and src is an SDL_RWops pointer to the file where the gesture will be stored.
    37 To save a template, call SDL_SaveDollarTemplate(gestureId, dst) where gestureId is the id of the gesture you want to save, and dst is an SDL_RWops pointer to the file where the gesture will be stored.
    38 
    38 
    39 To save all currently loaded templates, call SDL_SaveAllDollarTemplates(src) where source is an SDL_RWops pointer to the file where the gesture will be stored.
    39 To save all currently loaded templates, call SDL_SaveAllDollarTemplates(dst) where dst is an SDL_RWops pointer to the file where the gesture will be stored.
    40 
    40 
    41 Both functions return the number of gestures successfully saved.
    41 Both functions return the number of gestures successfully saved.
    42 
    42 
    43 
    43 
    44 Loading:
    44 Loading: