Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c311 …SDL_MouseClickState *clickstate = (SDL_MouseClickState *)SDL_realloc(mouse->clickstate, count * si… local
312 if (!clickstate) {
315 mouse->clickstate = clickstate;
318 SDL_zero(mouse->clickstate[i]);
322 return &mouse->clickstate[button];
360 SDL_MouseClickState *clickstate = GetMouseClickState(mouse, button); local
361 if (clickstate) {
365 if (SDL_TICKS_PASSED(now, clickstate->last_timestamp + SDL_double_click_time) ||
366 SDL_abs(mouse->x - clickstate->last_x) > SDL_double_click_radius ||
367 SDL_abs(mouse->y - clickstate->last_y) > SDL_double_click_radius) {
[all …]
DSDL_mouse_c.h89 SDL_MouseClickState *clickstate; member