diff options
Diffstat (limited to 'generic/Draw.h')
-rw-r--r-- | generic/Draw.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/generic/Draw.h b/generic/Draw.h index 35630ed..2d349f5 100644 --- a/generic/Draw.h +++ b/generic/Draw.h @@ -48,23 +48,23 @@ struct _WidgetInfo; void SetLineStyle(Display *display, GC gc, LineStyle line_style); -void GetLineShape(RadarPoint *p1, RadarPoint *p2, unsigned int line_width, - LineShape shape, RadarBBox *bbox, RadarList to_points); +void GetLineShape(ZnPoint *p1, ZnPoint *p2, unsigned int line_width, + LineShape shape, ZnBBox *bbox, ZnList to_points); void DrawLineShape(Display *display, Drawable draw_buffer, GC gc, - RadarPoint *points, int num_points, LineStyle line_style, - RadarColor line_foreground, unsigned int line_width, + ZnPoint *points, int num_points, LineStyle line_style, + ZnColor line_foreground, unsigned int line_width, LineShape shape); void DrawRectangleRelief(struct _WidgetInfo *wi, - ReliefStyle relief, RadarColorGradient gradient, + ReliefStyle relief, ZnColorGradient gradient, XRectangle *bbox, unsigned int line_width); -int PolygonReliefInBBox(RadarList points, unsigned int line_width, - RadarBBox *bbox); -void GetPolygonReliefBBox(RadarList points, unsigned int line_width, - RadarBBox *bbox); -double PolygonReliefToPointDist(RadarList points, unsigned int line_width, - RadarPoint *pp); +int PolygonReliefInBBox(ZnList points, unsigned int line_width, + ZnBBox *bbox); +void GetPolygonReliefBBox(ZnList points, unsigned int line_width, + ZnBBox *bbox); +double PolygonReliefToPointDist(ZnList points, unsigned int line_width, + ZnPoint *pp); void DrawPolygonRelief(struct _WidgetInfo *wi, ReliefStyle relief, - RadarColorGradient gradient, RadarPoint *points, + ZnColorGradient gradient, ZnPoint *points, int num_points, int line_width); |