2 * $XConsortium: SmeLineP.h,v 1.4 94/04/17 20:12:54 kit Exp $
4 Copyright (c) 1989 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
27 * Author: Chris D. Peterson, MIT X Consortium
31 * SmeLineP.h - Private definitions for SmeLine widget
35 #ifndef _XawSmeLineP_h
36 #define _XawSmeLineP_h
38 /***********************************************************************
40 * SmeLine Widget Private Data
42 ***********************************************************************/
44 #include <X11/Xaw/SmeP.h>
45 #include <X11/Xaw/SmeLine.h>
47 /************************************************************
49 * New fields for the SmeLine widget class record.
51 ************************************************************/
53 typedef struct _SmeLineClassPart
{
57 /* Full class record declaration */
58 typedef struct _SmeLineClassRec
{
59 RectObjClassPart rect_class
;
60 SmeClassPart sme_class
;
61 SmeLineClassPart sme_line_class
;
64 extern SmeLineClassRec smeLineClassRec
;
66 /* New fields for the SmeLine widget record */
69 Pixel foreground
; /* Foreground color. */
70 Pixmap stipple
; /* Line Stipple. */
71 Dimension line_width
; /* Width of the line. */
75 GC gc
; /* Graphics context for drawing line. */
78 /****************************************************************
80 * Full instance record declaration
82 ****************************************************************/
84 typedef struct _SmeLineRec
{
86 RectObjPart rectangle
;
91 /************************************************************
93 * Private declarations.
95 ************************************************************/
97 #endif /* _XawSmeLineP_h */