Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:29:44

0001 /*
0002  *
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024  *
0025  * Author:  Chris D. Peterson, MIT X Consortium
0026  */
0027 
0028 #ifndef _XawSmeLineP_h
0029 #define _XawSmeLineP_h
0030 
0031 /*
0032  * SmeLine Widget Private Data
0033  */
0034 #include <X11/Xaw/SmeP.h>
0035 #include <X11/Xaw/SmeLine.h>
0036 
0037 /* New fields for the SmeLine widget class */
0038 typedef struct _SmeLineClassPart {
0039     XtPointer extension;
0040 } SmeLineClassPart;
0041 
0042 /* Full class record */
0043 typedef struct _SmeLineClassRec {
0044     RectObjClassPart    rect_class;
0045     SmeClassPart    sme_class;
0046     SmeLineClassPart    sme_line_class;
0047 } SmeLineClassRec;
0048 
0049 extern SmeLineClassRec smeLineClassRec;
0050 
0051 /* New fields for the SmeLine widget */
0052 typedef struct {
0053     /* resources */
0054     Pixel foreground;       /* Foreground color */
0055     Pixmap stipple;     /* Line Stipple */
0056     Dimension line_width;   /* Width of the line */
0057 
0058     /* private */
0059     GC gc;          /* Graphics context for drawing line */
0060 #ifndef OLDXAW
0061     XtPointer pad[4];   /* for future use and keep binary compatibility */
0062 #endif
0063 } SmeLinePart;
0064 
0065 /* Full instance record */
0066 typedef struct _SmeLineRec {
0067     ObjectPart  object;
0068     RectObjPart rectangle;
0069     SmePart sme;
0070     SmeLinePart sme_line;
0071 } SmeLineRec;
0072 
0073 #endif /* _XawSmeLineP_h */