[PATCH] comctl32/toolbar: Correctly draw disabled toolbar button which contains 32 bpp bitmap with alpha channel.
zhui at codeweavers.com
Tue Mar 10 01:21:03 CDT 2020
According to my tests, on v6 comctl32, here is the disabled toolbar button appearance in different situation:
* 32bpp with alpha channel: Grayscale (This is not supported before v6)
* 32bpp without alpha channel ("without alpha channel" means each pixel's alpha value is set to 0): Solid color
* not 32bpp (maybe 24bpp, 16bpp etc.): Solid color
This patch handle the first situation for wine.
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
dlls/comctl32/toolbar.c | 37 ++++++++++++++++++++++++++++++++-----
1 file changed, 32 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2844 bytes
Desc: not available
More information about the wine-devel