summaryrefslogtreecommitdiff
path: root/include/X11/Xaw/GripP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/Xaw/GripP.h')
-rw-r--r--include/X11/Xaw/GripP.h41
1 files changed, 15 insertions, 26 deletions
diff --git a/include/X11/Xaw/GripP.h b/include/X11/Xaw/GripP.h
index 4e89917..21cc845 100644
--- a/include/X11/Xaw/GripP.h
+++ b/include/X11/Xaw/GripP.h
@@ -49,11 +49,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
-
-/*
- * GripP.h - Private definitions for Grip widget (Used by VPane Widget)
- *
- */
+/* $XFree86: xc/lib/Xaw/GripP.h,v 1.8 2001/12/14 19:54:40 dawes Exp $ */
#ifndef _XawGripP_h
#define _XawGripP_h
@@ -61,18 +57,14 @@ SOFTWARE.
#include <X11/Xaw/Grip.h>
#include <X11/Xaw/SimpleP.h>
-/*****************************************************************************
- *
- * Grip Widget Private Data
- *
- *****************************************************************************/
-
#define DEFAULT_GRIP_SIZE 8
-/* New fields for the Grip widget class record */
-typedef struct {int empty;} GripClassPart;
+/* New fields for the Grip widget class */
+typedef struct {
+ XtPointer extension;
+} GripClassPart;
-/* Full Class record declaration */
+/* Full Class record */
typedef struct _GripClassRec {
CoreClassPart core_class;
SimpleClassPart simple_class;
@@ -81,22 +73,19 @@ typedef struct _GripClassRec {
extern GripClassRec gripClassRec;
-/* New fields for the Grip widget record */
+/* New fields for the Grip widget */
typedef struct {
- XtCallbackList grip_action;
+ XtCallbackList grip_action;
+#ifndef OLDXAW
+ XtPointer pad[4]; /* for future use and keep binary compatability */
+#endif
} GripPart;
-/*****************************************************************************
- *
- * Full instance record declaration
- *
- ****************************************************************************/
-
+/* Full instance record */
typedef struct _GripRec {
- CorePart core;
- SimplePart simple;
- GripPart grip;
+ CorePart core;
+ SimplePart simple;
+ GripPart grip;
} GripRec;
#endif /* _XawGripP_h */
-