1 /*********************************************************** 2 3 Copyright (c) 1987, 1988, 1994 X Consortium 4 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 of this software and associated documentation files (the "Software"), to deal 7 in the Software without restriction, including without limitation the rights 8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 copies of the Software, and to permit persons to whom the Software is 10 furnished to do so, subject to the following conditions: 11 12 The above copyright notice and this permission notice shall be included in 13 all copies or substantial portions of the Software. 14 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 22 Except as contained in this notice, the name of the X Consortium shall not be 23 used in advertising or otherwise to promote the sale, use or other dealings 24 in this Software without prior written authorization from the X Consortium. 25 26 27 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. 28 29 All Rights Reserved 30 31 Permission to use, copy, modify, and distribute this software and its 32 documentation for any purpose and without fee is hereby granted, 33 provided that the above copyright notice appear in all copies and that 34 both that copyright notice and this permission notice appear in 35 supporting documentation, and that the name of Digital not be 36 used in advertising or publicity pertaining to distribution of the 37 software without specific, written prior permission. 38 39 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 40 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 41 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 42 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 43 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 44 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 45 SOFTWARE. 46 47 ******************************************************************/ 48 49 #ifndef _SimpleP_h 50 #define _SimpleP_h 51 52 #include "Xaw3dP.h" 53 #include <X11/Xaw3dxft/Simple.h> 54 55 typedef struct { 56 Boolean (*change_sensitive)(Widget); 57 } SimpleClassPart; 58 59 #define XtInheritChangeSensitive ((Boolean (*)(Widget))_XtInherit) 60 61 typedef struct _SimpleClassRec { 62 CoreClassPart core_class; 63 SimpleClassPart simple_class; 64 } SimpleClassRec; 65 66 extern SimpleClassRec simpleClassRec; 67 68 typedef struct { 69 /* resources */ 70 Cursor cursor; 71 Pixmap insensitive_border; 72 String cursor_name; /* cursor specified by name. */ 73 74 Pixel pointer_fg, pointer_bg; /* Pointer colors. */ 75 #ifdef XAW_INTERNATIONALIZATION 76 Boolean international; 77 #endif 78 /* private state */ 79 } SimplePart; 80 81 typedef struct _SimpleRec { 82 CorePart core; 83 SimplePart simple; 84 } SimpleRec; 85 86 #endif /* _SimpleP_h */ 87