2 * Copyright 1991 by OMRON Corporation
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation, and that the name OMRON not be used in
9 * advertising or publicity pertaining to distribution of the software without
10 * specific, written prior permission. OMRON make no representations
11 * about the suitability of this software for any purpose. It is provided
12 * "as is" without express or implied warranty.
14 * OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16 * EVENT SHALL OMRON BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19 * TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 * PERFORMANCE OF THIS SOFTWARE.
22 * Author: Li Yuhong OMRON Corporation
26 /***********************************************************
28 Copyright 1987, 1988, 1994, 1998 The Open Group
30 Permission to use, copy, modify, distribute, and sell this software and its
31 documentation for any purpose is hereby granted without fee, provided that
32 the above copyright notice appear in all copies and that both that
33 copyright notice and this permission notice appear in supporting
36 The above copyright notice and this permission notice shall be included in
37 all copies or substantial portions of the Software.
39 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
43 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
44 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46 Except as contained in this notice, the name of The Open Group shall not be
47 used in advertising or otherwise to promote the sale, use or other dealings
48 in this Software without prior written authorization from The Open Group.
51 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
55 Permission to use, copy, modify, and distribute this software and its
56 documentation for any purpose and without fee is hereby granted,
57 provided that the above copyright notice appear in all copies and that
58 both that copyright notice and this permission notice appear in
59 supporting documentation, and that the name of Digital not be
60 used in advertising or publicity pertaining to distribution of the
61 software without specific, written prior permission.
63 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
64 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
65 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
66 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
67 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
68 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
71 ******************************************************************/
73 #ifndef _XawMultiSinkP_h
74 #define _XawMultiSinkP_h
76 #include <X11/Xfuncproto.h>
79 * MultiSink Object Private Data
81 #include <X11/Xaw/TextSinkP.h>
82 #include <X11/Xaw/MultiSink.h>
84 /* new fields for the MultiSink object class */
85 typedef struct _MultiSinkClassPart {
89 /* Full class record declaration */
90 typedef struct _MultiSinkClassRec {
91 ObjectClassPart object_class;
92 TextSinkClassPart text_sink_class;
93 MultiSinkClassPart multi_sink_class;
96 extern MultiSinkClassRec multiSinkClassRec;
98 /* New fields for the MultiSink object record */
102 Boolean display_nonprinting;
105 GC normgc, invgc, xorgc;
106 XawTextPosition cursor_position;
107 XawTextInsertState laststate;
108 short cursor_x, cursor_y; /* Cursor Location */
109 XFontSet fontset; /* font set to draw */
111 XtPointer pad[4]; /* for future use and keep binary compatability */
115 /* Full instance record declaration */
116 typedef struct _MultiSinkRec {
118 TextSinkPart text_sink;
119 MultiSinkPart multi_sink;
123 * Semi-private functions
124 * for use by other Xaw modules only
128 void _XawMultiSinkPosToXY
138 #endif /* _XawMultiSinkP_h */