- Main Page
- Data Structures
- Files

- File List
- Globals

Functions | Variables
dmxscrinit.c File Reference
`#include "dmx.h"`
`#include "dmxsync.h"`
`#include "dmxshadow.h"`
`#include "dmxscrinit.h"`
`#include "dmxcursor.h"`
`#include "dmxgc.h"`
`#include "dmxgcops.h"`
`#include "dmxwindow.h"`
`#include "dmxpixmap.h"`
`#include "dmxfont.h"`
`#include "dmxcmap.h"`
`#include "dmxprop.h"`
`#include "dmxdpms.h"`
`#include "dmxpict.h"`
`#include "fb.h"`
`#include "mipointer.h"`
`#include "micmap.h"`

## Functions
Bool | dmxCloseScreen (int idx, ScreenPtr pScreen)
static Bool | dmxSaveScreen (ScreenPtr pScreen, int what)
void | dmxBEScreenInit (int idx, ScreenPtr pScreen)
Bool | dmxScreenInit (int idx, ScreenPtr pScreen, int argc, char *argv[])
void | dmxBECloseScreen (ScreenPtr pScreen)
## Variables
static unsigned long | dmxGeneration
static unsigned long * | dmxCursorGeneration
DevPrivateKeyRec | dmxGCPrivateKeyRec
DevPrivateKeyRec | dmxWinPrivateKeyRec
DevPrivateKeyRec | dmxPixPrivateKeyRec
int | dmxFontPrivateIndex
DevPrivateKeyRec | dmxScreenPrivateKeyRec
DevPrivateKeyRec | dmxColormapPrivateKeyRec
DevPrivateKeyRec | dmxPictPrivateKeyRec
DevPrivateKeyRec | dmxGlyphSetPrivateKeyRec

## Detailed Description

This file provides support for screen initialization.

## Function Documentation

void dmxBECloseScreen | ( | ScreenPtr | pScreen | ) |

Close the pScreen resources on the back-end server.

References _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDefColormaps, _DMXScreenInfo::beNumPixmapFormats, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, dmxDPMSTerm(), dmxScreens, dmxShadowFB, _DMXScreenInfo::noCursor, _DMXScreenInfo::scrnDefDrawables, _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

Referenced by dmxCloseScreen(), and dmxDetachScreen().

void dmxBEScreenInit | ( | int | idx,
|  | ScreenPtr | pScreen
| ) |  |

Initialize the parts of screen idx that require access to the back-end server.

References _DMXScreenInfo::beBlackPixel, _DMXScreenInfo::beBPP, _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDepth, _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumPixmapFormats, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, _DMXScreenInfo::beWhitePixel, dmxDPMSInit(), dmxPropertyWindow(), dmxScreens, dmxShadowFB, _DMXScreenInfo::noCursor, _DMXScreenInfo::scrnDefDrawables, _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, _DMXScreenInfo::scrnWin, _DMXScreenInfo::scrnX, _DMXScreenInfo::scrnY, _DMXScreenInfo::shadow, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

Referenced by dmxAttachScreen(), and dmxScreenInit().

Bool dmxCloseScreen | ( | int | idx,
|  | ScreenPtr | pScreen
| ) |  |

Close screen number idx.

References _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, DMX_UNWRAP, dmxBECloseScreen(), dmxResetFonts(), dmxResetRender(), dmxScreens, dmxShadowFB, and _DMXScreenInfo::shadow.

Referenced by dmxScreenInit().

static Bool dmxSaveScreen | ( | ScreenPtr | pScreen,
|  | int | what
| ) |  | `[static]`

References _DMXScreenInfo::beDisplay, dmxScreens, and dmxSync().

Referenced by dmxScreenInit().

Bool dmxScreenInit | ( | int | idx,
|  | ScreenPtr | pScreen,
|  | int | argc,
|  | char * | argv[]
| ) |  |

Initialize screen number idx.

References _DMXScreenInfo::beBPP, _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDepths, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumVisuals, _DMXScreenInfo::beVisuals, _DMXScreenInfo::beXDPI, DMX_WRAP, dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeWindowAttributes(), dmxCloseScreen(), dmxColormapPrivateKeyRec, dmxCopyWindow(), dmxCreateColormap(), dmxCreateDefColormap(), dmxCreateGC(), dmxCreatePixmap(), dmxCreateWindow(), dmxCursorGeneration, dmxDestroyColormap(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxFontPrivateIndex, dmxGeneration, dmxGetImage(), dmxGetSpans(), dmxGlyphSetPrivateKeyRec, dmxInitGC(), dmxInitPixmap(), dmxInitWindow(), dmxInstallColormap(), dmxPictureInit(), dmxPointerCursorFuncs, dmxPointerSpriteFuncs, dmxPositionWindow(), dmxRealizeFont(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxScreenPrivateKeyRec, dmxScreens, dmxSetShape(), dmxShadowFB, dmxShadowUpdateProc(), dmxStoreColors(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxWindowExposures(), _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, and _DMXScreenInfo::shadow.

Referenced by InitOutput().

## Variable Documentation

DevPrivateKeyRec dmxColormapPrivateKeyRec

Referenced by dmxScreenInit().

unsigned long* dmxCursorGeneration`[static]`

Referenced by dmxScreenInit().

int dmxFontPrivateIndex

Private index for Fonts

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

DevPrivateKeyRec dmxGCPrivateKeyRec

Referenced by dmxInitGC().

unsigned long dmxGeneration`[static]`

Referenced by dmxConsoleUpdatePosition(), dmxMakeUniqueDeviceName(), dmxScreenInit(), dmxSync(), and InitOutput().

DevPrivateKeyRec dmxGlyphSetPrivateKeyRec

Referenced by dmxScreenInit().

DevPrivateKeyRec dmxPictPrivateKeyRec

Referenced by dmxPictureInit().

DevPrivateKeyRec dmxPixPrivateKeyRec

Referenced by dmxInitPixmap().

DevPrivateKeyRec dmxScreenPrivateKeyRec

Referenced by dmxScreenInit().

DevPrivateKeyRec dmxWinPrivateKeyRec

Referenced by dmxInitWindow().