Home | History | Annotate | Download | only in SDL

Lines Matching full:callback

54 /** Function prototype for the timer callback function */
58 * Set a callback to run after the specified number of milliseconds has
59 * elapsed. The callback function is passed the current timer interval
62 * new alarm is scheduled. If the callback returns 0, the periodic alarm
67 * The timer callback function may run in a different thread than your
71 * you request a 16 ms timer, your callback will run approximately 20 ms
86 extern DECLSPEC int SDLCALL SDL_SetTimer(Uint32 interval, SDL_TimerCallback callback);
95 * Function prototype for the new timer callback function.
96 * The callback function is passed the current timer interval and returns
99 * scheduled. If the callback returns 0, the periodic alarm is cancelled.
109 extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, void *param);