VirtualBox

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

最後變更 在這個檔案從61386是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.5 KB
 
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
13typedef 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 Bool (*EnterVT)(int, int);
32 void (*LeaveVT)(int, int);
33 int (*SetDGAMode)(int, int, DGADevicePtr);
34
35 /* Number of requests to force HW cursor */
36 int ForceHWCursorCount;
37 Bool HWCursorForced;
38
39 pointer transparentData;
40} xf86CursorScreenRec, *xf86CursorScreenPtr;
41
42void xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
43void xf86SetTransparentCursor(ScreenPtr pScreen);
44void xf86MoveCursor(ScreenPtr pScreen, int x, int y);
45void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
46Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
47
48CARD32 xf86ReverseBitOrder(CARD32 data);
49
50extern int xf86CursorScreenIndex;
51
52#endif /* _XF86CURSORPRIV_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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