Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsevents.c546 static short s_AccumulatedMotion; in WIN_WindowProc() local
548 s_AccumulatedMotion += GET_WHEEL_DELTA_WPARAM(wParam); in WIN_WindowProc()
549 if (s_AccumulatedMotion > 0) { in WIN_WindowProc()
550 while (s_AccumulatedMotion >= WHEEL_DELTA) { in WIN_WindowProc()
552 s_AccumulatedMotion -= WHEEL_DELTA; in WIN_WindowProc()
555 while (s_AccumulatedMotion <= -WHEEL_DELTA) { in WIN_WindowProc()
557 s_AccumulatedMotion += WHEEL_DELTA; in WIN_WindowProc()
565 static short s_AccumulatedMotion; in WIN_WindowProc() local
567 s_AccumulatedMotion += GET_WHEEL_DELTA_WPARAM(wParam); in WIN_WindowProc()
568 if (s_AccumulatedMotion > 0) { in WIN_WindowProc()
[all …]