diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /include/cursor.h | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1
Diffstat (limited to 'include/cursor.h')
-rw-r--r-- | include/cursor.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/cursor.h b/include/cursor.h index 24200837c..82423cd9e 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -1,3 +1,4 @@ +/* $XFree86: xc/programs/Xserver/include/cursor.h,v 1.6 2002/09/17 01:15:14 dawes Exp $ */ /*********************************************************** Copyright 1987, 1998 The Open Group @@ -54,6 +55,11 @@ SOFTWARE. #define NullCursor ((CursorPtr)NULL) +/* Provide support for alpha composited cursors */ +#ifdef RENDER +#define ARGB_CURSOR +#endif + typedef struct _Cursor *CursorPtr; typedef struct _CursorMetric *CursorMetricPtr; @@ -66,6 +72,11 @@ extern int FreeCursor( #endif ); +/* Quartz support on Mac OS X pulls in the QuickDraw + framework whose AllocCursor function conflicts here. */ +#ifdef __DARWIN__ +#define AllocCursor Darwin_X_AllocCursor +#endif extern CursorPtr AllocCursor( #if NeedFunctionPrototypes unsigned char* /*psrcbits*/, @@ -80,6 +91,21 @@ extern CursorPtr AllocCursor( #endif ); +extern CursorPtr AllocCursorARGB( +#if NeedFunctionPrototypes + unsigned char* /*psrcbits*/, + unsigned char* /*pmaskbits*/, + CARD32* /*argb*/, + CursorMetricPtr /*cm*/, + unsigned /*foreRed*/, + unsigned /*foreGreen*/, + unsigned /*foreBlue*/, + unsigned /*backRed*/, + unsigned /*backGreen*/, + unsigned /*backBlue*/ +#endif +); + extern int AllocGlyphCursor( #if NeedFunctionPrototypes Font /*source*/, @@ -148,4 +174,12 @@ extern void GetSpritePosition( #endif ); +#ifdef PANORAMIX +extern int XineramaGetCursorScreen( +#if NeedFunctionPrototypes + void +#endif +); +#endif /* PANORAMIX */ + #endif /* CURSOR_H */ |