VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/mipointrst.h@ 46019

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

Additions/x11: more original X server headers.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.0 KB
 
1/*
2 * mipointrst.h
3 *
4 */
5
6
7/*
8
9Copyright 1989, 1998 The Open Group
10
11Permission to use, copy, modify, distribute, and sell this software and its
12documentation for any purpose is hereby granted without fee, provided that
13the above copyright notice appear in all copies and that both that
14copyright notice and this permission notice appear in supporting
15documentation.
16
17The above copyright notice and this permission notice shall be included in
18all copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
24AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
27Except as contained in this notice, the name of The Open Group shall not be
28used in advertising or otherwise to promote the sale, use or other dealings
29in this Software without prior written authorization from The Open Group.
30*/
31
32#include "mipointer.h"
33#include "scrnintstr.h"
34
35typedef struct {
36 ScreenPtr pScreen; /* current screen */
37 ScreenPtr pSpriteScreen;/* screen containing current sprite */
38 CursorPtr pCursor; /* current cursor */
39 CursorPtr pSpriteCursor;/* cursor on screen */
40 BoxRec limits; /* current constraints */
41 Bool confined; /* pointer can't change screens */
42 int x, y; /* hot spot location */
43 int devx, devy; /* sprite position */
44} miPointerRec, *miPointerPtr;
45
46typedef struct {
47 miPointerSpriteFuncPtr spriteFuncs; /* sprite-specific methods */
48 miPointerScreenFuncPtr screenFuncs; /* screen-specific methods */
49 CloseScreenProcPtr CloseScreen;
50 Bool waitForUpdate; /* don't move cursor in SIGIO */
51 Bool showTransparent; /* show empty cursors */
52} miPointerScreenRec, *miPointerScreenPtr;
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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