1 | /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86CursorPriv.h,v 1.4tsi Exp $ */
|
---|
2 |
|
---|
3 | #ifdef HAVE_XORG_CONFIG_H
|
---|
4 | #include <xorg-config.h>
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifndef _XF86CURSORPRIV_H
|
---|
8 | #define _XF86CURSORPRIV_H
|
---|
9 |
|
---|
10 | #include "xf86Cursor.h"
|
---|
11 | #include "mipointrst.h"
|
---|
12 |
|
---|
13 | typedef struct {
|
---|
14 | Bool SWCursor;
|
---|
15 | Bool isUp;
|
---|
16 | Bool showTransparent;
|
---|
17 | short HotX;
|
---|
18 | short HotY;
|
---|
19 | short x;
|
---|
20 | short y;
|
---|
21 | CursorPtr CurrentCursor, CursorToRestore;
|
---|
22 | xf86CursorInfoPtr CursorInfoPtr;
|
---|
23 | CloseScreenProcPtr CloseScreen;
|
---|
24 | RecolorCursorProcPtr RecolorCursor;
|
---|
25 | InstallColormapProcPtr InstallColormap;
|
---|
26 | QueryBestSizeProcPtr QueryBestSize;
|
---|
27 | miPointerSpriteFuncPtr spriteFuncs;
|
---|
28 | Bool PalettedCursor;
|
---|
29 | ColormapPtr pInstalledMap;
|
---|
30 | Bool (*SwitchMode)(int, DisplayModePtr,int);
|
---|
31 | xf86EnableDisableFBAccessProc *EnableDisableFBAccess;
|
---|
32 | CursorPtr SavedCursor;
|
---|
33 |
|
---|
34 | /* Number of requests to force HW cursor */
|
---|
35 | int ForceHWCursorCount;
|
---|
36 | Bool HWCursorForced;
|
---|
37 |
|
---|
38 | pointer transparentData;
|
---|
39 | } xf86CursorScreenRec, *xf86CursorScreenPtr;
|
---|
40 |
|
---|
41 | void xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
|
---|
42 | void xf86SetTransparentCursor(ScreenPtr pScreen);
|
---|
43 | void xf86MoveCursor(ScreenPtr pScreen, int x, int y);
|
---|
44 | void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
|
---|
45 | Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
|
---|
46 |
|
---|
47 | CARD32 xf86ReverseBitOrder(CARD32 data);
|
---|
48 |
|
---|
49 | extern int xf86CursorScreenIndex;
|
---|
50 |
|
---|
51 | #endif /* _XF86CURSORPRIV_H */
|
---|