#include "windowstr.h"
Go to the source code of this file.
Data Structures | |
struct | _dmxWinPriv |
Defines | |
#define | DMX_GET_WINDOW_PRIV(_pWin) ((dmxWinPrivPtr)(_pWin)->devPrivates[dmxWinPrivateIndex].ptr) |
Typedefs | |
typedef _dmxWinPriv | dmxWinPrivRec |
typedef _dmxWinPriv * | dmxWinPrivPtr |
Functions | |
Bool | dmxInitWindow (ScreenPtr pScreen) |
void | dmxCreateAndRealizeWindow (WindowPtr pWindow, Bool doSync) |
Bool | dmxCreateWindow (WindowPtr pWindow) |
Bool | dmxDestroyWindow (WindowPtr pWindow) |
Bool | dmxPositionWindow (WindowPtr pWindow, int x, int y) |
Bool | dmxChangeWindowAttributes (WindowPtr pWindow, unsigned long mask) |
Bool | dmxRealizeWindow (WindowPtr pWindow) |
Bool | dmxUnrealizeWindow (WindowPtr pWindow) |
void | dmxRestackWindow (WindowPtr pWindow, WindowPtr pOldNextSib) |
void | dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed) |
void | dmxPaintWindowBackground (WindowPtr pWindow, RegionPtr pRegion, int what) |
void | dmxPaintWindowBorder (WindowPtr pWindow, RegionPtr pRegion, int what) |
void | dmxCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc) |
void | dmxResizeWindow (WindowPtr pWindow, int x, int y, unsigned int w, unsigned int h, WindowPtr pSib) |
void | dmxReparentWindow (WindowPtr pWindow, WindowPtr pPriorParent) |
void | dmxChangeBorderWidth (WindowPtr pWindow, unsigned int width) |
void | dmxResizeScreenWindow (ScreenPtr pScreen, int x, int y, int w, int h) |
void | dmxResizeRootWindow (WindowPtr pRoot, int x, int y, int w, int h) |
Bool | dmxBEDestroyWindow (WindowPtr pWindow) |
void | dmxSetShape (WindowPtr pWindow) |
Variables | |
int | dmxWinPrivateIndex |
|
Get window private pointer. |
|
Window private area. |
|
Window private area. |
|
Destroy pWindow on the back-end server. |
|
Change border width for pWindow to width pixels. |
|
Change the window attributes of pWindow. |
|
Move pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled. |
|
This function handles lazy window creation and realization. Window creation is handled by dmxCreateNonRootWindow(). It also handles any stacking changes that have occured since the window was originally created by calling dmxDoRestackWindow(). If the window is shaped, the shape is set on the back-end server by calling dmxDoSetShape(), and if the window has pictures (from RENDER) associated with it, those pictures are created on the back-end server by calling dmxCreatePictureList(). If doSync is TRUE, then dmxSync() is called. |
|
Create pWindow on the back-end server. If the lazy window creation optimization is enabled, then the actual creation and realization of the window is handled by dmxCreateAndRealizeWindow(). |
|
Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well. |
|
Initialize the private area for the window functions. |
|
Paint background of pWindow in pRegion. |
|
Paint window border for pWindow in pRegion. |
|
Change the position of pWindow to be x, y. |
|
Realize pWindow on the back-end server. If the lazy window creation optimization is enabled, the window is only realized when it at least partially overlaps the screen. |
|
Reparent pWindow on the back-end server. |
|
Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow(). |
|
Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow(). |
|
Resize pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled. |
|
Handle window restacking. The actual restacking occurs in dmxDoRestackWindow(). |
|
Set shape of pWindow on the back-end server. |
|
Unrealize pWindow on the back-end server. |
|
Handle exposures on pWindow. Since window exposures are handled in DMX, the events that are generated by the back-end server are redundant, so we eat them here. |
|
Private index for Windows |