diff options
Diffstat (limited to 'include/X11/Xaw/AsciiSinkP.h')
-rw-r--r-- | include/X11/Xaw/AsciiSinkP.h | 40 |
1 files changed, 12 insertions, 28 deletions
diff --git a/include/X11/Xaw/AsciiSinkP.h b/include/X11/Xaw/AsciiSinkP.h index 02b9d39..7c19dd0 100644 --- a/include/X11/Xaw/AsciiSinkP.h +++ b/include/X11/Xaw/AsciiSinkP.h @@ -49,36 +49,23 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ - -/* - * asciiSinkP.h - Private definitions for asciiSink object - * - */ +/* $XFree86: xc/lib/Xaw/AsciiSinkP.h,v 1.10 2001/12/14 19:54:38 dawes Exp $ */ #ifndef _XawAsciiSinkP_h #define _XawAsciiSinkP_h -/*********************************************************************** - * +/* * AsciiSink Object Private Data - * - ***********************************************************************/ - + */ #include <X11/Xaw/TextSinkP.h> #include <X11/Xaw/AsciiSink.h> -/************************************************************ - * - * New fields for the AsciiSink object class record. - * - ************************************************************/ - +/* New fields for the AsciiSink object class record */ typedef struct _AsciiSinkClassPart { - int foo; + XtPointer extension; } AsciiSinkClassPart; /* Full class record declaration */ - typedef struct _AsciiSinkClassRec { ObjectClassPart object_class; TextSinkClassPart text_sink_class; @@ -89,24 +76,22 @@ extern AsciiSinkClassRec asciiSinkClassRec; /* New fields for the AsciiSink object record */ typedef struct { - /* public resources */ + /* resources */ XFontStruct *font; /* Font to draw in. */ Boolean echo; Boolean display_nonprinting; - /* private state */ + /* private */ GC normgc, invgc, xorgc; - Pixmap insertCursorOn; + XawTextPosition cursor_position; XawTextInsertState laststate; short cursor_x, cursor_y; /* Cursor Location. */ +#ifndef OLDXAW + XtPointer pad[4]; /* for future use and keep binary compatability */ +#endif } AsciiSinkPart; -/**************************************************************** - * - * Full instance record declaration - * - ****************************************************************/ - +/* Full instance record declaration */ typedef struct _AsciiSinkRec { ObjectPart object; TextSinkPart text_sink; @@ -114,4 +99,3 @@ typedef struct _AsciiSinkRec { } AsciiSinkRec; #endif /* _XawAsciiSinkP_h */ - |