rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1SimpleP.h
blob49bd74621c08b26b92f486c0263e82d9c13883cc
1 /***********************************************************
3 $XConsortium: SimpleP.h,v 1.9 89/05/11 01:06:35 kit Exp $
5 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
6 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
8 All Rights Reserved
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted,
12 provided that the above copyright notice appear in all copies and that
13 both that copyright notice and this permission notice appear in
14 supporting documentation, and that the names of Digital or MIT not be
15 used in advertising or publicity pertaining to distribution of the
16 software without specific, written prior permission.
18 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
19 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
20 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
21 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
23 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
24 SOFTWARE.
26 ******************************************************************/
28 #ifndef _SimpleP_h
29 #define _SimpleP_h
31 #include <./Xaw3_1Simple.h>
32 /* #include <X11/CoreP.h> */
34 typedef struct {
35 Boolean (*change_sensitive)(/* widget */);
36 } SimpleClassPart;
38 #define XtInheritChangeSensitive ((Boolean (*)())_XtInherit)
40 typedef struct _SimpleClassRec {
41 CoreClassPart core_class;
42 SimpleClassPart simple_class;
43 } SimpleClassRec;
45 extern SimpleClassRec simpleClassRec;
47 typedef struct {
48 /* resources */
49 Cursor cursor;
50 Pixmap insensitive_border;
52 /* private state */
53 } SimplePart;
55 typedef struct _SimpleRec {
56 CorePart core;
57 SimplePart simple;
58 } SimpleRec;
60 #endif /* _SimpleP_h */