TOOLBAR: TOOLBAR_DrawPattern
Filip Navara
xnavara at volny.cz
Fri Jul 16 15:17:35 CDT 2004
Changelog:
- Make the pattern drawing in TOOLBAR_DrawPattern look better.
Filip Navara, navaraf at reactos.com
-------------- next part --------------
--- dlls/comctl32/toolbar.c 16 Jun 2004 06:46:13 -0000 1.15
+++ dlls/comctl32/toolbar.c 16 Jul 2004 19:17:24 -0000
@@ -634,7 +634,7 @@
INT cy = lpRect->bottom - lpRect->top;
clrTextOld = SetTextColor(hdc, tbcd->clrBtnHighlight);
clrBkOld = SetBkColor(hdc, tbcd->clrBtnFace);
- PatBlt (hdc, lpRect->left, lpRect->top, cx, cy, PATCOPY);
+ PatBlt (hdc, lpRect->left + 2, lpRect->top + 2, cx - 4, cy - 4, PATCOPY);
SetBkColor(hdc, clrBkOld);
SetTextColor(hdc, clrTextOld);
SelectObject (hdc, hbr);
More information about the wine-patches
mailing list