README.gesture
changeset 4693 2ede56a19f2f
parent 4690 baf8195aeb92
child 6987 7084af936d82
equal deleted inserted replaced
4692:61b22e0897b7 4693:2ede56a19f2f
    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, 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.
    38 
    38 
    39 To save all currently loaded templatesm, 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(src) where source is an SDL_RWops pointer to the file where the gesture will be stored.
    40 
    40 
    41 Both functions return the number of gestures sucessfully saved.
    41 Both functions return the number of gestures sucessfully saved.
    42 
    42 
    43 
    43 
    44 Loading:
    44 Loading: