glslang: add 14.3.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1AsciiText.h
blobbcf26384a4a1aff76753198afd3d1d80030ee4ee
1 /*
2 * $XConsortium: AsciiText.h,v 1.15 89/07/06 16:00:35 kit Exp $
3 */
5 /***********************************************************
6 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
7 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
9 All Rights Reserved
11 Permission to use, copy, modify, and distribute this software and its
12 documentation for any purpose and without fee is hereby granted,
13 provided that the above copyright notice appear in all copies and that
14 both that copyright notice and this permission notice appear in
15 supporting documentation, and that the names of Digital or MIT not be
16 used in advertising or publicity pertaining to distribution of the
17 software without specific, written prior permission.
19 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
20 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
21 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
22 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
23 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
24 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
25 SOFTWARE.
27 ******************************************************************/
29 /***********************************************************************
31 * AsciiText Widget
33 ***********************************************************************/
36 * AsciiText.c - Public header file for AsciiText Widget.
38 * This Widget is intended to be used as a simple front end to the
39 * text widget with an ascii source and ascii sink attached to it.
41 * Date: June 29, 1989
43 * By: Chris D. Peterson
44 * MIT X Consortium
45 * kit@expo.lcs.mit.edu
48 #ifndef _AsciiText_h
49 #define _AsciiText_h
51 /****************************************************************
53 * AsciiText widgets
55 ****************************************************************/
57 #include <./Xaw3_1Text.h> /* AsciiText is a subclass of Text */
58 #include <./Xaw3_1AsciiSrc.h>
60 /* Resources:
62 Name Class RepType Default Value
63 ---- ----- ------- -------------
64 background Background Pixel XtDefaultBackground
65 border BorderColor Pixel XtDefaultForeground
66 borderWidth BorderWidth Dimension 1
67 destroyCallback Callback Pointer NULL
68 displayPosition TextPosition int 0
69 editType EditType XawTextEditType XawtextRead
70 font Font XFontStruct* Fixed
71 foreground Foreground Pixel Black
72 height Height Dimension font height
73 insertPosition TextPosition int 0
74 leftMargin Margin Dimension 2
75 mappedWhenManaged MappedWhenManaged Boolean True
76 selectTypes SelectTypes Pointer (internal)
77 selection Selection Pointer empty selection
78 sensitive Sensitive Boolean True
79 string String String NULL
80 textOptions TextOptions int 0
81 width Width Dimension 100
82 x Position Position 0
83 y Position Position 0
88 * Everything else we need is in StringDefs.h or Text.h
91 typedef struct _AsciiTextClassRec *AsciiTextWidgetClass;
92 typedef struct _AsciiRec *AsciiWidget;
94 extern WidgetClass asciiTextWidgetClass;
96 /************************************************************
98 * Disk and String Emulation Info.
100 ************************************************************/
102 #ifdef ASCII_STRING
103 extern WidgetClass asciiStringWidgetClass;
104 #endif
106 #ifdef ASCII_DISK
107 extern WidgetClass asciiDiskWidgetClass;
108 #endif
110 #endif /* _AsciiText_h */