e03198972c
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
53 lines
1.5 KiB
C
53 lines
1.5 KiB
C
/* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86CursorPriv.h,v 1.4tsi Exp $ */
|
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
#include <xorg-config.h>
|
|
#endif
|
|
|
|
#ifndef _XF86CURSORPRIV_H
|
|
#define _XF86CURSORPRIV_H
|
|
|
|
#include "xf86Cursor.h"
|
|
#include "mipointrst.h"
|
|
|
|
typedef struct {
|
|
Bool SWCursor;
|
|
Bool isUp;
|
|
Bool showTransparent;
|
|
short HotX;
|
|
short HotY;
|
|
short x;
|
|
short y;
|
|
CursorPtr CurrentCursor, CursorToRestore;
|
|
xf86CursorInfoPtr CursorInfoPtr;
|
|
CloseScreenProcPtr CloseScreen;
|
|
RecolorCursorProcPtr RecolorCursor;
|
|
InstallColormapProcPtr InstallColormap;
|
|
QueryBestSizeProcPtr QueryBestSize;
|
|
miPointerSpriteFuncPtr spriteFuncs;
|
|
Bool PalettedCursor;
|
|
ColormapPtr pInstalledMap;
|
|
Bool (*SwitchMode)(int, DisplayModePtr,int);
|
|
Bool (*EnterVT)(int, int);
|
|
void (*LeaveVT)(int, int);
|
|
int (*SetDGAMode)(int, int, DGADevicePtr);
|
|
|
|
/* Number of requests to force HW cursor */
|
|
int ForceHWCursorCount;
|
|
Bool HWCursorForced;
|
|
|
|
pointer transparentData;
|
|
} xf86CursorScreenRec, *xf86CursorScreenPtr;
|
|
|
|
void xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
|
|
void xf86SetTransparentCursor(ScreenPtr pScreen);
|
|
void xf86MoveCursor(ScreenPtr pScreen, int x, int y);
|
|
void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
|
|
Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
|
|
|
|
CARD32 xf86ReverseBitOrder(CARD32 data);
|
|
|
|
extern int xf86CursorScreenIndex;
|
|
|
|
#endif /* _XF86CURSORPRIV_H */
|