Zhiyi Zhang : light.msstyles: Fill checkbox background with white pixels.

Alexandre Julliard julliard at winehq.org
Fri Feb 11 14:33:58 CST 2022


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

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Feb 11 15:14:43 2022 +0800

light.msstyles: Fill checkbox background with white pixels.

Some window procedures don't actually erase background when WM_ERASEBKGND is received. So when drawing
transparent buttons on such windows, there may be left over content from buttons of different states.
This commit adds a white background to all the button parts that shouldn't be transparent.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52433
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/light.msstyles/blue_checkbox_13px.bmp | Bin 8250 -> 8250 bytes
 dlls/light.msstyles/blue_checkbox_13px.svg |  18 +++++++-----------
 dlls/light.msstyles/blue_checkbox_16px.bmp | Bin 12426 -> 12426 bytes
 dlls/light.msstyles/blue_checkbox_16px.svg |  12 +++++-------
 dlls/light.msstyles/blue_checkbox_19px.bmp | Bin 17466 -> 17466 bytes
 dlls/light.msstyles/blue_checkbox_19px.svg |   2 +-
 dlls/light.msstyles/blue_checkbox_22px.bmp | Bin 23370 -> 23370 bytes
 dlls/light.msstyles/blue_checkbox_22px.svg |   2 +-
 dlls/light.msstyles/blue_checkbox_25px.bmp | Bin 30138 -> 30138 bytes
 dlls/light.msstyles/blue_checkbox_25px.svg |  18 +++++++-----------
 dlls/light.msstyles/blue_checkbox_28px.bmp | Bin 37770 -> 37770 bytes
 dlls/light.msstyles/blue_checkbox_28px.svg |  10 +++++-----
 dlls/light.msstyles/blue_checkbox_31px.bmp | Bin 46266 -> 46266 bytes
 dlls/light.msstyles/blue_checkbox_31px.svg |  26 ++++++++++----------------
 14 files changed, 36 insertions(+), 52 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=03e7ad417d0eb16fd77ea91cbff8ad786ef9c2e0



More information about the wine-cvs mailing list