(file) Return to EyesP.h CVS log (file) (dir) Up to [XFree86 CVS] / xc / programs / xeyes

 1 dawes 1.1 /*
 2           * $XConsortium: EyesP.h,v 1.9 90/12/01 13:04:43 rws Exp $
 3           */
 4           
 5           #ifndef _EyesP_h
 6           #define _EyesP_h
 7           
 8           #include "Eyes.h"
 9           #include <X11/CoreP.h>
10           #include "transform.h"
11           
12           #define SEG_BUFF_SIZE		128
13           
14           /* New fields for the eyes widget instance record */
15           typedef struct {
16           	 Pixel		puppixel;	/* foreground pixel */
17           	 Pixel		outline;	/* outline pixel */
18           	 Pixel		center;		/* inside pixel */
19           	 GC		outGC;		/* pointer to GraphicsContext */
20           	 GC		pupGC;		/* pointer to GraphicsContext */
21           	 GC		centerGC;	/* pointer to GraphicsContext */
22 dawes 1.1 	 GC		shapeGC;	/* pointer to GraphicsContext */
23           /* start of graph stuff */
24           	 int		backing_store;	/* backing store variety */
25           	 Boolean	reverse_video;	/* swap fg and bg pixels */
26           	 Boolean	shape_window;	/* use SetWindowShapeMask */
27           	 int		update;		/* current timeout index */
28           	 TPoint		mouse;		/* old mouse position */
29           	 TPoint		pupil[2];	/* pupil position */
30           	 Transform	t;
31           	 Transform	maskt;
32           	 XtIntervalId	interval_id;
33           	 Pixmap		shape_mask;	/* window shape */
34              } EyesPart;
35           
36           /* Full instance record declaration */
37           typedef struct _EyesRec {
38              CorePart core;
39              EyesPart eyes;
40              } EyesRec;
41           
42           /* New fields for the Eyes widget class record */
43 dawes 1.1 typedef struct {int dummy;} EyesClassPart;
44           
45           /* Full class record declaration. */
46           typedef struct _EyesClassRec {
47              CoreClassPart core_class;
48              EyesClassPart eyes_class;
49              } EyesClassRec;
50           
51           /* Class pointer. */
52           extern EyesClassRec eyesClassRec;
53           
54           #endif /* _EyesP_h */

Powered by
ViewCVS 0.9.2