user32: Introduce a SCROLL_DrawNCScrollBar() to draw scroll bars in non-client area.
commit5541cf32c55a43b6acb5a50afb4b10204a73e479
authorZhiyi Zhang <zzhang@codeweavers.com>
Mon, 5 Jul 2021 12:32:12 +0000 (5 20:32 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 5 Jul 2021 15:40:31 +0000 (5 17:40 +0200)
tree6bd99aa6ed7bb297dd9b7c16488f0906c72f6ad8
parentac6817de54c9c4b12c8de56f20ce45b95be26e6c
user32: Introduce a SCROLL_DrawNCScrollBar() to draw scroll bars in non-client area.

Having a SCROLL_DrawNCScrollBar() in scroll.c enables it to access global variables there. So that
global variables access in SCROLL_DrawScrollBar() can be moved outside of it and
SCROLL_DrawScrollBar() can then be refactored into a function without access to global variables.

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