diff options
author | Dylan Simon <dylan@dylex.net> | 2009-09-27 14:44:35 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2009-09-27 14:44:35 -0400 |
commit | 5e825a140f4022b88dd7a1a20a9a01b653f1a95c (patch) | |
tree | 36a25fc8b364053ea0c126013eabaa7cb69075b8 /Eyes.h | |
parent | dbb8401026c421d64a2962e6ac6eb900f6dc141e (diff) |
Add xrender support
Optionally draw all components (except shape) with xrender.
Enabled by default. Xlib rendering can be restored by
"configure --without-xrender" or "xeyes +render".
Signed-off-by: Dylan Simon <dylan@dylex.net>
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'Eyes.h')
-rw-r--r-- | Eyes.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -35,6 +35,19 @@ #define XtNshapeWindow "shapeWindow" #define XtCShapeWindow "ShapeWindow" +#define XtNrender "render" + +enum EyesPart { + PART_CLEAR = -1, + + PART_OUTLINE, + PART_CENTER, + PART_PUPIL, + + PART_SHAPE, + PART_MAX +}; + typedef struct _EyesRec *EyesWidget; /* completely defined in EyesPrivate.h */ typedef struct _EyesClassRec *EyesWidgetClass; /* completely defined in EyesPrivate.h */ |