Distributed Multihead X  1.16.4
dmxcmap.h File Reference
#include "colormapst.h"

Go to the source code of this file.

Data Structures

struct  _dmxColormapPriv
 

Macros

#define DMX_SET_COLORMAP_PRIV(_pCMap, _pCMapPriv)   dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)
 
#define DMX_GET_COLORMAP_PRIV(_pCMap)
 

Typedefs

typedef struct _dmxColormapPriv dmxColormapPrivRec
 
typedef struct _dmxColormapPrivdmxColormapPrivPtr
 

Functions

Bool dmxCreateColormap (ColormapPtr pColormap)
 
void dmxDestroyColormap (ColormapPtr pColormap)
 
void dmxInstallColormap (ColormapPtr pColormap)
 
void dmxStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef)
 
Bool dmxCreateDefColormap (ScreenPtr pScreen)
 
Bool dmxBECreateColormap (ColormapPtr pColormap)
 
Bool dmxBEFreeColormap (ColormapPtr pColormap)
 

Detailed Description

Header file for colormap support.

See also
dmxcmap.c.

Macro Definition Documentation

#define DMX_GET_COLORMAP_PRIV (   _pCMap)
Value:
dixLookupPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey)
struct _dmxColormapPriv * dmxColormapPrivPtr
#define dmxColormapPrivateKey
Definition: dmx.h:396

Get colormap private structure.

Referenced by dmxBECreateColormap(), dmxBEFreeColormap(), dmxCreateRootWindow(), dmxDestroyColormap(), dmxDoChangeWindowAttributes(), dmxGetDefaultWindowAttributes(), dmxInstallColormap(), and dmxStoreColors().

#define DMX_SET_COLORMAP_PRIV (   _pCMap,
  _pCMapPriv 
)    dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)

Set colormap private structure.

Referenced by dmxAllocateColormapPrivates(), and dmxDestroyColormap().

Typedef Documentation

Colormap private area.

Function Documentation

Bool dmxBECreateColormap ( ColormapPtr  pColormap)
Bool dmxBEFreeColormap ( ColormapPtr  pColormap)

Destroy pColormap on the back-end server.

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, and dmxScreens.

Referenced by dmxBEDestroyResources(), and dmxDestroyColormap().

Bool dmxCreateColormap ( ColormapPtr  pColormap)

Create colormap on back-end server associated with pColormap's screen.

References _DMXScreenInfo::beDisplay, DMX_UNWRAP, DMX_WRAP, dmxAllocateColormapPrivates(), dmxBECreateColormap(), dmxCreateColormap(), and dmxScreens.

Referenced by dmxCreateColormap(), and dmxScreenInit().

Bool dmxCreateDefColormap ( ScreenPtr  pScreen)

Create the DMX server's default colormap.

Referenced by dmxScreenInit().

void dmxDestroyColormap ( ColormapPtr  pColormap)

Destroy colormap on back-end server associated with pColormap's screen.

References _DMXScreenInfo::beDisplay, DMX_GET_COLORMAP_PRIV, DMX_SET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEFreeColormap(), dmxDestroyColormap(), and dmxScreens.

Referenced by dmxDestroyColormap(), and dmxScreenInit().

void dmxInstallColormap ( ColormapPtr  pColormap)

Install colormap on back-end server associated with pColormap's screen.

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxInstallColormap(), dmxScreens, and dmxSync().

Referenced by dmxInstallColormap(), and dmxScreenInit().

void dmxStoreColors ( ColormapPtr  pColormap,
int  ndef,
xColorItem *  pdef 
)

Store colors in pColormap on back-end server associated with pColormap's screen.

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxStoreColors(), and dmxSync().

Referenced by dmxScreenInit(), and dmxStoreColors().


Generated on Tue Aug 18 2015 01:27:31 for Distributed Multihead X by doxygen 1.8.8