1 /* 2 * $XConsortium: SmeLine.h,v 1.4 94/04/17 20:12:53 kit Exp $ 3 * 4 Copyright (c) 1989 X Consortium 5 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: 12 13 The above copyright notice and this permission notice shall be included in 14 all copies or substantial portions of the Software. 15 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. 22 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. 26 * 27 */ 28 29 /* 30 * SmeLine.h - Public Header file for SmeLine object. 31 * 32 * This is the public header file for the Athena SmeLine object. 33 * It is intended to be used with the simple menu widget. 34 * 35 * Date: April 3, 1989 36 * 37 * By: Chris D. Peterson 38 * MIT X Consortium 39 * kit@expo.lcs.mit.edu 40 */ 41 42 #ifndef _SmeLine_h 43 #define _SmeLine_h 44 45 #include <X11/neXtaw/Sme.h> 46 #include <X11/Xmu/Converters.h> 47 48 /**************************************************************** 49 * 50 * SmeLine Object 51 * 52 ****************************************************************/ 53 54 /* Menu Entry Resources: 55 56 Name Class RepType Default Value 57 ---- ----- ------- ------------- 58 callback Callback Pointer NULL 59 destroyCallback Callback Pointer NULL 60 height Height Dimension 0 61 sensitive Sensitive Boolean True 62 width Width Dimension 0 63 x Position Position 0n 64 y Position Position 0 65 66 */ 67 68 #define XtCLineWidth "LineWidth" 69 #define XtCStipple "Stipple" 70 71 #define XtNlineWidth "lineWidth" 72 #define XtNstipple "stipple" 73 74 typedef struct _SmeLineClassRec* SmeLineObjectClass; 75 typedef struct _SmeLineRec* SmeLineObject; 76 77 extern WidgetClass smeLineObjectClass; 78 79 #endif /* _SmeLine_h */ 80