2 * $XConsortium: SmeLineP.h,v 1.3 89/12/11 15:20:20 kit Exp $
4 * Copyright 1989 Massachusetts Institute of Technology
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.
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.
23 * Author: Chris D. Peterson, MIT X Consortium
27 * SmeLineP.h - Private definitions for SmeLine widget
31 #ifndef _XawSmeLineP_h
32 #define _XawSmeLineP_h
34 /***********************************************************************
36 * SmeLine Widget Private Data
38 ***********************************************************************/
40 #include <./Xaw3_1SmeP.h>
41 #include <./Xaw3_1SmeLine.h>
43 /************************************************************
45 * New fields for the SmeLine widget class record.
47 ************************************************************/
49 typedef struct _SmeLineClassPart
{
53 /* Full class record declaration */
54 typedef struct _SmeLineClassRec
{
55 RectObjClassPart rect_class
;
56 SmeClassPart sme_class
;
57 SmeLineClassPart sme_line_class
;
60 extern SmeLineClassRec smeLineClassRec
;
62 /* New fields for the SmeLine widget record */
65 Pixel foreground
; /* Foreground color. */
66 Pixmap stipple
; /* Line Stipple. */
67 Dimension line_width
; /* Width of the line. */
71 GC gc
; /* Graphics context for drawing line. */
74 /****************************************************************
76 * Full instance record declaration
78 ****************************************************************/
80 typedef struct _SmeLineRec
{
82 RectObjPart rectangle
;
87 /************************************************************
89 * Private declarations.
91 ************************************************************/
93 #endif /* _XawSmeLineP_h */