From 3c68b8158c7b83d2c99f25adb41082b2bc518f9c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 29 Sep 2014 16:06:51 +0000 Subject: unify --- SgraphP.h | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'SgraphP.h') 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 - -/* define unique representation types not found in */ -#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 -- cgit v1.2.3