Mercurial > hg > xmms-sid
diff src/xs_curve.h @ 702:b5b6b13a6d85
Renamed some types.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 25 May 2008 01:38:48 +0300 |
parents | b0743dc9165d |
children |
line wrap: on
line diff
--- a/src/xs_curve.h Fri May 23 21:05:47 2008 +0300 +++ b/src/xs_curve.h Sun May 25 01:38:48 2008 +0300 @@ -24,11 +24,11 @@ typedef struct { gfloat x,y; -} t_xs_point; +} xs_point_t; typedef struct { gint x, y; -} t_xs_int_point; +} xs_int_point_t; struct _XSCurve { GtkDrawingArea graph; @@ -43,7 +43,7 @@ /* control points */ gint nctlpoints; /* number of control points */ - t_xs_point *ctlpoints; /* array of control points */ + xs_point_t *ctlpoints; /* array of control points */ }; struct _XSCurveClass { @@ -58,9 +58,9 @@ gfloat min_x, gfloat min_y, gfloat max_x, gfloat max_y); gboolean xs_curve_realloc_data (XSCurve *curve, gint npoints); -void xs_curve_get_data (XSCurve *curve, t_xs_point ***points, gint **npoints); -gboolean xs_curve_set_points (XSCurve *curve, t_xs_int_point *points, gint npoints); -gboolean xs_curve_get_points (XSCurve *curve, t_xs_int_point **points, gint *npoints); +void xs_curve_get_data (XSCurve *curve, xs_point_t ***points, gint **npoints); +gboolean xs_curve_set_points (XSCurve *curve, xs_int_point_t *points, gint npoints); +gboolean xs_curve_get_points (XSCurve *curve, xs_int_point_t **points, gint *npoints); #ifdef __cplusplus }