VirtualBox

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

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

Additions/x11: more original X server headers.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.3 KB
 
1/*
2 * misprite.h
3 *
4 * software-sprite/sprite drawing interface spec
5 *
6 * mi versions of these routines exist.
7 */
8
9
10/*
11
12Copyright 1989, 1998 The Open Group
13
14Permission to use, copy, modify, distribute, and sell this software and its
15documentation for any purpose is hereby granted without fee, provided that
16the above copyright notice appear in all copies and that both that
17copyright notice and this permission notice appear in supporting
18documentation.
19
20The above copyright notice and this permission notice shall be included in
21all copies or substantial portions of the Software.
22
23THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
27AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
28CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
30Except as contained in this notice, the name of The Open Group shall not be
31used in advertising or otherwise to promote the sale, use or other dealings
32in this Software without prior written authorization from The Open Group.
33*/
34
35typedef struct {
36 Bool (*RealizeCursor)(
37 ScreenPtr /*pScreen*/,
38 CursorPtr /*pCursor*/
39);
40 Bool (*UnrealizeCursor)(
41 ScreenPtr /*pScreen*/,
42 CursorPtr /*pCursor*/
43);
44 Bool (*PutUpCursor)(
45 ScreenPtr /*pScreen*/,
46 CursorPtr /*pCursor*/,
47 int /*x*/,
48 int /*y*/,
49 unsigned long /*source*/,
50 unsigned long /*mask*/
51);
52 Bool (*SaveUnderCursor)(
53 ScreenPtr /*pScreen*/,
54 int /*x*/,
55 int /*y*/,
56 int /*w*/,
57 int /*h*/
58);
59 Bool (*RestoreUnderCursor)(
60 ScreenPtr /*pScreen*/,
61 int /*x*/,
62 int /*y*/,
63 int /*w*/,
64 int /*h*/
65);
66 Bool (*MoveCursor)(
67 ScreenPtr /*pScreen*/,
68 CursorPtr /*pCursor*/,
69 int /*x*/,
70 int /*y*/,
71 int /*w*/,
72 int /*h*/,
73 int /*dx*/,
74 int /*dy*/,
75 unsigned long /*source*/,
76 unsigned long /*mask*/
77);
78 Bool (*ChangeSave)(
79 ScreenPtr /*pScreen*/,
80 int /*x*/,
81 int /*y*/,
82 int /*w*/,
83 int /*h*/,
84 int /*dx*/,
85 int /*dy*/
86);
87
88} miSpriteCursorFuncRec, *miSpriteCursorFuncPtr;
89
90extern Bool miSpriteInitialize(
91 ScreenPtr /*pScreen*/,
92 miSpriteCursorFuncPtr /*cursorFuncs*/,
93 miPointerScreenFuncPtr /*screenFuncs*/
94);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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