From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- .../Xserver/hw/dmx/doc/html/dmxwindow_8h.html | 969 +++++++++++++++++++++ 1 file changed, 969 insertions(+) create mode 100644 nx-X11/programs/Xserver/hw/dmx/doc/html/dmxwindow_8h.html (limited to 'nx-X11/programs/Xserver/hw/dmx/doc/html/dmxwindow_8h.html') diff --git a/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxwindow_8h.html b/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxwindow_8h.html new file mode 100644 index 000000000..f80aae3c3 --- /dev/null +++ b/nx-X11/programs/Xserver/hw/dmx/doc/html/dmxwindow_8h.html @@ -0,0 +1,969 @@ + + + + + File Index + + + + +
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+

dmxwindow.h File Reference

#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 _dmxWinPrivdmxWinPrivPtr

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
+


Detailed Description

+Interface for window support.
See also:
dmxwindow.c
+

Define Documentation

+

+ + + + +
+ + + + + + + +
#define DMX_GET_WINDOW_PRIV_pWin   )    ((dmxWinPrivPtr)(_pWin)->devPrivates[dmxWinPrivateIndex].ptr) +
+
+ + + + + +
+   + + +

+Get window private pointer.

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct _dmxWinPriv * dmxWinPrivPtr +
+
+ + + + + +
+   + + +

+Window private area.

+

+ + + + +
+ + +
typedef struct _dmxWinPriv dmxWinPrivRec +
+
+ + + + + +
+   + + +

+Window private area.

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
Bool dmxBEDestroyWindow WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Destroy pWindow on the back-end server.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxChangeBorderWidth WindowPtr  pWindow,
unsigned int  width
+
+ + + + + +
+   + + +

+Change border width for pWindow to width pixels.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
Bool dmxChangeWindowAttributes WindowPtr  pWindow,
unsigned long  mask
+
+ + + + + +
+   + + +

+Change the window attributes of pWindow.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxCopyWindow WindowPtr  pWindow,
DDXPointRec  ptOldOrg,
RegionPtr  prgnSrc
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxCreateAndRealizeWindow WindowPtr  pWindow,
Bool  doSync
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxCreateWindow WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+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().

+

+ + + + +
+ + + + + + + + + + +
Bool dmxDestroyWindow WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxInitWindow ScreenPtr  pScreen  ) 
+
+ + + + + +
+   + + +

+Initialize the private area for the window functions.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxPaintWindowBackground WindowPtr  pWindow,
RegionPtr  pRegion,
int  what
+
+ + + + + +
+   + + +

+Paint background of pWindow in pRegion.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxPaintWindowBorder WindowPtr  pWindow,
RegionPtr  pRegion,
int  what
+
+ + + + + +
+   + + +

+Paint window border for pWindow in pRegion.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Bool dmxPositionWindow WindowPtr  pWindow,
int  x,
int  y
+
+ + + + + +
+   + + +

+Change the position of pWindow to be x, y.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxRealizeWindow WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxReparentWindow WindowPtr  pWindow,
WindowPtr  pPriorParent
+
+ + + + + +
+   + + +

+Reparent pWindow on the back-end server.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxResizeRootWindow WindowPtr  pRoot,
int  x,
int  y,
int  w,
int  h
+
+ + + + + +
+   + + +

+Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow().

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxResizeScreenWindow ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h
+
+ + + + + +
+   + + +

+Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow().

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxResizeWindow WindowPtr  pWindow,
int  x,
int  y,
unsigned int  w,
unsigned int  h,
WindowPtr  pSib
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxRestackWindow WindowPtr  pWindow,
WindowPtr  pOldNextSib
+
+ + + + + +
+   + + +

+Handle window restacking. The actual restacking occurs in dmxDoRestackWindow().

+

+ + + + +
+ + + + + + + + + + +
void dmxSetShape WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Set shape of pWindow on the back-end server.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxUnrealizeWindow WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Unrealize pWindow on the back-end server.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxWindowExposures WindowPtr  pWindow,
RegionPtr  prgn,
RegionPtr  other_exposed
+
+ + + + + +
+   + + +

+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.

+


Variable Documentation

+

+ + + + +
+ + +
int dmxWinPrivateIndex +
+
+ + + + + +
+   + + +

+Private index for Windows

+


+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + -- cgit v1.2.3