From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/dmxcursor_8h.html | 792 +++++++++++++------------- 1 file changed, 386 insertions(+), 406 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxcursor_8h.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html b/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html index 3bb81f00f..93ac65165 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html @@ -6,484 +6,464 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

dmxcursor.h File Reference

#include "mipointer.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

dmxcursor.h File Reference

#include "mipointer.h"
+ +

Go to the source code of this file.

+

Data Structures

struct  _dmxCursorPriv

Typedefs

typedef _dmxCursorPriv dmxCursorPrivRec
typedef _dmxCursorPrivdmxCursorPrivPtr

Functions

void dmxReInitOrigins (void)
void dmxInitOrigins (void)
void dmxInitOverlap (void)
void dmxCursorNoMulti (void)
void dmxMoveCursor (ScreenPtr pScreen, int x, int y)
void dmxCheckCursor (void)
int dmxOnScreen (int x, int y, DMXScreenInfo *dmxScreen)
void dmxHideCursor (DMXScreenInfo *dmxScreen)
void dmxBECreateCursor (ScreenPtr pScreen, CursorPtr pCursor)
Bool dmxBEFreeCursor (ScreenPtr pScreen, CursorPtr pCursor)

Variables

miPointerScreenFuncRec dmxPointerCursorFuncs
miPointerSpriteFuncRec dmxPointerSpriteFuncs
+ + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  _dmxCursorPriv

Defines

#define DMX_GET_CURSOR_PRIV(_pCursor, _pScreen)
#define DMX_SET_CURSOR_PRIV(_pCursor, _pScreen, v)   dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v)

Typedefs

typedef struct _dmxCursorPriv dmxCursorPrivRec
typedef struct _dmxCursorPrivdmxCursorPrivPtr

Functions

void dmxReInitOrigins (void)
void dmxInitOrigins (void)
void dmxInitOverlap (void)
void dmxCursorNoMulti (void)
void dmxMoveCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
void dmxCheckCursor (void)
int dmxOnScreen (int x, int y, DMXScreenInfo *dmxScreen)
void dmxHideCursor (DMXScreenInfo *dmxScreen)
void dmxBECreateCursor (ScreenPtr pScreen, CursorPtr pCursor)
Bool dmxBEFreeCursor (ScreenPtr pScreen, CursorPtr pCursor)

Variables

miPointerScreenFuncRec dmxPointerCursorFuncs
miPointerSpriteFuncRec dmxPointerSpriteFuncs
-


Detailed Description

-Interface for cursor support.
See also:
dmxcursor.c.
-

Typedef Documentation

-

- - - - -
- +

Detailed Description

+

Interface for cursor support.

+
See also:
dmxcursor.c.
+

Define Documentation

+ +
+
+
-
typedef struct _dmxCursorPriv * dmxCursorPrivPtr -
-
- - - - - -
-   - - -

-Cursor private area.

-

- - - - -
- + + + + - + + + + + +
#define DMX_GET_CURSOR_PRIV(_pCursor,
typedef struct _dmxCursorPriv dmxCursorPrivRec + _pScreen  ) 
-
- - - - - -
-   - - -

-Cursor private area.

-


Function Documentation

-

- - - - -
- + +
+Value:
((dmxCursorPrivPtr) \
+    dixLookupPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen)))
+
+

Referenced by _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), dmxBECreateCursor(), and dmxBEFreeCursor().

+ +
+ + +
+
+
- - - - + + + + - - - + + - - + + + + -
void dmxBECreateCursor ScreenPtr  pScreen, #define DMX_SET_CURSOR_PRIV(_pCursor,
CursorPtr  pCursor_pScreen,
 )    dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v)
-
- - - - - -
-   - - -

-Create pCursor on the back-end associated with pScreen.

-

- - - - -
- + +
+ +

Referenced by _dmxRealizeCursor(), and _dmxUnrealizeCursor().

+ +
+ +

Typedef Documentation

+ +
+
+
- - - - + +
Bool dmxBEFreeCursor ScreenPtr  pScreen, typedef struct _dmxCursorPriv * dmxCursorPrivPtr
+ +
+ +
+ + +
+
+ + + +
typedef struct _dmxCursorPriv dmxCursorPrivRec
+
+
+

Cursor private area.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + - - - + + - - + + -
void dmxBECreateCursor (ScreenPtr  pScreen,
CursorPtr  pCursorCursorPtr  pCursor 
)
-
- - - - - -
-   - - -

-Free pCursor on the back-end associated with pScreen.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + - -
void dmxCheckCursor void   ) Bool dmxBEFreeCursor (ScreenPtr  pScreen,
-
- - - - - -
-   - - -

-This routine is called during reconfiguration to make sure the cursor is visible.

-

- - - - -
- - - - - - - + + + + - -
void dmxCursorNoMulti void   ) CursorPtr  pCursor 
-
- - - - - -
-   - - -

-Turn off support for displaying multiple cursors on overlapped back-end displays. See #dmxCursorDoMultiCursors.

-

- - - - -
- - - - - - - + + + +
void dmxHideCursor DMXScreenInfo dmxScreen  ) )
+ +
+

Free pCursor on the back-end associated with pScreen.

+ +

References _DMXScreenInfo::beDisplay, _dmxCursorPriv::cursor, DMX_GET_CURSOR_PRIV, and dmxScreens.

+

Referenced by _dmxUnrealizeCursor(), and dmxBEDestroyResources().

+ +
+ + +
+
+ + + + + + + + +
void dmxCheckCursor (void  ) 
-
- - - - - -
-   - - -

-This routine is used by the backend input routines to hide the cursor on a screen that is being used for relative input.

See also:
dmxbackend.c
-
-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInitOrigins void   ) void dmxCursorNoMulti (void  ) 
+ +
+

Turn off support for displaying multiple cursors on overlapped back-end displays. See dmxCursorDoMultiCursors.

+ +

References dmxCursorDoMultiCursors.

+ +

Referenced by ddxProcessArgument().

+
+ + +
+
+ + + + + + + + +
void dmxHideCursor (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - - -

-Initialize screen origins (and relative position). This is called for each server generation. For dynamic reconfiguration, use dmxReInitOrigins() instead.

-

- - - - -
- + +
+

This routine is used by the backend input routines to hide the cursor on a screen that is being used for relative input.

+
See also:
dmxbackend.c
+ +

References _dmxSetCursor(), dmxGetGlobalPosition(), and _DMXScreenInfo::index.

+ +

Referenced by dmxBackendUpdatePosition().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxInitOverlap void   ) void dmxInitOrigins (void  ) 
+ + + + +
+
+ + + + + + + + +
void dmxInitOverlap (void  ) 
-
- - - - - -
-   - - -

-Detects overlapping dmxScreens and creates circular lists. This uses an O(dmxNumScreens^2) algorithm, but dmxNumScreens is < 100 and the computation only needs to be performed for every server generation or dynamic reconfiguration .

-

- - - - -
- + +
+

Detects overlapping dmxScreens and creates circular lists. This uses an O(dmxNumScreens^2) algorithm, but dmxNumScreens is < 100 and the computation only needs to be performed for every server generation or dynamic reconfiguration .

+ +

References _DMXScreenInfo::cursorNotShared, DMXDBG6, dmxDoesOverlap(), dmxInfo, dmxIterateOverlap(), dmxLog(), dmxLogOutput(), dmxLogOutputCont(), dmxNumScreens, dmxPrintOverlap(), dmxPropertyIterate(), dmxScreens, dmxTestSameDisplay(), _DMXScreenInfo::index, _DMXScreenInfo::name, and _DMXScreenInfo::over.

+ +

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + + + + + + - - + + - - + + -
void dmxMoveCursor ScreenPtr  pScreen, void dmxMoveCursor (DeviceIntPtr  pDev,
int  x, ScreenPtr  pScreen,
int  x,
int  yint  y 
)
-
- - - - - -
-   - - -

-Move the cursor to coordinates (x, y)on pScreen. This function is usually called via dmxPointerSpriteFuncs, except during reconfiguration when the cursor is repositioned to force an update on newley overlapping screens and on screens that no longer overlap.

-

- - - - -
- + +
+

Move the cursor to coordinates (x, y)on pScreen. This function is usually called via dmxPointerSpriteFuncs, except during reconfiguration when the cursor is repositioned to force an update on newley overlapping screens and on screens that no longer overlap.

+

The coords (x,y) are in global coord space. We'll loop over the back-end screens and see if they contain the global coord. If so, call _dmxMoveCursor() (XWarpPointer) to position the pointer on that screen.

+ +

References _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _DMXScreenInfo::cursor, _DMXScreenInfo::cursorNotShared, _DMXScreenInfo::cursorVisible, dmxCursorDoMultiCursors, DMXDBG3, dmxFindCursor(), dmxOnScreen(), dmxScreens, _DMXScreenInfo::index, _DMXScreenInfo::over, _DMXScreenInfo::rootXOrigin, and _DMXScreenInfo::rootYOrigin.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
int dmxOnScreen int  x, int dmxOnScreen (int  x,
int  y, int  y,
DMXScreenInfo dmxScreenDMXScreenInfo dmxScreen 
)
-
- - - - - -
-   - - -

-Returns non-zero if the global x, y coordinate is on the screen window of the dmxScreen.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxReInitOrigins void   ) void dmxReInitOrigins (void  ) 
-
- - - - - -
-   - - -

-Recompute origin information in the dmxScreens list. This is either called from dmxInitOrigins() or from #dmxReconfig().

-


Variable Documentation

-

- - - - -
- + + + +

Variable Documentation

+ +
+
+
- +
miPointerScreenFuncRec dmxPointerCursorFuncs + miPointerScreenFuncRec dmxPointerCursorFuncs
-
- - - - - -
-   - - -

-Cursor functions for mi layer.

See also:
dmxcursor.c

+ +

+

Cursor functions for mi layer.

+
See also:
dmxcursor.c
+
dmxscrinit.c
-
-

- - - - -
- + +

Referenced by dmxScreenInit().

+ + + + +
+
+
- +
miPointerSpriteFuncRec dmxPointerSpriteFuncs + miPointerSpriteFuncRec dmxPointerSpriteFuncs
-
- - - - - -
-   - - -

-Sprite functions for mi layer.

See also:
dmxcursor.c

+ +

+

Sprite functions for mi layer.

+
See also:
dmxcursor.c
+
dmxscrinit.c
-
+ +

Referenced by dmxScreenInit().

+ + + +
-- cgit v1.2.3