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

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/1.4/xorg/xf86Cursor.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
 
#ifndef _XF86CURSOR_H
3
 
#define _XF86CURSOR_H
4
 
 
5
 
#include "xf86str.h"
6
 
#include "mipointer.h"
7
 
 
8
 
typedef struct _xf86CursorInfoRec {
9
 
    ScrnInfoPtr pScrn;
10
 
    int Flags;
11
 
    int MaxWidth;
12
 
    int MaxHeight;
13
 
    void (*SetCursorColors)(ScrnInfoPtr pScrn, int bg, int fg);
14
 
    void (*SetCursorPosition)(ScrnInfoPtr pScrn, int x, int y);
15
 
    void (*LoadCursorImage)(ScrnInfoPtr pScrn, unsigned char *bits);
16
 
    void (*HideCursor)(ScrnInfoPtr pScrn);
17
 
    void (*ShowCursor)(ScrnInfoPtr pScrn);
18
 
    unsigned char* (*RealizeCursor)(struct _xf86CursorInfoRec *, CursorPtr);
19
 
    Bool (*UseHWCursor)(ScreenPtr, CursorPtr);
20
 
 
21
 
#ifdef ARGB_CURSOR
22
 
    Bool (*UseHWCursorARGB) (ScreenPtr, CursorPtr);
23
 
    void (*LoadCursorARGB) (ScrnInfoPtr, CursorPtr);
24
 
#endif
25
 
 
26
 
} xf86CursorInfoRec, *xf86CursorInfoPtr;
27
 
 
28
 
Bool xf86InitCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);
29
 
xf86CursorInfoPtr xf86CreateCursorInfoRec(void);
30
 
void xf86DestroyCursorInfoRec(xf86CursorInfoPtr);
31
 
void xf86ForceHWCursor (ScreenPtr pScreen, Bool on);
32
 
 
33
 
#define HARDWARE_CURSOR_INVERT_MASK                     0x00000001
34
 
#define HARDWARE_CURSOR_AND_SOURCE_WITH_MASK            0x00000002
35
 
#define HARDWARE_CURSOR_SWAP_SOURCE_AND_MASK            0x00000004
36
 
#define HARDWARE_CURSOR_SOURCE_MASK_NOT_INTERLEAVED     0x00000008
37
 
#define HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1        0x00000010
38
 
#define HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_8        0x00000020
39
 
#define HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_16       0x00000040
40
 
#define HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_32       0x00000080
41
 
#define HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_64       0x00000100
42
 
#define HARDWARE_CURSOR_TRUECOLOR_AT_8BPP               0x00000200
43
 
#define HARDWARE_CURSOR_BIT_ORDER_MSBFIRST              0x00000400
44
 
#define HARDWARE_CURSOR_NIBBLE_SWAPPED                  0x00000800
45
 
#define HARDWARE_CURSOR_SHOW_TRANSPARENT                0x00001000
46
 
#define HARDWARE_CURSOR_UPDATE_UNHIDDEN                 0x00002000
47
 
#ifdef ARGB_CURSOR
48
 
#define HARDWARE_CURSOR_ARGB                            0x00004000
49
 
#endif
50
 
 
51
 
#endif /* _XF86CURSOR_H */