aboutsummaryrefslogtreecommitdiff
path: root/SgraphP.h
diff options
context:
space:
mode:
Diffstat (limited to 'SgraphP.h')
-rw-r--r--SgraphP.h28
1 files changed, 11 insertions, 17 deletions
diff --git a/SgraphP.h b/SgraphP.h
index 19ed24b..ba138bc 100644
--- a/SgraphP.h
+++ b/SgraphP.h
@@ -20,23 +20,6 @@
#include "Sgraph.h"
-/* include superclass private header file */
-#include <X11/CoreP.h>
-
-/* define unique representation types not found in <X11/StringDefs.h> */
-#define XtRSgraphResource "SgraphResource"
-
-typedef struct {
- XtPointer extension;
-} SgraphClassPart;
-
-typedef struct _SgraphClassRec {
- CoreClassPart core_class;
- SgraphClassPart sgraph_class;
-} SgraphClassRec;
-
-extern SgraphClassRec sgraphClassRec;
-
typedef struct {
Pixel background;
Pixel foreground;
@@ -64,4 +47,15 @@ typedef struct _SgraphRec {
SgraphPart sgraph;
} SgraphRec;
+typedef struct {
+ XtPointer extension;
+} SgraphClassPart;
+
+typedef struct _SgraphClassRec {
+ CoreClassPart core_class;
+ SgraphClassPart sgraph_class;
+} SgraphClassRec;
+
+extern SgraphClassRec sgraphClassRec;
+
#endif