Home
last modified time | relevance | path

Searched refs:max_fingers (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_touch.c187 SDL_touchDevices[index]->max_fingers = 0; in SDL_AddTouch()
202 if (touch->num_fingers == touch->max_fingers) { in SDL_AddFinger()
204 …new_fingers = (SDL_Finger **)SDL_realloc(touch->fingers, (touch->max_fingers+1)*sizeof(*touch->fin… in SDL_AddFinger()
209 touch->fingers[touch->max_fingers] = (SDL_Finger *)SDL_malloc(sizeof(*finger)); in SDL_AddFinger()
210 if (!touch->fingers[touch->max_fingers]) { in SDL_AddFinger()
213 touch->max_fingers++; in SDL_AddFinger()
451 for (i = 0; i < touch->max_fingers; ++i) { in SDL_DelTouch()
A DSDL_touch_c.h32 int max_fingers; member

Completed in 4 milliseconds