Commit 58442c1b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

include: Uncomment EMRGRADIENTFILL.

parent d003215a
...@@ -1966,6 +1966,49 @@ typedef struct ...@@ -1966,6 +1966,49 @@ typedef struct
#define STOCK_LAST 19 #define STOCK_LAST 19
#define CLR_INVALID 0xffffffff #define CLR_INVALID 0xffffffff
typedef USHORT COLOR16;
typedef struct _TRIVERTEX
{
LONG x;
LONG y;
COLOR16 Red;
COLOR16 Green;
COLOR16 Blue;
COLOR16 Alpha;
} TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX;
typedef struct _GRADIENT_TRIANGLE
{
ULONG Vertex1;
ULONG Vertex2;
ULONG Vertex3;
} GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE;
typedef struct _GRADIENT_RECT
{
ULONG UpperLeft;
ULONG LowerRight;
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
#define AC_SRC_OVER 0x00
#define AC_SRC_ALPHA 0x01
typedef struct _BLENDFUNCTION
{
BYTE BlendOp;
BYTE BlendFlags;
BYTE SourceConstantAlpha;
BYTE AlphaFormat;
} BLENDFUNCTION, *PBLENDFUNCTION;
#define GRADIENT_FILL_RECT_H 0x00000000
#define GRADIENT_FILL_RECT_V 0x00000001
#define GRADIENT_FILL_TRIANGLE 0x00000002
#define GRADIENT_FILL_OP_FLAG 0x000000ff
/* Metafile header structure */ /* Metafile header structure */
#include <pshpack2.h> #include <pshpack2.h>
typedef struct typedef struct
...@@ -2347,7 +2390,6 @@ typedef struct { ...@@ -2347,7 +2390,6 @@ typedef struct {
BYTE Data[1]; BYTE Data[1];
} EMRGDICOMMENT, *PEMRGDICOMMENT; } EMRGDICOMMENT, *PEMRGDICOMMENT;
#if 0
typedef struct { typedef struct {
EMR emr; EMR emr;
RECTL rclBounds; RECTL rclBounds;
...@@ -2356,7 +2398,6 @@ typedef struct { ...@@ -2356,7 +2398,6 @@ typedef struct {
ULONG ulMode; ULONG ulMode;
TRIVERTEX Ver[1]; TRIVERTEX Ver[1];
} EMRGRADIENTFILL, *PEMRGRADIENTFILL; } EMRGRADIENTFILL, *PEMRGRADIENTFILL;
#endif
typedef struct { typedef struct {
EMR emr; EMR emr;
...@@ -3255,47 +3296,6 @@ DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE) ...@@ -3255,47 +3296,6 @@ DECL_WINELIB_TYPE_AW(LPDISPLAY_DEVICE)
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008 #define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010 #define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
typedef USHORT COLOR16;
typedef struct _TRIVERTEX
{
LONG x;
LONG y;
COLOR16 Red;
COLOR16 Green;
COLOR16 Blue;
COLOR16 Alpha;
} TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX;
typedef struct _GRADIENT_TRIANGLE
{
ULONG Vertex1;
ULONG Vertex2;
ULONG Vertex3;
} GRADIENT_TRIANGLE, *PGRADIENT_TRIANGLE, *LPGRADIENT_TRIANGLE;
typedef struct _GRADIENT_RECT
{
ULONG UpperLeft;
ULONG LowerRight;
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
#define AC_SRC_OVER 0x00
#define AC_SRC_ALPHA 0x01
typedef struct _BLENDFUNCTION
{
BYTE BlendOp;
BYTE BlendFlags;
BYTE SourceConstantAlpha;
BYTE AlphaFormat;
} BLENDFUNCTION, *PBLENDFUNCTION;
#define GRADIENT_FILL_RECT_H 0x00000000
#define GRADIENT_FILL_RECT_V 0x00000001
#define GRADIENT_FILL_TRIANGLE 0x00000002
#define GRADIENT_FILL_OP_FLAG 0x000000ff
#define GDI_ERROR (~0u) #define GDI_ERROR (~0u)
#define HGDI_ERROR ((HANDLE)~(ULONG_PTR)0) #define HGDI_ERROR ((HANDLE)~(ULONG_PTR)0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment