Zhiyi Zhang : user32: Pass a scroll bar tracking info parameter to SCROLL_DrawScrollBar().

Alexandre Julliard julliard at winehq.org
Tue Jul 6 18:09:34 CDT 2021


Module: wine
Branch: master
Commit: b2184e7bff9c33f35ab46f7cb8a93968ceefa67f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b2184e7bff9c33f35ab46f7cb8a93968ceefa67f

Author: Zhiyi Zhang <zzhang at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=b2184e7bff9c33f35ab46f7cb8a93968ceefa67f



More information about the wine-cvs mailing list