diff options
author | Dylan Simon <dylan@dylex.net> | 2009-09-27 14:44:35 -0400 |
---|---|---|
committer | Sung-Jin Park <sj76.park@samsung.com> | 2013-09-02 23:37:56 -0400 |
commit | 8a78b5283dd40bc38d2c1065f290a68a9c0d65bf (patch) | |
tree | 36a25fc8b364053ea0c126013eabaa7cb69075b8 /Eyes.h | |
parent | 221d31fb2f3b2a2989a983cb30f866f57b683f52 (diff) | |
download | xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.tar.gz xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.tar.bz2 xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.zip |
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".
Change-Id: Ib63621e450e6f75ef76a160634ae2186a7db9456
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 */ |