2 #ifdef HAVE_XORG_CONFIG_H
3 #include <xorg-config.h>
6 #ifndef _XF86CURSORPRIV_H
7 #define _XF86CURSORPRIV_H
9 #include "xf86Cursor.h"
10 #include "mipointrst.h"
20 CursorPtr CurrentCursor
, CursorToRestore
;
21 xf86CursorInfoPtr CursorInfoPtr
;
22 CloseScreenProcPtr CloseScreen
;
23 RecolorCursorProcPtr RecolorCursor
;
24 InstallColormapProcPtr InstallColormap
;
25 QueryBestSizeProcPtr QueryBestSize
;
26 miPointerSpriteFuncPtr spriteFuncs
;
28 ColormapPtr pInstalledMap
;
29 Bool (*SwitchMode
)(int, DisplayModePtr
,int);
30 xf86EnableDisableFBAccessProc
*EnableDisableFBAccess
;
31 CursorPtr SavedCursor
;
33 /* Number of requests to force HW cursor */
34 int ForceHWCursorCount
;
37 pointer transparentData
;
38 } xf86CursorScreenRec
, *xf86CursorScreenPtr
;
40 void xf86SetCursor(ScreenPtr pScreen
, CursorPtr pCurs
, int x
, int y
);
41 void xf86SetTransparentCursor(ScreenPtr pScreen
);
42 void xf86MoveCursor(ScreenPtr pScreen
, int x
, int y
);
43 void xf86RecolorCursor(ScreenPtr pScreen
, CursorPtr pCurs
, Bool displayed
);
44 Bool
xf86InitHardwareCursor(ScreenPtr pScreen
, xf86CursorInfoPtr infoPtr
);
46 CARD32
xf86ReverseBitOrder(CARD32 data
);
48 extern int xf86CursorScreenIndex
;
50 #endif /* _XF86CURSORPRIV_H */