Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
de8eca21
Commit
de8eca21
authored
Nov 29, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid including X11/Intrinsic.h.
parent
02d81485
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
bitblt.c
dlls/x11drv/bitblt.c
+1
-2
graphics.c
dlls/x11drv/graphics.c
+2
-3
No files found.
dlls/x11drv/bitblt.c
View file @
de8eca21
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <X11/Intrinsic.h>
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
@@ -1331,7 +1330,7 @@ static BOOL BITBLT_InternalStretchBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT
...
@@ -1331,7 +1330,7 @@ static BOOL BITBLT_InternalStretchBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT
/* Xor is much better when we do not have full colormap. */
/* Xor is much better when we do not have full colormap. */
/* Using white^black ensures that we invert at least black */
/* Using white^black ensures that we invert at least black */
/* and white. */
/* and white. */
Pixel
xor_pix
=
(
WhitePixel
(
gdi_display
,
DefaultScreen
(
gdi_display
)
)
^
unsigned
long
xor_pix
=
(
WhitePixel
(
gdi_display
,
DefaultScreen
(
gdi_display
)
)
^
BlackPixel
(
gdi_display
,
DefaultScreen
(
gdi_display
)
));
BlackPixel
(
gdi_display
,
DefaultScreen
(
gdi_display
)
));
XSetFunction
(
gdi_display
,
physDevDst
->
gc
,
GXxor
);
XSetFunction
(
gdi_display
,
physDevDst
->
gc
,
GXxor
);
XSetForeground
(
gdi_display
,
physDevDst
->
gc
,
xor_pix
);
XSetForeground
(
gdi_display
,
physDevDst
->
gc
,
xor_pix
);
...
...
dlls/x11drv/graphics.c
View file @
de8eca21
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#define PI M_PI
#define PI M_PI
#endif
#endif
#include <string.h>
#include <string.h>
#include <X11/Intrinsic.h>
#include "x11drv.h"
#include "x11drv.h"
#include "x11font.h"
#include "x11font.h"
...
@@ -908,7 +907,7 @@ X11DRV_RoundRect( X11DRV_PDEVICE *physDev, INT left, INT top, INT right,
...
@@ -908,7 +907,7 @@ X11DRV_RoundRect( X11DRV_PDEVICE *physDev, INT left, INT top, INT right,
COLORREF
COLORREF
X11DRV_SetPixel
(
X11DRV_PDEVICE
*
physDev
,
INT
x
,
INT
y
,
COLORREF
color
)
X11DRV_SetPixel
(
X11DRV_PDEVICE
*
physDev
,
INT
x
,
INT
y
,
COLORREF
color
)
{
{
Pixel
pixel
;
unsigned
long
pixel
;
POINT
pt
;
POINT
pt
;
pt
.
x
=
x
;
pt
.
x
=
x
;
...
@@ -1213,7 +1212,7 @@ X11DRV_PolyPolyline( X11DRV_PDEVICE *physDev, const POINT* pt, const DWORD* coun
...
@@ -1213,7 +1212,7 @@ X11DRV_PolyPolyline( X11DRV_PDEVICE *physDev, const POINT* pt, const DWORD* coun
static
void
X11DRV_InternalFloodFill
(
XImage
*
image
,
X11DRV_PDEVICE
*
physDev
,
static
void
X11DRV_InternalFloodFill
(
XImage
*
image
,
X11DRV_PDEVICE
*
physDev
,
int
x
,
int
y
,
int
x
,
int
y
,
int
xOrg
,
int
yOrg
,
int
xOrg
,
int
yOrg
,
Pixel
pixel
,
WORD
fillType
)
unsigned
long
pixel
,
WORD
fillType
)
{
{
int
left
,
right
;
int
left
,
right
;
...
...
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