summaryrefslogtreecommitdiff
path: root/include/X11/Xaw/SimpleP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/Xaw/SimpleP.h')
-rw-r--r--include/X11/Xaw/SimpleP.h35
1 files changed, 26 insertions, 9 deletions
diff --git a/include/X11/Xaw/SimpleP.h b/include/X11/Xaw/SimpleP.h
index d052629..d48cd13 100644
--- a/include/X11/Xaw/SimpleP.h
+++ b/include/X11/Xaw/SimpleP.h
@@ -47,17 +47,27 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/lib/Xaw/SimpleP.h,v 1.13 2001/12/19 21:37:31 dawes Exp $ */
#ifndef _SimpleP_h
#define _SimpleP_h
+#include <X11/Xfuncproto.h>
+
#include <X11/Xaw/Simple.h>
+_XFUNCPROTOBEGIN
+
+#include <X11/Xaw/XawInit.h>
+
typedef struct {
- Boolean (*change_sensitive)(/* widget */);
+ Bool (*change_sensitive)(Widget);
+#ifndef OLDXAW
+ XtPointer extension;
+#endif
} SimpleClassPart;
-#define XtInheritChangeSensitive ((Boolean (*)())_XtInherit)
+#define XtInheritChangeSensitive ((Bool (*)(Widget))_XtInherit)
typedef struct _SimpleClassRec {
CoreClassPart core_class;
@@ -68,13 +78,18 @@ extern SimpleClassRec simpleClassRec;
typedef struct {
/* resources */
- Cursor cursor;
- Pixmap insensitive_border;
- String cursor_name; /* cursor specified by name. */
-
- Pixel pointer_fg, pointer_bg; /* Pointer colors. */
- Boolean international;
- /* private state */
+ Cursor cursor;
+ Pixmap insensitive_border;
+ String cursor_name; /* cursor specified by name */
+ Pixel pointer_fg, pointer_bg; /* Pointer colors */
+ Boolean international;
+
+ /* private */
+#ifndef OLDXAW
+ XawDisplayList *display_list;
+ String tip;
+ XtPointer pad[3]; /* for future use and keep binary compatability */
+#endif
} SimplePart;
typedef struct _SimpleRec {
@@ -82,4 +97,6 @@ typedef struct _SimpleRec {
SimplePart simple;
} SimpleRec;
+_XFUNCPROTOEND
+
#endif /* _SimpleP_h */