Brush colors

Jon Griffiths jon_p_griffiths at yahoo.com
Thu Oct 7 09:15:51 CDT 2004


Hi,

My app thinks its a neat trick to put extra values in a COLORREFs
unused high bits. Native windows doesn't seem to mind this, so this
patch masks to the relevant r/g/b portion before using the value.
Without this patch the backgrounds of some dialogs don't get drawn.

Cheers,
Jon

   +dlls/gdi/brush.c
    Use only the RGB bits of colors in brushes
    The check against stock brushes was missing the last 2 entries

=====
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

jon_p_griffiths at yahoo.com


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brush_color.diff
Type: text/x-diff
Size: 2042 bytes
Desc: brush_color.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041007/24a76e60/brush_color.bin


More information about the wine-patches mailing list