65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef HAVE_XORG_CONFIG_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <xorg-config.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef _XF86CURSORPRIV_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define _XF86CURSORPRIV_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "xf86Cursor.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "mipointrst.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef struct {
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool SWCursor;
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool isUp;
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool showTransparent;
65fea56f17cd614bc8908264df980a62e1931468vboxsync short HotX;
65fea56f17cd614bc8908264df980a62e1931468vboxsync short HotY;
65fea56f17cd614bc8908264df980a62e1931468vboxsync short x;
65fea56f17cd614bc8908264df980a62e1931468vboxsync short y;
65fea56f17cd614bc8908264df980a62e1931468vboxsync CursorPtr CurrentCursor, CursorToRestore;
65fea56f17cd614bc8908264df980a62e1931468vboxsync xf86CursorInfoPtr CursorInfoPtr;
65fea56f17cd614bc8908264df980a62e1931468vboxsync CloseScreenProcPtr CloseScreen;
65fea56f17cd614bc8908264df980a62e1931468vboxsync RecolorCursorProcPtr RecolorCursor;
65fea56f17cd614bc8908264df980a62e1931468vboxsync InstallColormapProcPtr InstallColormap;
65fea56f17cd614bc8908264df980a62e1931468vboxsync QueryBestSizeProcPtr QueryBestSize;
65fea56f17cd614bc8908264df980a62e1931468vboxsync miPointerSpriteFuncPtr spriteFuncs;
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool PalettedCursor;
65fea56f17cd614bc8908264df980a62e1931468vboxsync ColormapPtr pInstalledMap;
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool (*SwitchMode) (ScrnInfoPtr, DisplayModePtr);
65fea56f17cd614bc8908264df980a62e1931468vboxsync xf86EnableDisableFBAccessProc *EnableDisableFBAccess;
65fea56f17cd614bc8908264df980a62e1931468vboxsync CursorPtr SavedCursor;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync /* Number of requests to force HW cursor */
65fea56f17cd614bc8908264df980a62e1931468vboxsync int ForceHWCursorCount;
65fea56f17cd614bc8908264df980a62e1931468vboxsync Bool HWCursorForced;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync pointer transparentData;
65fea56f17cd614bc8908264df980a62e1931468vboxsync} xf86CursorScreenRec, *xf86CursorScreenPtr;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid xf86SetTransparentCursor(ScreenPtr pScreen);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid xf86MoveCursor(ScreenPtr pScreen, int x, int y);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncBool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT DevPrivateKeyRec xf86CursorScreenKeyRec;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define xf86CursorScreenKey (&xf86CursorScreenKeyRec)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif /* _XF86CURSORPRIV_H */