Zhiyi Zhang : user32: Pass a scroll bar tracking info parameter to SCROLL_DrawScrollBar().
Module: wine Branch: master Commit: b2184e7bff9c33f35ab46f7cb8a93968ceefa67f URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2184e7bff9c33f35ab46f7cb... Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Tue Jul 6 15:07:39 2021 +0800 user32: Pass a scroll bar tracking info parameter to SCROLL_DrawScrollBar(). Pack all scroll bar tracking information in a struct and pass that struct as a parameter to SCROLL_DrawScrollBar() instead of using global variables. Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/controls.h | 14 +++++- dlls/user32/scroll.c | 121 +++++++++++++++++++++++-------------------------- 2 files changed, 70 insertions(+), 65 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=b2184e7bff9c33f35ab46...
participants (1)
-
Alexandre Julliard