aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Draw.h4
-rw-r--r--generic/perfos.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/generic/Draw.h b/generic/Draw.h
index fc7e8d6..038b379 100644
--- a/generic/Draw.h
+++ b/generic/Draw.h
@@ -114,8 +114,10 @@ void ZnRenderPolyline(struct _WidgetInfo *wi, ZnPoint *points, int num_points,
ZnGradient *gradient);
void ZnComputeAxialGradient(struct _WidgetInfo *wi, ZnPoly *shape, int angle,
ZnPoint *grad_geo);
-void ZnComputeRadialGradient(struct _WidgetInfo *wi, ZnPoly *shape, ZnBBox *bbox,
+void ZnComputeRadialGradient(struct _WidgetInfo *wi, ZnPoly *shape, ZnBool oval,
ZnPoint *center, ZnPoint *grad_geo);
+void ZnComputePathGradient(struct _WidgetInfo *wi, ZnPoly *shape, ZnPoint *center,
+ ZnPoint *grad_geo);
void ZnRenderGradient(struct _WidgetInfo *wi, ZnGradient *gradient,
void cb(void *), void *closure, ZnPoint *quad,
ZnPoly *poly);
diff --git a/generic/perfos.c b/generic/perfos.c
index e95849e..df7af11 100644
--- a/generic/perfos.c
+++ b/generic/perfos.c
@@ -52,7 +52,7 @@ static ZnList Chronos = NULL;
static void
HardwareSynchronize(Display *test_display, Drawable test_window)
{
- XImage *image;
+ /*XImage *image;*/
/* Synchronize yourself with the drawing engine by sending a
XGetImage one pixel square. */