| 1 | /*********************************************************** |
| 2 | |
| 3 | Copyright (c) 1987, 1988, 1994 X Consortium |
| 4 | |
| 5 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 | of this software and associated documentation files (the "Software"), to deal |
| 7 | in the Software without restriction, including without limitation the rights |
| 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 9 | copies of the Software, and to permit persons to whom the Software is |
| 10 | furnished to do so, subject to the following conditions: |
| 11 | |
| 12 | The above copyright notice and this permission notice shall be included in |
| 13 | all copies or substantial portions of the Software. |
| 14 | |
| 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 18 | X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 19 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 21 | |
| 22 | Except as contained in this notice, the name of the X Consortium shall not be |
| 23 | used in advertising or otherwise to promote the sale, use or other dealings |
| 24 | in this Software without prior written authorization from the X Consortium. |
| 25 | |
| 26 | |
| 27 | Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. |
| 28 | |
| 29 | All Rights Reserved |
| 30 | |
| 31 | Permission to use, copy, modify, and distribute this software and its |
| 32 | documentation for any purpose and without fee is hereby granted, |
| 33 | provided that the above copyright notice appear in all copies and that |
| 34 | both that copyright notice and this permission notice appear in |
| 35 | supporting documentation, and that the name of Digital not be |
| 36 | used in advertising or publicity pertaining to distribution of the |
| 37 | software without specific, written prior permission. |
| 38 | |
| 39 | DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING |
| 40 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL |
| 41 | DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR |
| 42 | ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 43 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
| 44 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS |
| 45 | SOFTWARE. |
| 46 | |
| 47 | ******************************************************************/ |
| 48 | |
| 49 | /* |
| 50 | * asciiSinkP.h - Private definitions for asciiSink object |
| 51 | * |
| 52 | */ |
| 53 | |
| 54 | #ifndef _XawAsciiSinkP_h |
| 55 | #define _XawAsciiSinkP_hcxx . . $ `include/X11/Xaw3dxft/AsciiSinkP.h:55:9`! |
| 56 | |
| 57 | /*********************************************************************** |
| 58 | * |
| 59 | * AsciiSink Object Private Data |
| 60 | * |
| 61 | ***********************************************************************/ |
| 62 | |
| 63 | #include <X11/Xft/Xft.h> |
| 64 | #include <X11/Xaw3dxft/TextSinkP.h>cxx . . $ `<file>/include/X11/Xaw3dxft/TextSinkP.h`/ |
| 65 | #include <X11/Xaw3dxft/AsciiSink.h>cxx . . $ `<file>/include/X11/Xaw3dxft/AsciiSink.h`/ |
| 66 | |
| 67 | /************************************************************ |
| 68 | * |
| 69 | * New fields for the AsciiSink object class record. |
| 70 | * |
| 71 | ************************************************************/ |
| 72 | |
| 73 | typedef struct _AsciiSinkClassPartcxx . . $ _AsciiSinkClassPart# { |
| 74 | int foocxx . . $ _AsciiSinkClassPart#foo.; |
| 75 | } AsciiSinkClassPartcxx . . $ AsciiSinkClassPart#; |
| 76 | |
| 77 | /* Full class record declaration */ |
| 78 | |
| 79 | typedef struct _AsciiSinkClassReccxx . . $ _AsciiSinkClassRec# { |
| 80 | ObjectClassPartcxx . . $ ObjectClassPart# object_classcxx . . $ _AsciiSinkClassRec#object_class.; |
| 81 | TextSinkClassPartcxx . . $ TextSinkClassPart# text_sink_classcxx . . $ _AsciiSinkClassRec#text_sink_class.; |
| 82 | AsciiSinkClassPartcxx . . $ AsciiSinkClassPart# ascii_sink_classcxx . . $ _AsciiSinkClassRec#ascii_sink_class.; |
| 83 | } AsciiSinkClassReccxx . . $ AsciiSinkClassRec#; |
| 84 | |
| 85 | extern AsciiSinkClassReccxx . . $ AsciiSinkClassRec# asciiSinkClassReccxx . . $ asciiSinkClassRec.; |
| 86 | |
| 87 | /* New fields for the AsciiSink object record */ |
| 88 | typedef structcxx . . $ $anonymous_type_fb01209d446e845b_0# { |
| 89 | /* public resources */ |
| 90 | XFontStructcxx . . $ XFontStruct# *fontcxx . . $ $anonymous_type_fb01209d446e845b_0#font.; /* Font to draw in. */ |
| 91 | Booleancxx . . $ Boolean# echocxx . . $ $anonymous_type_fb01209d446e845b_0#echo.; |
| 92 | Booleancxx . . $ Boolean# display_nonprintingcxx . . $ $anonymous_type_fb01209d446e845b_0#display_nonprinting.; |
| 93 | char *xftfontnamecxx . . $ $anonymous_type_fb01209d446e845b_0#xftfontname.; |
| 94 | |
| 95 | /* private state */ |
| 96 | GCcxx . . $ GC# normgccxx . . $ $anonymous_type_fb01209d446e845b_0#normgc., invgccxx . . $ $anonymous_type_fb01209d446e845b_0#invgc., xorgccxx . . $ $anonymous_type_fb01209d446e845b_0#xorgc.; |
| 97 | Pixmapcxx . . $ Pixmap# insertCursorOncxx . . $ $anonymous_type_fb01209d446e845b_0#insertCursorOn.; |
| 98 | XawTextInsertStatecxx . . $ XawTextInsertState# laststatecxx . . $ $anonymous_type_fb01209d446e845b_0#laststate.; |
| 99 | short cursor_xcxx . . $ $anonymous_type_fb01209d446e845b_0#cursor_x., cursor_ycxx . . $ $anonymous_type_fb01209d446e845b_0#cursor_y.; /* Cursor Location. */ |
| 100 | XftFontcxx . . $ XftFont# *xftfontcxx . . $ $anonymous_type_fb01209d446e845b_0#xftfont.; |
| 101 | } AsciiSinkPartcxx . . $ AsciiSinkPart#; |
| 102 | |
| 103 | /**************************************************************** |
| 104 | * |
| 105 | * Full instance record declaration |
| 106 | * |
| 107 | ****************************************************************/ |
| 108 | |
| 109 | typedef struct _AsciiSinkReccxx . . $ _AsciiSinkRec# { |
| 110 | ObjectPartcxx . . $ ObjectPart# objectcxx . . $ _AsciiSinkRec#object.; |
| 111 | TextSinkPartcxx . . $ TextSinkPart# text_sinkcxx . . $ _AsciiSinkRec#text_sink.; |
| 112 | AsciiSinkPartcxx . . $ AsciiSinkPart# ascii_sinkcxx . . $ _AsciiSinkRec#ascii_sink.; |
| 113 | } AsciiSinkReccxx . . $ AsciiSinkRec#; |
| 114 | |
| 115 | #endif /* _XawAsciiSinkP_h */ |
| 116 |