1 /*
2  * $XConsortium: Porthole.h,v 1.1 90/02/28 18:07:31 jim Exp $
3  *
4  * Copyright 1990 Massachusetts Institute of Technology
5  *
6  * Permission to use, copy, modify, distribute, and sell this software and its
7  * documentation for any purpose is hereby granted without fee, provided that
8  * the above copyright notice appear in all copies and that both that
9  * copyright notice and this permission notice appear in supporting
10  * documentation, and that the name of M.I.T. not be used in advertising or
11  * publicity pertaining to distribution of the software without specific,
12  * written prior permission.  M.I.T. makes no representations about the
13  * suitability of this software for any purpose.  It is provided "as is"
14  * without express or implied warranty.
15  *
16  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
18  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22  *
23  * Author:  Jim Fulton, MIT X Consortium
24  */
25 
26 #ifndef _XawPorthole_h
27 #define _XawPorthole_h
28 
29 #include <X11/Xaw/Reports.h>
30 
31 /*****************************************************************************
32  *
33  * Porthole Widget (subclass of Composite)
34  *
35  * This widget is similar to a viewport without scrollbars.  Child movement
36  * is done by external panners or scrollbars.
37  *
38  * Parameters:
39  *
40  *  Name		Class		Type		Default
41  *  ----		-----		----		-------
42  *
43  *  background		Background	Pixel		XtDefaultBackground
44  *  border	        BorderColor	Pixel		XtDefaultForeground
45  *  borderWidth		BorderWidth	Dimension	1
46  *  height		Height		Dimension	0
47  *  reportCallback	ReportCallback	Pointer		NULL
48  *  width		Width		Dimension	0
49  *  x 			Position	Position	0
50  *  y			Position	Position	0
51  *
52  *****************************************************************************/
53 
54 					/* external declarations */
55 
56 extern WidgetClass portholeWidgetClass;
57 typedef struct _PortholeClassRec *PortholeWidgetClass;
58 typedef struct _PortholeRec      *PortholeWidget;
59 
60 #endif /* _XawPorthole_h */
61