VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/xorg/mipointrst.h@ 18709

Last change on this file since 18709 was 17236, checked in by vboxsync, 16 years ago

Additions/x11/x11include: blast! Reverted r43555 and r43556

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1/*
2 * mipointrst.h
3 *
4 */
5
6/* $Xorg: mipointrst.h,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */
7
8/*
9
10Copyright 1989, 1998 The Open Group
11
12Permission to use, copy, modify, distribute, and sell this software and its
13documentation for any purpose is hereby granted without fee, provided that
14the above copyright notice appear in all copies and that both that
15copyright notice and this permission notice appear in supporting
16documentation.
17
18The above copyright notice and this permission notice shall be included in
19all copies or substantial portions of the Software.
20
21THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28Except as contained in this notice, the name of The Open Group shall not be
29used in advertising or otherwise to promote the sale, use or other dealings
30in this Software without prior written authorization from The Open Group.
31*/
32/* $XFree86: xc/programs/Xserver/mi/mipointrst.h,v 1.3 2001/04/19 14:14:07 tsi Exp $ */
33
34#include "mipointer.h"
35#include "scrnintstr.h"
36
37#define MOTION_SIZE 256
38
39typedef struct {
40 xTimecoord event;
41 ScreenPtr pScreen;
42} miHistoryRec, *miHistoryPtr;
43
44typedef struct {
45 ScreenPtr pScreen; /* current screen */
46 ScreenPtr pSpriteScreen;/* screen containing current sprite */
47 CursorPtr pCursor; /* current cursor */
48 CursorPtr pSpriteCursor;/* cursor on screen */
49 BoxRec limits; /* current constraints */
50 Bool confined; /* pointer can't change screens */
51 int x, y; /* hot spot location */
52 int devx, devy; /* sprite position */
53 DevicePtr pPointer; /* pointer device structure */
54 miHistoryRec history[MOTION_SIZE];
55 int history_start, history_end;
56} miPointerRec, *miPointerPtr;
57
58typedef struct {
59 miPointerSpriteFuncPtr spriteFuncs; /* sprite-specific methods */
60 miPointerScreenFuncPtr screenFuncs; /* screen-specific methods */
61 CloseScreenProcPtr CloseScreen;
62 Bool waitForUpdate; /* don't move cursor in SIGIO */
63 Bool showTransparent; /* show empty cursors */
64} miPointerScreenRec, *miPointerScreenPtr;
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