Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
b929f3d6
Commit
b929f3d6
authored
19 years ago
by
Raphael Junqueira
Committed by
Alexandre Julliard
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added support for SHADEBLENDCAPS.
parent
c4569d92
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/x11drv/init.c
+2
-0
2 additions, 0 deletions
dlls/x11drv/init.c
include/wingdi.h
+10
-1
10 additions, 1 deletion
include/wingdi.h
with
12 additions
and
1 deletion
dlls/x11drv/init.c
+
2
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
include/wingdi.h
+
10
−
1
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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment