- Main Page
- Data Structures
- Files

- File List
- Globals

Data Structures | Defines | Typedefs | Enumerations | Variables
dmx.h File Reference
`#include "gcstruct.h"`
`#include "dmxclient.h"`
`#include "globals.h"`
`#include "scrnintstr.h"`
`#include "picturestr.h"`

Go to the source code of this file.

## Data Structures
struct | _DMXScreenInfo
## Defines
#define | DMX_WRAP(_entry, _newfunc, _saved, _actual)
#define | DMX_UNWRAP(_entry, _saved, _actual)
#define | dmxGCPrivateKey (&dmxGCPrivateKeyRec)
#define | dmxWinPrivateKey (&dmxWinPrivateKeyRec)
#define | dmxPixPrivateKey (&dmxPixPrivateKeyRec)
#define | dmxScreenPrivateKey (&dmxScreenPrivateKeyRec)
#define | dmxColormapPrivateKey (&dmxColormapPrivateKeyRec)
#define | dmxPictPrivateKey (&dmxPictPrivateKeyRec)
#define | dmxGlyphSetPrivateKey (&dmxGlyphSetPrivateKeyRec)
## Typedefs
typedef struct _DMXInputInfo | DMXInputInfo
typedef struct _DMXStatInfo | DMXStatInfo
typedef struct _DMXScreenInfo | DMXScreenInfo
## Enumerations
enum | PositionType { PosNone = -1, PosAbsolute = 0, PosRightOf, PosLeftOf, PosAbove, PosBelow, PosRelative }
## Variables
int | dmxNumScreens
DMXScreenInfo * | dmxScreens
int | dmxShadowFB
XErrorEvent | dmxLastErrorEvent
Bool | dmxErrorOccurred
Bool | dmxOffScreenOpt
Bool | dmxSubdividePrimitives
Bool | dmxLazyWindowCreation
Bool | dmxUseXKB
int | dmxDepth
char * | dmxFontPath
Bool | dmxIgnoreBadFontPaths
Bool | dmxAddRemoveScreens
DevPrivateKeyRec | dmxGCPrivateKeyRec
DevPrivateKeyRec | dmxWinPrivateKeyRec
DevPrivateKeyRec | dmxPixPrivateKeyRec
int | dmxFontPrivateIndex
DevPrivateKeyRec | dmxScreenPrivateKeyRec
DevPrivateKeyRec | dmxColormapPrivateKeyRec
DevPrivateKeyRec | dmxPictPrivateKeyRec
DevPrivateKeyRec | dmxGlyphSetPrivateKeyRec

## Detailed Description

Main header file included by all other DMX-related files.

## Define Documentation

#define DMX_UNWRAP | ( |  | _entry,
|  |  | _saved,
|  |  | _actual
| ) |  |

Value:

    do {                                                                    \
        (_actual)->_entry = (_saved)->_entry;                               \
    } while (0)

Unwrap screen or GC function pointer

Referenced by dmxChangeBorderWidth(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCloseConsoleScreen(), dmxCloseScreen(), dmxComposite(), dmxCompositeRects(), dmxCopyWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateWindow(), dmxDestroyColormap(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxInstallColormap(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSetShape(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

#define DMX_WRAP | ( |  | _entry,
|  |  | _newfunc,
|  |  | _saved,
|  |  | _actual
| ) |  |

Value:

    do {                                                                    \
        (_saved)->_entry  = (_actual)->_entry;                              \
        (_actual)->_entry = (_newfunc);                                     \
    } while (0)

Wrap screen or GC function pointer

Referenced by dmxChangeBorderWidth(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxComposite(), dmxCompositeRects(), dmxConsoleInit(), dmxCopyWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateWindow(), dmxDestroyColormap(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxInstallColormap(), dmxPictureInit(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxScreenInit(), dmxSetShape(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

#define dmxColormapPrivateKey (&dmxColormapPrivateKeyRec)

Private index for Colormaps

#define dmxGCPrivateKey (&dmxGCPrivateKeyRec)

Private index for GCs

#define dmxGlyphSetPrivateKey (&dmxGlyphSetPrivateKeyRec)

Private index for GlyphSets

#define dmxPictPrivateKey (&dmxPictPrivateKeyRec)

Private index for Picts

#define dmxPixPrivateKey (&dmxPixPrivateKeyRec)

Private index for Pixmaps

#define dmxScreenPrivateKey (&dmxScreenPrivateKeyRec)

Private index for Screens

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

#define dmxWinPrivateKey (&dmxWinPrivateKeyRec)

Private index for Windows

## Typedef Documentation

typedef struct _DMXInputInfo DMXInputInfo

Provide the typedef globally, but keep the contents opaque outside of the input routines.

See also:
  dmxinput.h

typedef struct _DMXScreenInfo DMXScreenInfo

Global structure containing information about each backend screen.

typedef struct _DMXStatInfo DMXStatInfo

Provide the typedef globally, but keep the contents opaque outside of the XSync statistic routines.

See also:
  dmxstat.c

## Enumeration Type Documentation

enum PositionType

Enumerator:

  PosNone |
  PosAbsolute |
  PosRightOf |
  PosLeftOf |
  PosAbove |
  PosBelow |
  PosRelative |

## Variable Documentation

Bool dmxAddRemoveScreens

True if add and remove screens support is enabled

Referenced by ddxProcessArgument(), dmxAttachScreen(), dmxDetachScreen(), and InitOutput().

DevPrivateKeyRec dmxColormapPrivateKeyRec

Referenced by dmxScreenInit().

int dmxDepth

Requested depth if non-zero

Referenced by ddxProcessArgument(), and dmxGetVisualInfo().

Bool dmxErrorOccurred

True if an error occurred

Referenced by dmxErrorHandler().

char* dmxFontPath

NULL if no font path is set on the command line; otherwise, a string of comma separated paths built from the command line specified font paths

Referenced by dmxBELoadFont(), and dmxSetDefaultFontPath().

int dmxFontPrivateIndex

Private index for Fonts

Referenced by dmxBEFreeFont(), dmxBELoadFont(), dmxChangeGC(), dmxRealizeFont(), dmxScreenInit(), and dmxUnrealizeFont().

DevPrivateKeyRec dmxGCPrivateKeyRec

Referenced by dmxInitGC().

DevPrivateKeyRec dmxGlyphSetPrivateKeyRec

Referenced by dmxScreenInit().

Bool dmxIgnoreBadFontPaths

True if bad font paths should be ignored during server init

Referenced by ddxProcessArgument(), and dmxBELoadFont().

XErrorEvent dmxLastErrorEvent

Last error that occurred

Referenced by dmxErrorHandler().

Bool dmxLazyWindowCreation

True if using the lazy window creation optimization

Referenced by ddxProcessArgument(), dmxCreateWindow(), and InitOutput().

int dmxNumScreens

Number of dmxScreens

Referenced by AbortDDX(), dmxBackendInitPrivate(), dmxBackendSameDisplay(), dmxCheckCursor(), dmxComputeScreenOrigins(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigConfigInputs(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConfigSetMaxScreens(), dmxConsoleComputeWidthHeight(), dmxConsoleDraw(), dmxConsoleDrawWindows(), dmxCursorOffScreen(), dmxFindFirstScreen(), dmxFindPointerScreen(), dmxGetNumScreens(), dmxGetScreenAttributes(), dmxInitOrigins(), dmxInitOverlap(), dmxInputAttachBackend(), dmxInputInit(), dmxProcRenderAddGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcSetFontPath(), dmxPropertyCheckOtherWindows(), dmxReInitOrigins(), dmxSLCreate(), dmxSLFindNext(), dmxStatCallback(), dmxSyncCallback(), dmxTryComputeScreenOrigins(), and InitOutput().

Bool dmxOffScreenOpt

True if using off screen optimizations

Referenced by ddxProcessArgument(), and InitOutput().

DevPrivateKeyRec dmxPictPrivateKeyRec

Referenced by dmxPictureInit().

DevPrivateKeyRec dmxPixPrivateKeyRec

Referenced by dmxInitPixmap().

DevPrivateKeyRec dmxScreenPrivateKeyRec

Referenced by dmxScreenInit().

DMXScreenInfo* dmxScreens

List of outputs

Referenced by _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), dmxAttachScreen(), dmxBackendFindOverlapping(), dmxBackendInitPrivate(), dmxBackendOffscreen(), dmxBackendProcessInput(), dmxBackendUpdatePosition(), dmxBECloseScreen(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBECreateGC(), dmxBECreateGlyphSet(), dmxBECreatePixmap(), dmxBECreateWindowTree(), dmxBEDestroyWindow(), dmxBEFreeColormap(), dmxBEFreeCursor(), dmxBEFreeFont(), dmxBEFreeGC(), dmxBEFreeGlyphSet(), dmxBEFreePicture(), dmxBEFreePixmap(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeClip(), dmxChangeGC(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckCursor(), dmxCloseScreen(), dmxColormapFromDefaultVisual(), dmxCommonMouOn(), dmxCommonSaveState(), dmxComposite(), dmxCompositeRects(), dmxComputeScreenOrigins(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigConfigInputs(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConnectionBlockCallback(), dmxConsoleDraw(), dmxCopyArea(), dmxCopyGC(), dmxCopyPlane(), dmxCopyWindow(), dmxCoreMotion(), dmxCreateAndRealizeWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreateNonRootWindow(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateRootWindow(), dmxCreateWindow(), dmxCursorOffScreen(), dmxDestroyClip(), dmxDestroyColormap(), dmxDestroyGC(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxDetachScreen(), dmxDoCreatePicture(), dmxDoRestackWindow(), dmxDoSetShape(), dmxFillPolygon(), dmxFindAlternatePixmap(), dmxFindFirstScreen(), dmxGetImage(), dmxGetScreenAttributes(), dmxImageText16(), dmxImageText8(), dmxInitOrigins(), dmxInitOverlap(), dmxInputAttachBackend(), dmxInputInit(), dmxInstallColormap(), dmxLookupVisual(), dmxLookupVisualFromID(), dmxMoveCursor(), dmxPictureInit(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxProcSetFontPath(), dmxPropertyCheckOtherWindows(), dmxPutImage(), dmxRealizeCursor(), dmxRealizeFont(), dmxRealizeWindow(), dmxReInitOrigins(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxScreenInit(), dmxSetCursor(), dmxSetShape(), dmxShadowUpdateProc(), dmxStatCallback(), dmxStoreColors(), dmxSyncCallback(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxTryComputeScreenOrigins(), dmxUnrealizeCursor(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxUpdateScreenResources(), dmxValidatePicture(), and dmxWindowExposures().

int dmxShadowFB

Non-zero if using shadow frame-buffer (deprecated)

Referenced by ddxProcessArgument(), dmxBECloseScreen(), dmxBEScreenInit(), dmxCloseScreen(), dmxCommonMouOn(), dmxPictureInit(), dmxScreenInit(), and InitOutput().

Bool dmxSubdividePrimitives

True if using the primitive subdivision optimization

Referenced by ddxProcessArgument(), and dmxPutImage().

Bool dmxUseXKB

True if the XKB extension should be used with the backend servers

Referenced by ddxProcessArgument(), and dmxCommonSaveState().

DevPrivateKeyRec dmxWinPrivateKeyRec

Referenced by dmxInitWindow().