aboutsummaryrefslogtreecommitdiff
path: root/SgraphP.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-29 16:01:52 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-29 16:01:52 +0000
commit6098652ed7d28468ab38931a87a4fa9caec337d3 (patch)
tree606f7e7461a83cd0788cf44a824241da0f48b520 /SgraphP.h
parent11819eb2b7b08c8e0cd0863cdfeb030537d2a257 (diff)
C99
Diffstat (limited to 'SgraphP.h')
-rw-r--r--SgraphP.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/SgraphP.h b/SgraphP.h
index 7a08950..19ed24b 100644
--- a/SgraphP.h
+++ b/SgraphP.h
@@ -27,7 +27,7 @@
#define XtRSgraphResource "SgraphResource"
typedef struct {
- XtPointer dummy;
+ XtPointer extension;
} SgraphClassPart;
typedef struct _SgraphClassRec {
@@ -38,30 +38,30 @@ typedef struct _SgraphClassRec {
extern SgraphClassRec sgraphClassRec;
typedef struct {
- Pixel background;
- Pixel foreground;
- Boolean mirror;
- int *data;
- size_t size;
- size_t samples;
+ Pixel background;
+ Pixel foreground;
+ Boolean mirror;
+ int *data;
+ size_t size;
+ size_t samples;
/*
XtCallbackProc data;
XtCallbackProc fft;
*/
XdbeBackBuffer backBuf;
- GC foreGC;
- GC backGC;
- GC maskGC;
- GC clipGC;
- Pixmap bg;
- Pixmap mask;
- Pixmap waterfall;
+ GC foreGC;
+ GC backGC;
+ GC maskGC;
+ GC clipGC;
+ Pixmap bg;
+ Pixmap mask;
+ Pixmap waterfall;
} SgraphPart;
typedef struct _SgraphRec {
- CorePart core;
- SgraphPart sgraph;
+ CorePart core;
+ SgraphPart sgraph;
} SgraphRec;
#endif