[PATCH v3] comctl32: Correctly draw disabled toolbar button which contains 32 bpp bitmap with alpha channel.

Ziqing Hui zhui at codeweavers.com
Mon Mar 30 00:57:56 CDT 2020


Sorry for sending this patch too late. I moved to a new apartment last week and not able to use internet in my new apartment.

v3:
* Move imagelist_has_alpha() declaration to dlls/comctl32/comctl32.h
* Use ImageList_DrawIndirect() to replace ImageList_DrawEx()

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=24784
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
 dlls/comctl32/comctl32.h  |  1 +
 dlls/comctl32/imagelist.c |  5 +++++
 dlls/comctl32/toolbar.c   | 26 ++++++++++++++++++++++----
 3 files changed, 28 insertions(+), 4 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-Correctly-draw-disabled-toolbar-button.patch
Type: text/x-patch
Size: 3061 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200330/1a762069/attachment.bin>


More information about the wine-devel mailing list