user32: Modify SCROLL_MovingThumb outside of SCROLL_DrawMovingThumb().
commitac6817de54c9c4b12c8de56f20ce45b95be26e6c
authorZhiyi Zhang <zzhang@codeweavers.com>
Mon, 5 Jul 2021 12:31:13 +0000 (5 20:31 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 5 Jul 2021 15:40:14 +0000 (5 17:40 +0200)
treec37c9397b74e3ab670e9aeeaccefc75c600a7941
parentd164f0627934b181f8a4c14526226b91829c4872
user32: Modify SCROLL_MovingThumb outside of SCROLL_DrawMovingThumb().

SCROLL_MovingThumb is a global variable. Gradually move it out of scroll bar drawing functions so
that those drawing functions can be refactored in a way that doesn't need access to global variables.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/scroll.c