aboutsummaryrefslogtreecommitdiff
path: root/GraphDisplayP.h
blob: 7f3adc0cfa95619221c118729e5bc7df329d7565 (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
35
36
/* $Id$ */

#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)();

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