REF XPT_XTYPES                                    Jason Handby, Aug 1991
                                        Revised: Adrian Howard, Jul 1993

        COPYRIGHT University of Sussex 1992. All Rights Reserved.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<       BASIC XLIB TYPES      >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

The following  details some  of the  standard Xlib  type  specifications
supplied in INCLUDE * XPT_XTYPES.


         CONTENTS - (Use <ENTER> g to access required sections)

  1   X Resource Identifiers

  2   Opaque Structures

  3   Graphic Context Values

  4   Miscellaneous Types

  5   Constants

  6   Further Information



-------------------------
1  X Resource Identifiers
-------------------------

XptXID                                                [include typespec]
XptBitmap                                             [include typespec]
XptColor                                              [include typespec]
XptColormap                                           [include typespec]
XptCursor                                             [include typespec]
XptFont                                               [include typespec]
XptGC                                                 [include typespec]
XptKeySym                                             [include typespec]
XptPixel                                              [include typespec]
XptPixmap                                             [include typespec]
XptVisual                                             [include typespec]
        Typespecs for XID's, which are represented in POPLOG as unsigned
        integers.




--------------------
2  Opaque Structures
--------------------

XptWindow                                             [include typespec]
        This type is used to  represent opaque X Window structures.  The
        external pointer  is converted  to  an * XptDescriptor  with  an
        * XptDataType of * XDT_WINDOW via * XptImportWindow.


XptScreenPtr                                          [include typespec]
        This type  is used  to  represent opaque  pointers to  X  Screen
        structures.  The   external   pointer   is   converted   to   an
        * XptDescriptor with  an  * XptDataType of  * XDT_SCREENPTR  via
        * XptImportScreenPtr.


XptXEventPtr                                          [include typespec]
        This type  is used  to  represent opaque  pointers to  X  XEvent
        structures.  The   external   pointer   is   converted   to   an
        * XptDescriptor with  an  * XptDataType of  * XDT_XEVENTPTR  via
        * XptImportXEventPtr.


XptKeySymTable                                        [include typespec]
        This type is  used to  represent opaque pointers  to lists  of X
        KeySyms. The external pointer is converted to an * XptDescriptor
        with    an     * XptDataType    of     * XDT_KEYSYMTABLE     via
        * XptImportKeySymTable. See REF * XT_KEYBOARD for more details.


XptXrmDatabase                                        [include typespec]
        This type is used to represent opaque X XrmDatabase  structures.
        The external pointer is converted to an * XptDescriptor with  an
        * XptDataType of * XDT_DATABASE via * XptImportXrmDatabase.

        Also see REF * XResourceDB and * XtDatabase.




-------------------------
3  Graphic Context Values
-------------------------

XptGCValues                                           [include typespec]
        Type specification for for GCValues structure defined as:

        XptGCValues {
            XptGCVFunction              :int,
            XptGCVPlaneMask             :uint,
            XptGCVForeground            :uint,
            XptGCVBackground            :uint,
            XptGCVLineWidth             :int,
            XptGCVLineStyle             :int,
            XptGCVCapStyle              :int,
            XptGCVJoinStyle             :int,
            XptGCVFillStyle             :int,
            XptGCVFillRule              :int,
            XptGCVArcMode               :int,
            XptGCVTile                  :XptPixmap,
            XptGCVStipple               :XptPixmap,
            XptGCVTsXOrigin             :int,
            XptGCVTsYOrigin             :int,
            XptGCVFont                  :XptFont,
            XptGCVSubwindowMode         :int,
            XptGCVGraphicsExposures     :XptBoolean,
            XptGCVClipXOrigin           :int,
            XptGCVClipYOrigin           :int,
            XptGCVClipMask              :XptPixmap,
            XptGCVDashOffset            :int,
            XptGCVDashes                :byte,
        }




----------------------
4  Miscellaneous Types
----------------------

XptAtom                                               [include typespec]
        Typespec for X  Atoms (represented as  unsigned long  integers.)
        These  are  used  to  identify  properties  (REF * XProperties),
        types, and selections (REF * XSelections.)


XptKeyCode                                            [include typespec]
        Typespec for X  KeyCodes (represented as  a single byte.)  These
        are used to represent keyboard keys. See REF * XT_KEYBOARD.


XptOpaque                                             [include typespec]
        Typespec for  an  opaque  object  (represented  as  an  unsigned
        integer).


XptXrmQuark                                           [include typespec]
        Typespec for "quarks". These are unique integers which are  used
        by the  resource  manager  to identify  name,  class,  and  type
        strings. See  REF * XT_RESOURCE  for  more  information  on  the
        resource database.




------------
5  Constants
------------

XPT_XTYPES_INCLUDED -> true                           [include constant]
        This is set if INCLUDE * XPT_XTYPES has been compiled as part of
        the current compilation stream. INCLUDE * XPT_XTYPES will ignore
        any attempts to recompile while this constant is defined.




----------------------
6  Further Information
----------------------

For more information on Xlib see:

                     Xlib - C Language X Interface,
                       MIT X Consortium Standard,
                         X Version 11, Release 4

        Copyright (C) 1985, 1986, 1987, 1988, 1989 Massachusetts
        Institute of Technology,  Cambridge, Massachusetts,  and
        Digital Equipment Corporation, Maynard, Massachusetts.



--- C.x/x/pop/ref/xpt_xtypes
--- Copyright University of Sussex 1992. All rights reserved.
