VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/xf86CursorPriv.h@ 81245

最後變更 在這個檔案從81245是 43251,由 vboxsync 提交於 12 年 前

Additions/x11: added headers for X.Org Server 1.13.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1
2#ifdef HAVE_XORG_CONFIG_H
3#include <xorg-config.h>
4#endif
5
6#ifndef _XF86CURSORPRIV_H
7#define _XF86CURSORPRIV_H
8
9#include "xf86Cursor.h"
10#include "mipointrst.h"
11
12typedef struct {
13 Bool SWCursor;
14 Bool isUp;
15 Bool showTransparent;
16 short HotX;
17 short HotY;
18 short x;
19 short y;
20 CursorPtr CurrentCursor, CursorToRestore;
21 xf86CursorInfoPtr CursorInfoPtr;
22 CloseScreenProcPtr CloseScreen;
23 RecolorCursorProcPtr RecolorCursor;
24 InstallColormapProcPtr InstallColormap;
25 QueryBestSizeProcPtr QueryBestSize;
26 miPointerSpriteFuncPtr spriteFuncs;
27 Bool PalettedCursor;
28 ColormapPtr pInstalledMap;
29 Bool (*SwitchMode) (ScrnInfoPtr, DisplayModePtr);
30 xf86EnableDisableFBAccessProc *EnableDisableFBAccess;
31 CursorPtr SavedCursor;
32
33 /* Number of requests to force HW cursor */
34 int ForceHWCursorCount;
35 Bool HWCursorForced;
36
37 pointer transparentData;
38} xf86CursorScreenRec, *xf86CursorScreenPtr;
39
40void xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
41void xf86SetTransparentCursor(ScreenPtr pScreen);
42void xf86MoveCursor(ScreenPtr pScreen, int x, int y);
43void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
44Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
45
46extern _X_EXPORT DevPrivateKeyRec xf86CursorScreenKeyRec;
47
48#define xf86CursorScreenKey (&xf86CursorScreenKeyRec)
49
50#endif /* _XF86CURSORPRIV_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette