Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b929f3d6
Commit
b929f3d6
authored
Nov 10, 2005
by
Raphael Junqueira
Committed by
Alexandre Julliard
Nov 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for SHADEBLENDCAPS.
parent
c4569d92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
init.c
dlls/x11drv/init.c
+2
-0
wingdi.h
include/wingdi.h
+10
-1
No files found.
dlls/x11drv/init.c
View file @
b929f3d6
...
...
@@ -227,6 +227,8 @@ INT X11DRV_GetDeviceCaps( X11DRV_PDEVICE *physDev, INT cap )
return
(
RC_BITBLT
|
RC_BANDING
|
RC_SCALING
|
RC_BITMAP64
|
RC_DI_BITMAP
|
RC_DIBTODEV
|
RC_BIGFONT
|
RC_STRETCHBLT
|
RC_STRETCHDIB
|
RC_DEVBITS
|
(
palette_size
?
RC_PALETTE
:
0
));
case
SHADEBLENDCAPS
:
return
(
SB_GRAD_RECT
|
SB_GRAD_TRI
|
SB_CONST_ALPHA
|
SB_PIXEL_ALPHA
);
case
ASPECTX
:
case
ASPECTY
:
return
36
;
...
...
include/wingdi.h
View file @
b929f3d6
...
...
@@ -1635,6 +1635,8 @@ typedef struct tagEXTLOGPEN
#define DESKTOPVERTRES 117
#define DESKTOPHORZRES 118
#define BTLALIGNMENT 119
#define SHADEBLENDCAPS 120
#define COLORMGMTCAPS 121
/* TECHNOLOGY */
#define DT_PLOTTER 0
...
...
@@ -1725,7 +1727,6 @@ typedef struct tagEXTLOGPEN
#define RC_DEVBITS 0x8000
/* CAPS1 */
#define C1_TRANSPARENT 0x0001
#define TC_TT_ABLE 0x0002
#define C1_TT_CR_ANY 0x0004
...
...
@@ -1740,6 +1741,14 @@ typedef struct tagEXTLOGPEN
#define C1_CMYK_ABLE 0x1000
#define C1_SLOW_CARD 0x2000
/* SHADEBLENDCAPS */
#define SB_NONE 0x0000
#define SB_CONST_ALPHA 0x0001
#define SB_PIXEL_ALPHA 0x0002
#define SB_PREMULT_ALPHA 0x0004
#define SB_GRAD_RECT 0x0010
#define SB_GRAD_TRI 0x0020
/* Device-independent bitmaps */
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment