b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/***********************************************************
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncCopyright 1987, 1998 The Open Group
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncPermission to use, copy, modify, distribute, and sell this software and its
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncdocumentation for any purpose is hereby granted without fee, provided that
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncthe above copyright notice appear in all copies and that both that
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynccopyright notice and this permission notice appear in supporting
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncdocumentation.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncThe above copyright notice and this permission notice shall be included in
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncall copies or substantial portions of the Software.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncExcept as contained in this notice, the name of The Open Group shall not be
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncused in advertising or otherwise to promote the sale, use or other dealings
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncin this Software without prior written authorization from The Open Group.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync All Rights Reserved
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncPermission to use, copy, modify, and distribute this software and its
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncdocumentation for any purpose and without fee is hereby granted,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncprovided that the above copyright notice appear in all copies and that
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncboth that copyright notice and this permission notice appear in
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncsupporting documentation, and that the name of Digital not be
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncused in advertising or publicity pertaining to distribution of the
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncsoftware without specific, written prior permission.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync******************************************************************/
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync short nplanes;/* = log2 (ColormapEntries). This does not
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * imply that the screen has this many planes.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * it may have more or fewer */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync VisualID *vids; /* block of visual ids for this depth */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * There is a typedef for each screen function pointer so that code that
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * needs to declare a screen function pointer (e.g. in a screen private
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * or as a local variable) can easily do so and retain full type checking.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*index*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*class*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned short * /*pwidth*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned short * /*pheight*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*on*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*sx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*sy*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned int /*format*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned long /*planeMask*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync char * /*pdstLine*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*wMax*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int* /*pwidth*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*nspans*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync char * /*pdstStart*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*width*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*height*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*y*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned long /*mask*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*what*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef PaintWindowProcPtr PaintWindowBackgroundProcPtr;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef PaintWindowProcPtr PaintWindowBorderProcPtr;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*dx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*dy*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/* pixmap will exist only for the duration of the current rendering operation */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/* pixmap will be the backing pixmap for a redirected window */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/* pixmap will contain a glyph */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*width*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*height*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*depth*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned /*usage_hint*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*xorg*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*yorg*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*srcx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*srcy*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*dstx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*dsty*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned long /*plane*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*windx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*windy*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*oldx*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*oldy*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*guarantee*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*ndef*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned short* /*pred*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned short* /*pgreen*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned short* /*pblue*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*major*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*minor*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*screenNum*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*screenNum*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned long /*result*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*width*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*height*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*depth*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*bitsPerPixel*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*devKind*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*bw*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned int /*w*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned int /*h*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned int /*width*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int myNum; /* index of this instance in Screens[] */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync unsigned long rgf; /* array of flags; she's -- HUNGARIAN */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* next field is a stipple to use as default in
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync a GC. we don't build default tiles of all depths
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync because they are likely to be of a color
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync different from the default fg pixel, so
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync we don't win anything by building
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync a standard one.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Random screen procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync PointerNonInterestBoxProcPtr PointerNonInterestBox;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Window Procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync ChangeWindowAttributesProcPtr ChangeWindowAttributes;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync PaintWindowBackgroundProcPtr PaintWindowBackground; /** unused */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync PaintWindowBorderProcPtr PaintWindowBorder; /** unused */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Pixmap procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Backing store procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync TranslateBackingStoreProcPtr TranslateBackingStore;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * A read/write copy of the lower level backing store vector is needed now
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * that the functions can be wrapped.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Font procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Cursor Procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* GC procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Colormap procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync ListInstalledColormapsProcPtr ListInstalledColormaps;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Region procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* os layer procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* anybody can get a piece of this array */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync CreateScreenResourcesProcPtr CreateScreenResources;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync MarkOverlappedWindowsProcPtr MarkOverlappedWindows;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Device cursor procedures */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync DeviceCursorInitializeProcPtr DeviceCursorInitialize;
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int /*argc*/,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync char ** /*argv*/);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#endif /* SCREENINTSTRUCT_H */