Avoid including X11/Intrinsic.h.

This commit is contained in:
Alexandre Julliard 2005-11-29 10:46:03 +01:00
parent 02d814852d
commit de8eca2166
2 changed files with 4 additions and 6 deletions

View File

@ -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,8 +1330,8 @@ 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);
XSetFillStyle( gdi_display, physDevDst->gc, FillSolid ); XSetFillStyle( gdi_display, physDevDst->gc, FillSolid );

View File

@ -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,
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
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;