Brush colors

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


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.


    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

Do you Yahoo!?
Declare Yourself - Register online to vote today!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brush_color.diff
Type: text/x-diff
Size: 2042 bytes
Desc: brush_color.diff
Url :

More information about the wine-patches mailing list