VirtualBox

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

Last change on this file since 45134 was 45134, checked in by vboxsync, 12 years ago

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

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

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