aboutsummaryrefslogtreecommitdiff
path: root/GraphDisplayP.h
blob: bb812044e76bb5dda5b2111f0478d85f9afa0c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _GraphDisplayP_h
#define _GraphDisplayP_h

#include "GraphDisplay.h"

typedef struct {
	Pixel			foreground;
	XFontStruct		*font;
	GC			gc;
} GraphDisplayPart;

typedef struct _GraphDisplayRec {
	ObjectPart		object;
	GraphDisplayPart	graphDisplay;
} GraphDisplayRec;

typedef void (*ComputeSizeProc)(Widget);

typedef struct {
	ComputeSizeProc		compute_size;
	XtExposeProc		expose;
	XtPointer		extension;
} GraphDisplayClassPart;

typedef struct _GraphDisplayClassRec {
	ObjectClassPart		object_class;
	GraphDisplayClassPart	graphDisplay_class;
} GraphDisplayClassRec, *GraphDisplayObjectClass;

extern GraphDisplayClassRec graphDisplayClassRec;

#define InheritComputeSize ((ComputeSizeProc) _XtInherit)

#endif