VirtualBox

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

最後變更 在這個檔案從81245是 54163,由 vboxsync 提交於 10 年 前

Additions/x11/vboxvideo: support X.Org Server 1.17 (still untested).

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.1 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
11Copyright 1989, 1998 The Open Group
12
13Permission to use, copy, modify, distribute, and sell this software and its
14documentation for any purpose is hereby granted without fee, provided that
15the above copyright notice appear in all copies and that both that
16copyright notice and this permission notice appear in supporting
17documentation.
18
19The above copyright notice and this permission notice shall be included in
20all copies or substantial portions of the Software.
21
22THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
29Except as contained in this notice, the name of The Open Group shall not be
30used in advertising or otherwise to promote the sale, use or other dealings
31in this Software without prior written authorization from The Open Group.
32*/
33
34extern Bool miSpriteInitialize(ScreenPtr /*pScreen */ ,
35 miPointerScreenFuncPtr /*screenFuncs */
36 );
37
38extern Bool miDCRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
39extern Bool miDCUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
40extern Bool miDCPutUpCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
41 CursorPtr pCursor, int x, int y,
42 unsigned long source, unsigned long mask);
43extern Bool miDCSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
44 int x, int y, int w, int h);
45extern Bool miDCRestoreUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
46 int x, int y, int w, int h);
47extern Bool miDCDeviceInitialize(DeviceIntPtr pDev, ScreenPtr pScreen);
48extern void miDCDeviceCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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