Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:35

0001 /***********************************************************
0002 
0003 Copyright 1987, 1988, 1994, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 
0026 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
0027 
0028                         All Rights Reserved
0029 
0030 Permission to use, copy, modify, and distribute this software and its
0031 documentation for any purpose and without fee is hereby granted,
0032 provided that the above copyright notice appear in all copies and that
0033 both that copyright notice and this permission notice appear in
0034 supporting documentation, and that the name of Digital not be
0035 used in advertising or publicity pertaining to distribution of the
0036 software without specific, written prior permission.
0037 
0038 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
0039 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
0040 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
0041 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
0042 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
0043 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
0044 SOFTWARE.
0045 
0046 ******************************************************************/
0047 
0048 /*
0049  * AsciiText.h - Public header file for AsciiText Widget
0050  *
0051  * This Widget is intended to be used as a simple front end to the
0052  * text widget with an ascii source and ascii sink attached to it
0053  *
0054  * Date:    June 29, 1989
0055  *
0056  * By:      Chris D. Peterson
0057  *          MIT X Consortium
0058  *          kit@expo.lcs.mit.edu
0059  */
0060 #ifndef _AsciiText_h
0061 #define _AsciiText_h
0062 
0063 #include <X11/Xaw/Text.h>
0064 #include <X11/Xaw/AsciiSrc.h>
0065 #include <X11/Xaw/MultiSrc.h>
0066 
0067 /* Resources:
0068 
0069  Name            Class      RepType       Default Value
0070  ----            -----      -------       -------------
0071  autoFill        AutoFill       Boolean       False
0072  background      Background     Pixel         XtDefaultBackground
0073  border          BorderColor    Pixel         XtDefaultForeground
0074  borderWidth         BorderWidth    Dimension     1
0075  bottomMargin        Margin     Position      2
0076  cursor          Cursor     Cursor        xterm
0077  destroyCallback     Callback       Pointer       NULL
0078  displayCaret        Output     Boolean       True
0079  displayPosition     TextPosition   int       0
0080  editType        EditType       XawTextEditType   XawtextRead
0081  font            Font       XFontStruct*      Fixed
0082  foreground      Foreground     Pixel         Black
0083  height          Height     Dimension     font height
0084  insertPosition      TextPosition   int       0
0085  international       International      Boolean     false
0086  leftMargin      Margin     Position      2
0087  mappedWhenManaged   MappedWhenManaged  Boolean       True
0088  resize          Resize     XawTextResizeMode XawtextResizeNever
0089  rightMargin         Margin     Position      4
0090  scrollHorizontal    Scroll     XawTextScrollMode XawtextScrollNever
0091  scrollVertical      Scroll     XawTextScrollMode XawtextScrollNever
0092  selectTypes         SelectTypes    Pointer       pos/word/line/par/all
0093  selection       Selection      Pointer       (empty selection)
0094  sensitive       Sensitive      Boolean       True
0095  sink            TextSink       Widget        (none)
0096  source          TextSource     Widget        (none)
0097  string          String     String        NULL
0098  topMargin       Margin     Position      2
0099  width           Width      Dimension     100
0100  wrap            Wrap       XawTextWrapMode   XawtextWrapNever
0101  x           Position       Position      0
0102  y           Position       Position      0
0103 
0104  (see also *Src.h and *Sink.h)
0105 */
0106 
0107 typedef struct _AsciiTextClassRec   *AsciiTextWidgetClass;
0108 typedef struct _AsciiRec            *AsciiWidget;
0109 
0110 extern WidgetClass asciiTextWidgetClass;
0111 
0112 /*
0113  * Disk and String Emulation Info
0114  */
0115 #ifdef ASCII_STRING
0116 extern WidgetClass asciiStringWidgetClass;
0117 #endif
0118 
0119 #ifdef ASCII_DISK
0120 extern WidgetClass asciiDiskWidgetClass;
0121 #endif
0122 
0123 #endif /* _AsciiText_h */