Evgeniy Boltik complains that EBRUSHOBJ_vInit is necessary because it
has something to do with changing brush color or palette. He's going
to file a bug about it in BZ.
WBR,
Aleksey Bragin.
On Apr 1, 2009, at 5:49 AM, tkreuzer(a)svn.reactos.org wrote:
Author: tkreuzer
Date: Wed Apr 1 05:49:18 2009
New Revision: 40306
URL:
http://svn.reactos.org/svn/reactos?rev=40306&view=rev
Log:
win32k brush update:
- fix EBRUSHOBJ_vSetSolidBrushColor
- Initialize text and background brush in DC_AllocDC
- Update the DCs EBRUSHOBJs on demand
- Use the DCs EBRUSHOBJs for drawing where appropriate
This makes things faster and finally adds support for DC_BRUSH and
DC_PEN
- EBRUSHOBJ_vInit(&dc->eboLine, pbrushPen, dc->rosdc.XlatePen);
-
- EBRUSHOBJ_vInit(&BrushInst, pbrush, DCDest-
>rosdc.XlateBrush);