[ros-diffs] [jimtabor] 33510: We have Brush Attributes already define in ntgdihdl.h, its a user space structure.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Wed May 14 01:54:20 CEST 2008


Author: jimtabor
Date: Tue May 13 18:54:20 2008
New Revision: 33510

URL: http://svn.reactos.org/svn/reactos?rev=33510&view=rev
Log:
We have Brush Attributes already define in ntgdihdl.h, its a user space structure.

Modified:
    trunk/reactos/subsystems/win32/win32k/include/brush.h

Modified: trunk/reactos/subsystems/win32/win32k/include/brush.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/brush.h?rev=33510&r1=33509&r2=33510&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/brush.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/brush.h [iso-8859-1] Tue May 13 18:54:20 2008
@@ -17,12 +17,6 @@
 
 typedef struct
 {
-   ULONG AttrFlags;
-   COLORREF lbColor;
-} BRUSHATTR, *PBRUSHATTR;
-
-typedef struct
-{
   /* Header for all gdi objects in the handle table.
      Do not (re)move this. */
    BASEOBJECT    BaseObject;
@@ -33,8 +27,8 @@
    ULONG flAttrs;
 
    ULONG ulBrushUnique;
-   BRUSHATTR *pBrushAttr;
-   BRUSHATTR BrushAttr;
+   BRUSH_ATTR *pBrushAttr; // Just like DC_ATTR, pointer to user data
+   BRUSH_ATTR BrushAttr;   // "    "    DCOBJ, internal if pBrushAttr == Zero
    POINT ptOrigin;
    ULONG bCacheGrabbed;
    COLORREF crBack;



More information about the Ros-diffs mailing list