~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/4.2/programs/Xserver/mi/misprite.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

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