VirtualBox

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

Last change on this file since 33428 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
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
35#define MOTION_SIZE 256
36
37typedef struct {
38 xTimecoord event;
39 ScreenPtr pScreen;
40} miHistoryRec, *miHistoryPtr;
41
42typedef struct {
43 ScreenPtr pScreen; /* current screen */
44 ScreenPtr pSpriteScreen;/* screen containing current sprite */
45 CursorPtr pCursor; /* current cursor */
46 CursorPtr pSpriteCursor;/* cursor on screen */
47 BoxRec limits; /* current constraints */
48 Bool confined; /* pointer can't change screens */
49 int x, y; /* hot spot location */
50 int devx, devy; /* sprite position */
51 DevicePtr pPointer; /* pointer device structure */
52 miHistoryRec history[MOTION_SIZE];
53 int history_start, history_end;
54} miPointerRec, *miPointerPtr;
55
56typedef struct {
57 miPointerSpriteFuncPtr spriteFuncs; /* sprite-specific methods */
58 miPointerScreenFuncPtr screenFuncs; /* screen-specific methods */
59 CloseScreenProcPtr CloseScreen;
60 Bool waitForUpdate; /* don't move cursor in SIGIO */
61 Bool showTransparent; /* show empty cursors */
62} 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